[packages/python3-orderly_set] - new, needed by deepdiff 8.x - release 1
adamg
adamg at pld-linux.org
Fri Nov 20 12:33:45 CET 2026
commit a0efa400159f0ef1a3452087dcea84ab60707d0d
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Fri Nov 20 12:33:17 2026 +0100
- new, needed by deepdiff 8.x
- release 1
python3-orderly_set.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
---
diff --git a/python3-orderly_set.spec b/python3-orderly_set.spec
new file mode 100644
index 0000000..710c51c
--- /dev/null
+++ b/python3-orderly_set.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+%define module orderly_set
+Summary: Orderly set - ordered set implementations for Python
+Summary(pl.UTF-8): Orderly set - implementacje zbiorów uporządkowanych dla Pythona
+Name: python3-%{module}
+Version: 5.5.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/orderly-set/
+Source0: https://files.pythonhosted.org/packages/source/o/orderly_set/%{module}-%{version}.tar.gz
+# Source0-md5: bfb6f065e1b646f84636dfab39e0acbd
+URL: https://pypi.org/project/orderly-set/
+BuildRequires: python3-build
+BuildRequires: python3-flit_core >= 3.2
+BuildRequires: python3-flit_core < 4
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.8
+%if %{with tests}
+BuildRequires: python3-pytest
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.8
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Orderly Set is a package containing multiple implementations of
+Ordered Set: OrderedSet, StableSet, StableSetEq, OrderlySet and
+SortedSet.
+
+%description -l pl.UTF-8
+Orderly Set to pakiet zawierający kilka implementacji zbioru
+uporządkowanego: OrderedSet, StableSet, StableSetEq, OrderlySet oraz
+SortedSet.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+# addopts use IPython debugger and README doctests
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd) \
+%{__python3} -m pytest -o addopts="" tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS.md CHANGELOG.md MIT-LICENSE README.md
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-orderly_set.git/commitdiff/a0efa400159f0ef1a3452087dcea84ab60707d0d
More information about the pld-cvs-commit
mailing list