Accepting request 298566 from home:Nijel:branches:devel:languages:python
- Update to 1.2.10 * No upstream changelog available - Remove only shebang by sed - Run testsuite directly from setup.py - Remove not needed patches (runTestsOnly.patch, sure_hideDeps.patch) OBS-URL: https://build.opensuse.org/request/show/298566 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=4
This commit is contained in:
parent
f5af5fd36b
commit
8a2916f676
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 11:35:20 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Update to 1.2.10
|
||||
* No upstream changelog available
|
||||
- Remove only shebang by sed
|
||||
- Run testsuite directly from setup.py
|
||||
- Remove not needed patches (runTestsOnly.patch, sure_hideDeps.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 6 16:36:59 UTC 2015 - rjschwei@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sure
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,19 +17,21 @@
|
||||
|
||||
|
||||
Name: python-sure
|
||||
Version: 1.2.5
|
||||
Version: 1.2.10
|
||||
Release: 0
|
||||
Summary: Utility belt for automated testing in python for python
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/requests/sure
|
||||
Source: https://pypi.python.org/packages/source/s/sure/sure-%{version}.tar.gz
|
||||
Patch0: sure_hideDeps.patch
|
||||
Patch1: runTestsOnly.patch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-rednose
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
Requires: python-mock
|
||||
Requires: python-six
|
||||
%py_requires
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@ -44,9 +46,7 @@ heavily inspired by should.js
|
||||
|
||||
%prep
|
||||
%setup -q -n sure-%{version}
|
||||
%patch0
|
||||
%patch1
|
||||
sed -i 1d sure/*.py
|
||||
sed -i '/^#!/d' sure/*.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@ -55,11 +55,11 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.md
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -10,9 +10,9 @@ install_deps:
|
||||
|
||||
test:
|
||||
@nosetests -s --verbosity=2 tests --rednose
|
||||
- @steadymark OLD_API.md
|
||||
- @steadymark README.md
|
||||
- @pandoc -o readme.rst README.md
|
||||
+ #@steadymark OLD_API.md
|
||||
+ #@steadymark README.md
|
||||
+ #@pandoc -o readme.rst README.md
|
||||
|
||||
clean:
|
||||
@printf "Cleaning up files that are already in .gitignore... "
|
3
sure-1.2.10.tar.gz
Normal file
3
sure-1.2.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1d16d8b662a8ae2e6f92ba08ca6ddd10643edb8538abc8d693cb1cc12565093
|
||||
size 27867
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a77c1372f3bf9784310b3cf0ab66e86190b531a2b68e47616bce0e4e4983fbe
|
||||
size 52128
|
@ -1,22 +0,0 @@
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -73,8 +73,8 @@ local_file = lambda *f: \
|
||||
open(os.path.join(os.path.dirname(__file__), *f)).read()
|
||||
|
||||
|
||||
-install_requires, dependency_links = \
|
||||
- parse_requirements('requirements.txt')
|
||||
+#install_requires, dependency_links = \
|
||||
+# parse_requirements('requirements.txt')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
@@ -87,6 +87,6 @@ if __name__ == '__main__':
|
||||
include_package_data=True,
|
||||
url='http://github.com/gabrielfalcao/sure',
|
||||
packages=find_packages(exclude=['*tests*']),
|
||||
- install_requires=install_requires,
|
||||
- dependency_links=dependency_links,
|
||||
+# install_requires=install_requires,
|
||||
+# dependency_links=dependency_links,
|
||||
)
|
Loading…
Reference in New Issue
Block a user