[packages/python-setuptools_scm] - updated to 2.1.0
qboosh
qboosh at pld-linux.org
Sat Jul 21 22:17:23 CEST 2018
commit 3b805f389528df37183ae7d64114109dcbc98d44
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 21 22:19:18 2018 +0200
- updated to 2.1.0
python-setuptools_scm.spec | 33 +++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec
index 25dd3a4..4373dc2 100644
--- a/python-setuptools_scm.spec
+++ b/python-setuptools_scm.spec
@@ -8,28 +8,28 @@
Summary: Python 2 package to manager versions by scm tags
Summary(pl.UTF-8): Pakiet Pythona 2 do zarządzania wersjami poprzez etykiety systemu kontroli wersji
Name: python-setuptools_scm
-Version: 1.15.0
-Release: 3
+Version: 2.1.0
+Release: 1
License: MIT
Group: Libraries/Python
-#Source0Download: https://pypi.python.org/simple/setuptools_scm
-Source0: https://pypi.python.org/packages/80/b7/31b6ae5fcb188e37f7e31abe75f9be90490a5456a72860fa6e643f8a3cbc/setuptools_scm-%{version}.tar.gz
-# Source0-md5: b6916c78ed6253d6602444fad4279c5b
+#Source0Download: https://pypi.org/simple/setuptools_scm/
+Source0: https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-%{version}.tar.gz
+# Source0-md5: cfec5d2dbbd0a85c40066f79035b5878
URL: https://github.com/pypa/setuptools_scm
%if %{with python2}
-BuildRequires: python-modules >= 1:2.6
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
%if %{with tests}
BuildRequires: python-py >= 1.4.26
-BuildRequires: python-pytest
+BuildRequires: python-pytest >= 3.1.0
%endif
%endif
%if %{with python3}
BuildRequires: python3-setuptools
-BuildRequires: python3-modules >= 1:3.3
+BuildRequires: python3-modules >= 1:3.4
%if %{with tests}
BuildRequires: python3-py >= 1.4.26
-BuildRequires: python3-pytest
+BuildRequires: python3-pytest >= 3.1.0
%endif
%endif
BuildRequires: rpm-pythonprov
@@ -70,20 +70,29 @@ systemach kontroli wersji Mercurial i Git.
%setup -q -n setuptools_scm-%{version}
%if %{without tests_scm}
-%{__rm} testing/test_{git,mercurial,regressions}.py
+%{__rm} testing/test_{file_finder,git,mercurial,regressions}.py
%endif
+# tries to install using pip
+%{__rm} testing/test_setuptools_support.py
+
%build
%if %{with python2}
%py_build
-%{?with_tests:%{__python} -mpytest}
+%if %{with tests}
+PYTHONPATH=$(pwd) \
+%{__python} -m pytest
+%endif
%endif
%if %{with python3}
%py3_build
-%{?with_tests:%{__python3} -mpytest}
+%if %{with tests}
+PYTHONPATH=$(pwd) \
+%{__python3} -m pytest
+%endif
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-setuptools_scm.git/commitdiff/3b805f389528df37183ae7d64114109dcbc98d44
More information about the pld-cvs-commit
mailing list