[packages/python3-standard-pipes] - new
qboosh
qboosh at pld-linux.org
Tue Nov 25 21:39:58 CET 2025
commit 024b2405c63d219e29599078bec1e4f131d94c01
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 25 21:39:57 2025 +0100
- new
python3-standard-pipes.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
---
diff --git a/python3-standard-pipes.spec b/python3-standard-pipes.spec
new file mode 100644
index 0000000..456f60c
--- /dev/null
+++ b/python3-standard-pipes.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: Standard library pipes redistribution. "dead battery"
+Summary(pl.UTF-8): Redystrybucja "zużytej baterii" - pipes z biblioteki standardowej
+Name: python3-standard-pipes
+Version: 3.13.0
+Release: 1
+License: PSF
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/standard-pipes/
+Source0: https://files.pythonhosted.org/packages/source/s/standard-pipes/standard_pipes-%{version}.tar.gz
+# Source0-md5: 63a401b61d036fdfd6becd16a8fccecc
+URL: https://pypi.org/project/standard-pipes/
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-setuptools >= 1:75.0
+%if %{with tests}
+BuildRequires: python3-test >= 1:3.2
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python is moving forward! Python finally started to remove dead
+batteries. For more information, see PEP 594.
+
+If your project depends on a module that has been removed from the
+standard, python-deadlib project provides the redistribution of the
+dead batteries.
+
+%description -l pl.UTF-8
+Python idzie do przodu! W końcu zaczął usuwać "zużyte baterie". Więcej
+informacji w PEP 594.
+
+Jeśli projekt zależy od modułu, który został usunięty ze standardu,
+projekt python-deadlib prowadzi redystrybucję "zużytych baterii".
+
+%prep
+%setup -q -n standard_pipes-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTHONPATH=$(pwd) \
+%{__python3} -m tests.test_pipes
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/pipes
+%{py3_sitescriptdir}/standard_pipes-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-standard-pipes.git/commitdiff/024b2405c63d219e29599078bec1e4f131d94c01
More information about the pld-cvs-commit
mailing list