15
0

Accepting request 305094 from home:benoit_monin:branches:devel:languages:python

- update to version 3.4.2
- remove python-nose from BuildRequires, unneeded
- replace README.txt with README.rst: changed upstream

OBS-URL: https://build.opensuse.org/request/show/305094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=26
This commit is contained in:
Denisart Benjamin
2015-05-03 10:21:32 +00:00
committed by Git OBS Bridge
parent 0db79989ed
commit 7b77330a22
4 changed files with 23 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783
size 30333

3
decorator-3.4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7320002ce61dea6aa24adc945d9d7831b3669553158905cdd12f5d0027b54b44
size 6115

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat May 2 18:01:29 UTC 2015 - benoit.monin@gmx.fr
- update to version 3.4.2:
* Same as 3.4.1, re-uploaded to PyPI
- additional changes from version 3.4.1:
* Ported the repository from GoogleCode to GitHub and added
Travis CI support
* Tests are executed with the new command `python test.py -v`
* setuptools is now mandatory in Python 3
* The suggested installation tool is `pip`, not `easy_install`
* Supported IronPython and other Python implementations without
sys._getframe, as requested by Doug Blank
- remove python-nose from BuildRequires, unneeded
- replace README.txt with README.rst: changed upstream
-------------------------------------------------------------------
Thu Oct 24 11:01:04 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-decorator
#
# Copyright (c) 2013 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,7 +17,7 @@
Name: python-decorator
Version: 3.4.0
Version: 3.4.2
Release: 0
Url: http://pypi.python.org/pypi/decorator
Summary: Better living through Python with decorators
@@ -26,7 +26,6 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
%if 0%{?suse_version}
%py_requires
@@ -50,7 +49,7 @@ useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
%prep
%setup -q -n decorator-%{version}
sed -i 's/\r//' README.txt # Fix EOL encoding
sed -i 's/\r//' README.rst # Fix EOL encoding
%build
python setup.py build
@@ -60,7 +59,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt
%doc README.rst
%{python_sitelib}/decorator.py
%{python_sitelib}/decorator.pyc
%{python_sitelib}/decorator-%{version}-py%{py_ver}.egg-info