[packages/python3-handy_archives] Initial

arekm arekm at pld-linux.org
Fri Feb 7 21:47:15 CET 2025


commit 3cb42169ac2bfcdc4444587360382c3725ec0d74
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Feb 7 21:39:55 2025 +0100

    Initial

 python3-handy_archives.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/python3-handy_archives.spec b/python3-handy_archives.spec
new file mode 100644
index 0000000..04f3389
--- /dev/null
+++ b/python3-handy_archives.spec
@@ -0,0 +1,41 @@
+%define		module	handy_archives
+Summary:	Some handy archive helpers for Python
+Name:		python3-%{module}
+Version:	0.2.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	06c89496028e25060ba10a8a9490825a
+URL:		https://pypi.org/project/handy_archives/
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Some handy archive helpers for Python.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python3} -m build --wheel --no-isolation --outdir build-3
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python3} -m installer --destdir=$RPM_BUILD_ROOT build-3/*.whl
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-handy_archives.git/commitdiff/3cb42169ac2bfcdc4444587360382c3725ec0d74



More information about the pld-cvs-commit mailing list