[packages/whipper] up to 0.9.0
atler
atler at pld-linux.org
Sat Jan 25 19:53:37 CET 2020
commit 07a1b5dbd0017d50932a157c7a6a9f1368fe4a4c
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jan 25 19:48:01 2020 +0100
up to 0.9.0
- ported to python3
- workaround setuptools-scm madness with SETUPTOOLS_SCM_PRETEND_VERSION
(see https://github.com/whipper-team/whipper/issues/428)
- provides its own accuraterip-checksum implementation
whipper.spec | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/whipper.spec b/whipper.spec
index e69a724..e140af8 100644
--- a/whipper.spec
+++ b/whipper.spec
@@ -1,26 +1,27 @@
Summary: Python CD-DA ripper preferring accuracy over speed
Name: whipper
-Version: 0.7.3
+Version: 0.9.0
Release: 1
License: GPL v3+
Group: Applications
Source0: https://github.com/whipper-team/whipper/archive/v%{version}.tar.gz
-# Source0-md5: 0cdeba11ba71875f58929b8c8ae4b55d
+# Source0-md5: 2b1a80fcff535ccad2098181c5fdc33d
URL: https://github.com/whipper-team/whipper
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: accuraterip-checksum
Requires: cdrdao
Requires: flac
Requires: libcdio-paranoia-utils
-Requires: python-modules >= 1:2.7
-Requires: python-mutagen
-Requires: python-pycdio
-Requires: python-pygobject
-Requires: python-requests
-Requires: python-setuptools
+Requires: python3-modules
+Requires: python3-mutagen
+Requires: python3-pycdio
+Requires: python3-pygobject
+Requires: python3-requests
+Requires: python3-ruamel.yaml
+Requires: python3-setuptools
Requires: sox
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,14 +36,14 @@ ignored pull requests, improving it with bugfixes and new features.
%setup -q
%build
-%py_build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%py3_build
%install
rm -rf $RPM_BUILD_ROOT
-%py_install
-
-%py_postclean
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%py3_install
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG.md HACKING README.md TODO
+%attr(755,root,root) %{_bindir}/accuraterip-checksum
%attr(755,root,root) %{_bindir}/whipper
%{_datadir}/metainfo/com.github.whipper_team.Whipper.metainfo.xml
-%{py_sitescriptdir}/whipper
-%{py_sitescriptdir}/whipper-%{version}-py*.egg-info
+%{py3_sitedir}/whipper
+%{py3_sitedir}/whipper-%{version}-py*.egg-info
+%attr(755,root,root) %{py3_sitedir}/accuraterip.cpython-*.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/whipper.git/commitdiff/07a1b5dbd0017d50932a157c7a6a9f1368fe4a4c
More information about the pld-cvs-commit
mailing list