[packages/python-path] - updated to 11.0.1

qboosh qboosh at pld-linux.org
Sun Jul 22 17:12:29 CEST 2018


commit bdd88fba0f657b52f47172f89f1dd879c371e3ea
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 22 17:14:25 2018 +0200

    - updated to 11.0.1

 python-path.spec | 33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)
---
diff --git a/python-path.spec b/python-path.spec
index 59d1e0d..c169c94 100644
--- a/python-path.spec
+++ b/python-path.spec
@@ -8,16 +8,16 @@
 Summary:	Python 2 module wrapper for os.path
 Summary(pl.UTF-8):	Moduł Pythona 2 obudowujący os.path
 Name:		python-path
-Version:	10.1
-Release:	2
+Version:	11.0.1
+Release:	1
 License:	MIT
 Group:		Libraries/Python
-#Source0Download: https://pypi.python.org/simple/path.py
-Source0:	https://pypi.python.org/packages/5d/54/4b2301e48a5889de9d121f6232e1833f19513fb24a93c0cbdb919eeec1dd/path.py-%{version}.tar.gz
-# Source0-md5:	f9d31317ceeb798f6b5eac8d3b8e5988
+#Source0Download: https://pypi.python.org/simple/path-py/
+Source0:	https://files.pythonhosted.org/packages/source/p/path.py/path.py-%{version}.tar.gz
+# Source0-md5:	de65181c0efc12efc34d1ff1a0b1edfe
 Patch0:		%{name}-sphinx.patch
 URL:		https://github.com/jaraco/path.py
-%if %{with tests} && %(locale -a | grep -q '^C\.UTF-8$'; echo $?)
+%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
 BuildRequires:	glibc-localedb-all
 %endif
 %if %{with python2}
@@ -28,23 +28,26 @@ BuildRequires:	python-setuptools_scm >= 1.15.0
 %if %{with tests}
 BuildRequires:	python-appdirs
 BuildRequires:	python-pytest >= 2.8
+BuildRequires:	python-pytest-flake8
 %endif
 %endif
 %if %{with python3}
-BuildRequires:	python3 >= 1:3.3
-BuildRequires:	python3-modules >= 1:3.3
+BuildRequires:	python3 >= 1:3.4
+BuildRequires:	python3-modules >= 1:3.4
 BuildRequires:	python3-setuptools
 BuildRequires:	python3-setuptools_scm >= 1.15.0
 %if %{with tests}
 BuildRequires:	python3-appdirs
 BuildRequires:	python3-pytest >= 2.8
+BuildRequires:	python3-pytest-flake8
 %endif
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	sphinx-pdg
-BuildRequires:	python3-rst.linker
+BuildRequires:	sphinx-pdg-3
+BuildRequires:	python3-jaraco.packaging >= 3.2
+BuildRequires:	python3-rst.linker >= 1.9
 %endif
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
@@ -64,7 +67,7 @@ na tych ścieżkach.
 Summary:	Python 3 module wrapper for os.path
 Summary(pl.UTF-8):	Moduł Pythona 3 obudowujący os.path
 Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.3
+Requires:	python3-modules >= 1:3.4
 
 %description -n python3-path
 path.py implements a path objects as first-class entities, allowing
@@ -96,7 +99,8 @@ Dokumentacja modułu Pythona path.py.
 %py_build
 
 %if %{with tests}
-LC_ALL=C.UTF-8 %{__python} -m pytest test_path.py
+LC_ALL=C.UTF-8 \
+%{__python} -m pytest test_path.py
 %endif
 %endif
 
@@ -104,14 +108,15 @@ LC_ALL=C.UTF-8 %{__python} -m pytest test_path.py
 %py3_build
 
 %if %{with tests}
-LC_ALL=C.UTF-8 %{__python3} -m pytest test_path.py
+LC_ALL=C.UTF-8 \
+%{__python3} -m pytest test_path.py
 %endif
 %endif
 
 %if %{with doc}
-install -d docs/_static
 # disable warnings (-W in SPHINXOPTS) to ignore objects.inv fetching error on builders
 %{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-3 \
 	SPHINXOPTS=
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-path.git/commitdiff/bdd88fba0f657b52f47172f89f1dd879c371e3ea



More information about the pld-cvs-commit mailing list