[packages/python3-pep440] new
atler
atler at pld-linux.org
Tue Apr 22 14:10:08 CEST 2025
commit 9548d4ba674081482aac833bea9fc0c5004de75a
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 22 13:21:45 2025 +0200
new
python3-pep440.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
---
diff --git a/python3-pep440.spec b/python3-pep440.spec
new file mode 100644
index 0000000..787bbfb
--- /dev/null
+++ b/python3-pep440.spec
@@ -0,0 +1,48 @@
+Summary: Utils to check whether versions number match PEP 440
+Name: python3-pep440
+Version: 0.1.2
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pep440/
+Source0: https://files.pythonhosted.org/packages/source/p/pep440/pep440-%{version}.tar.gz
+# Source0-md5: 5d0ca76592a2d35fbcaa34fdd1761677
+URL: https://github.com/Carreau/pep440
+BuildRequires: python3 >= 1:3.7
+BuildRequires: python3-build
+BuildRequires: python3-flit_core < 4
+BuildRequires: python3-flit_core >= 3.4
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple package with utils to check whether versions number match PEP
+440.
+
+%prep
+%setup -q -n pep440-%{version}
+
+%build
+%py3_build_pyproject
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE readme.md
+%attr(755,root,root) %{_bindir}/pep440
+%dir %{py3_sitescriptdir}/pep440
+%{py3_sitescriptdir}/pep440/*.py
+%{py3_sitescriptdir}/pep440/__pycache__
+%{py3_sitescriptdir}/pep440/py.typed
+%{py3_sitescriptdir}/pep440-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pep440.git/commitdiff/9548d4ba674081482aac833bea9fc0c5004de75a
More information about the pld-cvs-commit
mailing list