[packages/pyp2rpm] up to 3.3.2; switch to python3

glen glen at pld-linux.org
Mon Apr 30 17:45:04 CEST 2018


commit 65b2716d2e5dffbe3fc42e8eac32fcb485660836
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Apr 30 18:21:26 2018 +0300

    up to 3.3.2; switch to python3

 pyp2rpm.spec | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/pyp2rpm.spec b/pyp2rpm.spec
index 0954c94..1fae2e9 100644
--- a/pyp2rpm.spec
+++ b/pyp2rpm.spec
@@ -4,21 +4,26 @@
 
 Summary:	Convert Python packages to RPM .spec files
 Name:		pyp2rpm
-Version:	3.3.0
+Version:	3.3.2
 Release:	1
 License:	MIT
 Group:		Development
 Source0:	https://github.com/fedora-python/pyp2rpm/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	9c744bc722f554cb22f63e1fd2b1a187
+# Source0-md5:	32a6c74763c1b1d8ea6a260750bd0176
 Patch0:		default-savepath.patch
 Patch1:		no-rpmdev-packager.patch
 Patch2:		default-distro.patch
 URL:		https://github.com/fedora-python/pyp2rpm
-BuildRequires:	python-flexmock >= 0.9.3
-BuildRequires:	python-pytest
-BuildRequires:	python-setuptools
+BuildRequires:	python3-flexmock >= 0.9.3
+BuildRequires:	python3-setuptools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
+%if %{with tests}
+BuildRequires:	python3-click
+BuildRequires:	python3-jinja2
+BuildRequires:	python3-pytest
+BuildRequires:	python3-scripttest
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,7 +45,7 @@ information though).
 %py_build
 
 %if %{with tests}
-PYTHONPATH=$(pwd) py.test
+PYTHONPATH=$(pwd) py.test-3
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pyp2rpm.git/commitdiff/65b2716d2e5dffbe3fc42e8eac32fcb485660836



More information about the pld-cvs-commit mailing list