[packages/python3-constantly] - updated dependencies
qboosh
qboosh at pld-linux.org
Sat May 31 21:54:07 CEST 2025
commit e9aa6edb54bc523d9be1c4a40105921a4617b70b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 31 21:49:24 2025 +0200
- updated dependencies
python3-constantly.spec | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/python3-constantly.spec b/python3-constantly.spec
index 1e7b69e..7123cd5 100644
--- a/python3-constantly.spec
+++ b/python3-constantly.spec
@@ -1,3 +1,8 @@
+# TODO: finish tests (actually run them)
+#
+# Conditional build:
+%bcond_with tests # unit tests
+
Summary: Symbolic constants in Python
Summary(pl.UTF-8): Stałe symboliczne w Pythonie
Name: python3-constantly
@@ -9,12 +14,15 @@ Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz
# Source0-md5: c090579309b2b34be04385b54b0a5a85
URL: https://pypi.org/project/constantly/
-BuildRequires: python3-modules >= 1:3.3
-BuildRequires: python3-setuptools
-BuildRequires: python3-versioneer
+BuildRequires: python3-modules >= 1:3.8
+BuildRequires: python3-setuptools >= 1:68.2
+BuildRequires: python3-versioneer >= 0.29
+%if %{with tests}
+BuildRequires: python3-twisted
+%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.7
+Requires: python3-modules >= 1:3.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,6 +43,10 @@ Twisted.
%build
%py3_build
+%if %{with tests}
+# trial-3? ... constantly/test
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-constantly.git/commitdiff/e9aa6edb54bc523d9be1c4a40105921a4617b70b
More information about the pld-cvs-commit
mailing list