[packages/python3-calver] Initial

arekm arekm at pld-linux.org
Fri Feb 7 18:40:13 CET 2025


commit c5a32a7c4a2f895f215740a1a28b740da1b29309
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Feb 7 18:16:03 2025 +0100

    Initial

 python3-calver.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/python3-calver.spec b/python3-calver.spec
new file mode 100644
index 0000000..e1416a5
--- /dev/null
+++ b/python3-calver.spec
@@ -0,0 +1,43 @@
+%define		module	calver
+Summary:	Setuptools extension for CalVer package versions
+Name:		python3-%{module}
+Version:	2022.6.26
+Release:	1
+License:	Apache
+Group:		Libraries/Python
+Source0:	https://pypi.debian.net/calver/%{module}-%{version}.tar.gz
+# Source0-md5:	e1fd924b9bf953c0b28c49bdfe117d7a
+URL:		https://pypi.org/project/calver/
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.2
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The calver package is a setuptools extension for automatically
+defining your Python package version as a calendar version.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}/*.py
+%{py3_sitescriptdir}/%{module}/__pycache__
+%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-calver.git/commitdiff/c5a32a7c4a2f895f215740a1a28b740da1b29309



More information about the pld-cvs-commit mailing list