[packages/python3-nodeenv] - updated dependencies, cleanup

qboosh qboosh at pld-linux.org
Sun May 25 10:46:27 CEST 2025


commit a05b559c7328db75d35a0a6ae460cf7dafe2d3af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 25 09:40:55 2025 +0200

    - updated dependencies, cleanup

 python3-nodeenv.spec | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/python3-nodeenv.spec b/python3-nodeenv.spec
index ca6c6db..f884250 100644
--- a/python3-nodeenv.spec
+++ b/python3-nodeenv.spec
@@ -10,19 +10,20 @@ Version:	1.9.1
 Release:	3
 License:	BSD
 Group:		Libraries/Python
-Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
+Source0:	https://pypi.debian.net/nodeenv/%{module}-%{version}.tar.gz
 # Source0-md5:	48e8369f9770952639e51f41366f651d
 URL:		https://pypi.org/project/nodeenv/
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-setuptools
+BuildRequires:	python3-setuptools_scm
 %if %{with tests}
-#BuildRequires:	python3-
+BuildRequires:	python3-pytest
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
-# replace with other requires if defined in setup.py
-Requires:	python3-modules >= 1:3.2
+Requires:	python3-modules >= 1:3.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,16 +43,13 @@ izolowanych środowisk node.js.
 
 %if %{with tests}
 %{__python3} -m zipfile -e build-3/*.whl build-3-test
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
 %{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-# if pyproject.toml
 %py3_install_pyproject
 
 %clean
@@ -59,8 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES README*
+%doc AUTHORS CHANGES README.rst
+%lang(ru) %doc README.ru.rst
 %attr(755,root,root) %{_bindir}/nodeenv
-%{py3_sitescriptdir}/%{module}.py
-%{py3_sitescriptdir}/__pycache__/*%{module}*
+%{py3_sitescriptdir}/nodeenv.py
+%{py3_sitescriptdir}/__pycache__/nodeenv.cpython*.py[co]
 %{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-nodeenv.git/commitdiff/a05b559c7328db75d35a0a6ae460cf7dafe2d3af



More information about the pld-cvs-commit mailing list