[packages/python-wrapt] - updated to 1.11.2

qboosh qboosh at pld-linux.org
Sun Oct 20 19:23:21 CEST 2019


commit dbb63cef81818ed6327c4300226d8b2a5d2b69dc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 20 19:26:51 2019 +0200

    - updated to 1.11.2

 python-wrapt.spec | 45 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 9 deletions(-)
---
diff --git a/python-wrapt.spec b/python-wrapt.spec
index 3366fa0..fa9b98f 100644
--- a/python-wrapt.spec
+++ b/python-wrapt.spec
@@ -4,24 +4,26 @@
 %bcond_without	python3 # CPython 3.x module
 
 %define 	module	wrapt
-Summary:	A Python module for decorators, wrappers and monkey patching
+Summary:	Python 2 module for decorators, wrappers and monkey patching
+Summary(pl.UTF-8):	Moduł Pythona 2 do dekorowania, opakowywania i łatania w locie
 Name:		python-%{module}
 Version:	1.11.2
 Release:	1
 License:	BSD
 Group:		Libraries/Python
-Source0:	https://pypi.python.org/packages/source/w/wrapt/%{module}-%{version}.tar.gz
+#Source0Download: https://pypi.org/simple/wrapt/
+Source0:	https://files.pythonhosted.org/packages/source/w/wrapt/%{module}-%{version}.tar.gz
 # Source0-md5:	cc15c001b129f81eb2f79b15eb99ffe5
 URL:		https://github.com/GrahamDumpleton/wrapt
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 1:2.7
 %endif
 %if %{with python3}
-BuildRequires:	python3-devel
+BuildRequires:	python3-devel >= 1:3.4
 %endif
-Requires:	python-modules
+Requires:	python-modules >= 1:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,10 +38,23 @@ abilities etc. The decorators that can be constructed using this
 module will work in far more scenarios than typical decorators and
 provide more predictable and consistent behaviour.
 
+%description -l pl.UTF-8
+Celem modułu wrapt jest dostarczenie przezroczystego proxy obiektów
+dla Pythona. Można go używać jako podstawy do konstruowania opakowań
+funkcji lub funkcji dekoratorów.
+
+Moduł wrapt skupia się bardzo na poprawności - wykracza więc poza
+istniejące mechanizmy, tkaie jak functools.wraps(), aby zapewnić, że
+dekoratory zachowują introspekcje, sygnatury, możliwość sprawdzania
+typów itp. Dekoratory tworzone przy użyciu tego modułu będą działać w
+większej liczbie scenariuszy niż typowe dekoratory oraz zapewniać
+bardziej przewidywalne i spójne zachowanie.
+
 %package -n python3-%{module}
-Summary:	A Python module for decorators, wrappers and monkey patching
+Summary:	Python 3 module for decorators, wrappers and monkey patching
+Summary(pl.UTF-8):	Moduł Pythona 3 do dekorowania, opakowywania i łatania w locie
 Group:		Libraries/Python
-Requires:	python3-modules
+Requires:	python3-modules >= 1:3.4
 
 %description -n python3-%{module}
 The aim of the wrapt module is to provide a transparent object proxy
@@ -53,6 +68,18 @@ abilities etc. The decorators that can be constructed using this
 module will work in far more scenarios than typical decorators and
 provide more predictable and consistent behaviour.
 
+%description -n python3-%{module} -l pl.UTF-8
+Celem modułu wrapt jest dostarczenie przezroczystego proxy obiektów
+dla Pythona. Można go używać jako podstawy do konstruowania opakowań
+funkcji lub funkcji dekoratorów.
+
+Moduł wrapt skupia się bardzo na poprawności - wykracza więc poza
+istniejące mechanizmy, tkaie jak functools.wraps(), aby zapewnić, że
+dekoratory zachowują introspekcje, sygnatury, możliwość sprawdzania
+typów itp. Dekoratory tworzone przy użyciu tego modułu będą działać w
+większej liczbie scenariuszy niż typowe dekoratory oraz zapewniać
+bardziej przewidywalne i spójne zachowanie.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -84,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc README.rst
+%doc LICENSE README.rst
 %dir %{py_sitedir}/%{module}
 %{py_sitedir}/%{module}/*.py[co]
 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
@@ -94,7 +121,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc README.rst
+%doc LICENSE README.rst
 %dir %{py3_sitedir}/%{module}
 %{py3_sitedir}/%{module}/*.py
 %attr(755,root,root) %{py3_sitedir}/%{module}/*.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-wrapt.git/commitdiff/dbb63cef81818ed6327c4300226d8b2a5d2b69dc



More information about the pld-cvs-commit mailing list