[packages/python3-whey-pth] new

atler atler at pld-linux.org
Mon Apr 21 13:16:00 CEST 2025


commit f2fbad78751e6d9eb4a9f4e29ae777a855ed288f
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Apr 21 12:22:43 2025 +0200

    new

 deps.patch            |  9 +++++++++
 python3-whey-pth.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
---
diff --git a/python3-whey-pth.spec b/python3-whey-pth.spec
new file mode 100644
index 0000000..5ceedf3
--- /dev/null
+++ b/python3-whey-pth.spec
@@ -0,0 +1,47 @@
+Summary:	Extension to whey to support .pth files
+Name:		python3-whey-pth
+Version:	0.0.6
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/whey-pth/
+Source0:	https://files.pythonhosted.org/packages/source/w/whey-pth/whey-pth-%{version}.tar.gz
+# Source0-md5:	beb363ccfe6d80735e621eed500ab714
+Patch0:		deps.patch
+URL:		https://github.com/repo-helper/whey-pth
+BuildRequires:	python3 >= 1:3.6.1
+BuildRequires:	python3-build
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.6.1
+BuildRequires:	python3-setuptools
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.6.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Extension to whey to support .pth files.
+
+%prep
+%setup -q -n whey-pth-%{version}
+%patch -P0 -p1
+
+%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.rst
+%dir %{py3_sitescriptdir}/whey_pth
+%{py3_sitescriptdir}/whey_pth/*.py
+%{py3_sitescriptdir}/whey_pth/__pycache__
+%{py3_sitescriptdir}/whey_pth/py.typed
+%{py3_sitescriptdir}/whey_pth-%{version}.dist-info
diff --git a/deps.patch b/deps.patch
new file mode 100644
index 0000000..1a3ef43
--- /dev/null
+++ b/deps.patch
@@ -0,0 +1,9 @@
+--- whey-pth-0.0.6/pyproject.toml.orig	2024-05-21 11:29:20.000000000 +0200
++++ whey-pth-0.0.6/pyproject.toml	2025-04-21 12:16:17.052339737 +0200
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = [ "setuptools!=61.*,<=67.1.0,>=40.6.0", "wheel>=0.34.2",]
++requires = [ "setuptools>=62",]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-whey-pth.git/commitdiff/f2fbad78751e6d9eb4a9f4e29ae777a855ed288f



More information about the pld-cvs-commit mailing list