[packages/python3-expandvars] - pl, completed dependencies - package MIT-style license, drop CODE_OF_CONDUCT (meant for contributo
qboosh
qboosh at pld-linux.org
Thu Jul 10 20:57:24 CEST 2025
commit 60c3d377f23cbd190b5708a690843f64f1e2b01d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 10 20:58:57 2025 +0200
- pl, completed dependencies
- package MIT-style license, drop CODE_OF_CONDUCT (meant for contributors which operate rather on sources anyway)
python3-expandvars.spec | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/python3-expandvars.spec b/python3-expandvars.spec
index 87a935b..a01c094 100644
--- a/python3-expandvars.spec
+++ b/python3-expandvars.spec
@@ -1,25 +1,28 @@
+#
# Conditional build:
%bcond_without tests # unit tests
%define module expandvars
Summary: Expand system variables Unix style
+Summary(pl.UTF-8): Rozwijanie zmiennych systemowych w stylu Uniksa
Name: python3-%{module}
Version: 0.12.0
Release: 3
License: MIT
Group: Libraries/Python
-Source0: https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
+#Source0Download: https://pypi.org/simple/expandvars/
+Source0: https://pypi.debian.net/expandvars/%{module}-%{version}.tar.gz
# Source0-md5: 8091f578a547e2b4b9df59100a179266
URL: https://pypi.org/project/expandvars/
BuildRequires: python3-build
+BuildRequires: python3-hatchling
BuildRequires: python3-installer
BuildRequires: python3-modules >= 1:3.2
%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
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,6 +31,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This module is inspired by GNU bash's variable expansion features. It
can be used as an alternative to Python's os.path.expandvars function.
+%description -l pl.UTF-8
+Ten moduł jest inspirowany funkcjonalnością rozwijania zmiennych GNU
+basha. Może być alternatywą dla funkcji Pythona os.path.expandvars.
+
%prep
%setup -q -n %{module}-%{version}
@@ -35,9 +42,7 @@ can be used as an alternative to Python's os.path.expandvars function.
%py3_build_pyproject
%if %{with tests}
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
%{__python3} -m pytest tests
%endif
@@ -51,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CODE_OF_CONDUCT.md README.md
-%{py3_sitescriptdir}/%{module}.py
-%{py3_sitescriptdir}/__pycache__/%{module}*.py*
+%doc LICENSE README.md
+%{py3_sitescriptdir}/expandvars.py
+%{py3_sitescriptdir}/__pycache__/expandvars.cpython-*.py[co]
%{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-expandvars.git/commitdiff/60c3d377f23cbd190b5708a690843f64f1e2b01d
More information about the pld-cvs-commit
mailing list