[packages/python3-changelog_chug] Initial
arekm
arekm at pld-linux.org
Sat Feb 8 17:05:50 CET 2025
commit 81a146ac2d7bbf763cc6f77a9edbbda03363339f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Feb 8 16:33:06 2025 +0100
Initial
python3-changelog_chug.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/python3-changelog_chug.spec b/python3-changelog_chug.spec
new file mode 100644
index 0000000..10cfc3c
--- /dev/null
+++ b/python3-changelog_chug.spec
@@ -0,0 +1,54 @@
+# Conditional build:
+%bcond_without tests # unit tests
+
+%define module changelog_chug
+Summary: A parser for project Change Log documents
+Name: python3-%{module}
+Version: 0.0.3
+Release: 1
+License: AGPL v3+
+Group: Libraries/Python
+Source0: https://pypi.debian.net/changelog-chug/changelog_chug-%{version}.tar.gz
+# Source0-md5: 4ccd595cfa9e929bfa04b7e64de3663c
+URL: https://pypi.org/project/changelog-chug/
+BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-semver
+%if %{with tests}
+BuildRequires: python3-testscenarios
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+# 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)
+
+%description
+A parser for project Change Log documents.
+
+%prep
+%setup -q -n changelog_chug-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
+PYTHONPATH="$PWD/build-3/lib" \
+%{__python3} -m pytest test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%{py3_sitescriptdir}/chug
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-changelog_chug.git/commitdiff/81a146ac2d7bbf763cc6f77a9edbbda03363339f
More information about the pld-cvs-commit
mailing list