commit b5fba4018ca34a8ab01da02a1bacf88a251a486cac0f8ffeced5a834ace51728 Author: Dirk Mueller Date: Mon Oct 17 12:51:21 2016 +0000 Accepting request 435718 from home:alarrosa:branches:Archiving:Backup Added requested changes OBS-URL: https://build.opensuse.org/request/show/435718 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/flexmock-0.10.2.tar.gz b/flexmock-0.10.2.tar.gz new file mode 100644 index 0000000..a613bfe --- /dev/null +++ b/flexmock-0.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b +size 44425 diff --git a/python-flexmock.changes b/python-flexmock.changes new file mode 100644 index 0000000..be6accc --- /dev/null +++ b/python-flexmock.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Thu Oct 13 10:22:24 UTC 2016 - alarrosa@suse.com + +- Initial package +- Official upstream release 0.10.2 + diff --git a/python-flexmock.spec b/python-flexmock.spec new file mode 100644 index 0000000..fa68283 --- /dev/null +++ b/python-flexmock.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-flexmock +# +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: python-flexmock +Version: 0.10.2 +Release: 0 +License: BSD-2-Clause +Summary: Testing library that makes it easy to create mocks, stubs and fakes +Url: https://github.com/bkabrda/flexmock +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/f/flexmock/flexmock-%{version}.tar.gz +BuildRequires: python +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRequires: python-nose +BuildRequires: python-pytest +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Flexmock is a testing library for Python that makes it easy to create mocks, +stubs and fakes. The API is inspired by a Ruby library of the same name, but +Python flexmock is not a clone of the Ruby version. It omits a number of +redundancies in the Ruby flexmock API, alters some defaults, and introduces +a number of Python-only features. + +%prep +%setup -q -n flexmock-%{version} + +%build +python setup.py build + +%install +python setup.py install --skip-build --prefix %{_prefix} --root %{buildroot} + +%check +PYTHONPATH="." python tests/flexmock_unittest_test.py + +%files +%defattr(-,root,root) +%doc LICENSE README.rst CHANGELOG +%{python_sitelib}/flexmock-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/flexmock.py +%{python_sitelib}/*.pyc + +%changelog