[packages/python-locust] - rel 2; less strict versions

arekm arekm at pld-linux.org
Sat Jul 7 15:26:22 CEST 2018


commit 92d4be15fd41d42c5e6dfe7cc9cd4ebefb357bb5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jul 7 15:26:15 2018 +0200

    - rel 2; less strict versions

 loose-ver.patch    | 12 ++++++++++++
 python-locust.spec |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/python-locust.spec b/python-locust.spec
index 2884e45..b03feb7 100644
--- a/python-locust.spec
+++ b/python-locust.spec
@@ -9,11 +9,12 @@ Summary:	Easy-to-use, distributed, user load www servers testing tool
 Summary(pl.UTF-8):	Łatwe do użycia, rozproszone narzędzie do testowania obciążeniem serwerów www
 Name:		python-%{module}
 Version:	0.8
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://github.com/locustio/locust/archive/v%{version}.tar.gz
 # Source0-md5:	7b821f11ebdd0e1bf70396d4571e887b
+Patch0:		loose-ver.patch
 URL:		http://locust.io/
 BuildRequires:	rpm-pythonprov
 # if py_postclean is used
@@ -72,6 +73,7 @@ Dokumentacja API %{module}.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/loose-ver.patch b/loose-ver.patch
new file mode 100644
index 0000000..5b3bad7
--- /dev/null
+++ b/loose-ver.patch
@@ -0,0 +1,12 @@
+diff -urN locust-0.8.org/setup.py locust-0.8/setup.py
+--- locust-0.8.org/setup.py	2017-09-19 11:54:44.000000000 +0200
++++ locust-0.8/setup.py	2018-07-07 15:24:44.475173041 +0200
+@@ -41,7 +41,7 @@
+     packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
+     include_package_data=True,
+     zip_safe=False,
+-    install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack-python>=0.4.2", "six>=1.10.0", "pyzmq==15.2.0"],
++    install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack>=0.4.2", "six>=1.10.0", "pyzmq>=15.2.0"],
+     test_suite="locust.test",
+     tests_require=['unittest2', 'mock'],
+     entry_points={
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-locust.git/commitdiff/92d4be15fd41d42c5e6dfe7cc9cd4ebefb357bb5



More information about the pld-cvs-commit mailing list