[packages/python-requests] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:42:27 CET 2015


commit fa6a20a6a2c93c1de5cbb73e0256d9f9cc7cf7e7
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-requests.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-requests.spec b/python-requests.spec
index 9268180..574893f 100644
--- a/python-requests.spec
+++ b/python-requests.spec
@@ -118,12 +118,12 @@ Ten pakiet zawiera moduł dla Pythona 3.x.
 
 %build
 %if %{with python2}
-%{__python} setup.py build -b py2 %{?with_tests:test}
+%py_build -b py2 %{?with_tests:test}
 %{?with_tests:cp requirements.txt test_requests.py py2; cd py2; PYTHONPATH=$(pwd)/lib %{__python} test_requests.py; cd ..}
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build -b py3 %{?with_tests:test}
+%py3_build -b py3 %{?with_tests:test}
 %{?with_tests:cp requirements.txt test_requests.py py3; cd py3; PYTHONPATH=$(pwd)/lib %{__python3} test_requests.py; cd ..}
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requests.git/commitdiff/fa6a20a6a2c93c1de5cbb73e0256d9f9cc7cf7e7



More information about the pld-cvs-commit mailing list