[packages/python3-boltons] Up to 25.0.0.

arekm arekm at pld-linux.org
Sun Mar 15 17:09:37 CET 2026


commit 4c9e3a219ca80a3a7fd41ba3f33fedbac77768f5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 17:09:30 2026 +0100

    Up to 25.0.0.

 python-boltons.spec  | 112 ---------------------------------------------------
 python3-boltons.spec |  61 ++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+), 112 deletions(-)
---
diff --git a/python-boltons.spec b/python-boltons.spec
deleted file mode 100644
index 283d3a7..0000000
--- a/python-boltons.spec
+++ /dev/null
@@ -1,112 +0,0 @@
-#
-# Conditional build:
-%bcond_without	tests	# unit tests
-%bcond_without	python2 # CPython 2.x module
-%bcond_with	python3 # CPython 3.x module
-
-Summary:	When they're not builtins, they're boltons
-Summary(pl.UTF-8):	To, co nie jest wbudowane, jest w boltons
-Name:		python-boltons
-Version:	21.0.0
-Release:	7
-License:	BSD
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/boltons/
-Source0:	https://files.pythonhosted.org/packages/source/b/boltons/boltons-%{version}.tar.gz
-# Source0-md5:	c7a17577f80a5c3316b8cb61b79d09c9
-URL:		https://pypi.org/project/boltons/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%if %{with tests}
-BuildRequires:	python-pytest
-%endif
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.4
-BuildRequires:	python3-setuptools
-%if %{with tests}
-BuildRequires:	python3-pytest
-%endif
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Functionality that should be in the standard library. Like builtins,
-but Boltons.
-
-%description -l pl.UTF-8
-Funkcjonalność, która powinna być w bibliotece standardowej, Podobnie
-jak builtins, ale to są Boltons.
-
-%package -n python3-boltons
-Summary:	When they're not builtins, they're boltons
-Summary(pl.UTF-8):	To, co nie jest wbudowane, jest w boltons
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.4
-
-%description -n python3-boltons
-Functionality that should be in the standard library. Like builtins,
-but Boltons.
-
-%description -n python3-boltons -l pl.UTF-8
-Funkcjonalność, która powinna być w bibliotece standardowej, Podobnie
-jak builtins, ale to są Boltons.
-
-%prep
-%setup -q -n boltons-%{version}
-
-%build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python} -m pytest --doctest-modules boltons
-%endif
-%endif
-
-%if %{with python3}
-%py3_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest --doctest-modules boltons
-%endif
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc CHANGELOG.md LICENSE README.md TODO.rst
-%{py_sitescriptdir}/boltons
-%{py_sitescriptdir}/boltons-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-boltons
-%defattr(644,root,root,755)
-%doc CHANGELOG.md LICENSE README.md TODO.rst
-%{py3_sitescriptdir}/boltons
-%{py3_sitescriptdir}/boltons-%{version}-py*.egg-info
-%endif
diff --git a/python3-boltons.spec b/python3-boltons.spec
new file mode 100644
index 0000000..aea2901
--- /dev/null
+++ b/python3-boltons.spec
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module	boltons
+Summary:	When they're not builtins, they're boltons
+Summary(pl.UTF-8):	To, co nie jest wbudowane, jest w boltons
+Name:		python3-%{module}
+Version:	25.0.0
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/boltons/
+Source0:	https://files.pythonhosted.org/packages/source/b/boltons/%{module}-%{version}.tar.gz
+# Source0-md5:	fd7a60168e8cda65b4794f0c72437417
+URL:		https://pypi.org/project/boltons/
+BuildRequires:	python3-build
+BuildRequires:	python3-flit_core >= 3.2
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.7
+%if %{with tests}
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Functionality that should be in the standard library. Like builtins,
+but Boltons.
+
+%description -l pl.UTF-8
+Funkcjonalność, która powinna być w bibliotece standardowej. Podobnie
+jak builtins, ale to są Boltons.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE README.md
+%{py3_sitescriptdir}/boltons
+%{py3_sitescriptdir}/boltons-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-boltons.git/commitdiff/4c9e3a219ca80a3a7fd41ba3f33fedbac77768f5



More information about the pld-cvs-commit mailing list