[packages/python3-fastimport] - python-fastimport.spec updated to 0.9.14 for python 3.6+
qboosh
qboosh at pld-linux.org
Mon Mar 14 21:48:19 CET 2022
commit 45921b512997f487fae08d8024bf538a5eb69be8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Mar 14 21:50:27 2022 +0100
- python-fastimport.spec updated to 0.9.14 for python 3.6+
python-fastimport.spec => python3-fastimport.spec | 34 ++++++++++-------------
1 file changed, 14 insertions(+), 20 deletions(-)
---
diff --git a/python-fastimport.spec b/python3-fastimport.spec
similarity index 63%
rename from python-fastimport.spec
rename to python3-fastimport.spec
index 7d717fb..594d3bf 100644
--- a/python-fastimport.spec
+++ b/python3-fastimport.spec
@@ -5,19 +5,18 @@
%define module fastimport
Summary: Python parser for fastimport (VCS interchange format)
Summary(pl.UTF-8): Pythonowy parser formatu fastimport (do wymiany VCS)
-Name: python-%{module}
-# keep 0.9.8 here for python2 support
-Version: 0.9.8
+Name: python3-%{module}
+Version: 0.9.14
Release: 1
License: GPL v2+
Group: Libraries/Python
#Source0Download: https://pypi.org/project/simple/
Source0: https://files.pythonhosted.org/packages/source/f/fastimport/%{module}-%{version}.tar.gz
-# Source0-md5: 85a206e92e209937a8dd11ffe8139cf9
+# Source0-md5: be8e2780fadd9e4047c7b37b91e20751
URL: https://pypi.org/project/fastimport/
-BuildRequires: python-modules >= 1:2.7
+BuildRequires: python3-modules >= 1:3.6
%if %{with tests}
-BuildRequires: python-nose
+BuildRequires: python3-nose
%endif
BuildRequires: rpmbuild(macros) >= 1.714
BuildArch: noarch
@@ -36,23 +35,18 @@ przez inne projekty.
%setup -q -n %{module}-%{version}
%build
-%py_build
+%py3_build
%if %{with tests}
-nosetests-%{py_ver} fastimport
+nosetests-%{py3_ver} fastimport
%endif
%install
rm -rf $RPM_BUILD_ROOT
-%py_install
+%py3_install
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
-%py_postclean
-
-for f in $RPM_BUILD_ROOT%{_bindir}/fast-import-* ; do
- %{__mv} "$f" "${f}-2"
-done
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{module}/tests
%clean
rm -rf $RPM_BUILD_ROOT
@@ -60,8 +54,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README.md
-%attr(755,root,root) %{_bindir}/fast-import-filter-2
-%attr(755,root,root) %{_bindir}/fast-import-info-2
-%attr(755,root,root) %{_bindir}/fast-import-query-2
-%{py_sitescriptdir}/fastimport
-%{py_sitescriptdir}/fastimport-%{version}-py*.egg-info
+%attr(755,root,root) %{_bindir}/fast-import-filter
+%attr(755,root,root) %{_bindir}/fast-import-info
+%attr(755,root,root) %{_bindir}/fast-import-query
+%{py3_sitescriptdir}/fastimport
+%{py3_sitescriptdir}/fastimport-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-fastimport.git/commitdiff/45921b512997f487fae08d8024bf538a5eb69be8
More information about the pld-cvs-commit
mailing list