[packages/python3-hatch-requirements-txt] new
atler
atler at pld-linux.org
Sat Apr 19 22:24:11 CEST 2025
commit 1d86ab3124f4e581f8022a858d8f66a8a771de6b
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Apr 19 22:21:01 2025 +0200
new
python3-hatch-requirements-txt.spec | 45 +++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
---
diff --git a/python3-hatch-requirements-txt.spec b/python3-hatch-requirements-txt.spec
new file mode 100644
index 0000000..c7eb03d
--- /dev/null
+++ b/python3-hatch-requirements-txt.spec
@@ -0,0 +1,45 @@
+Summary: Hatchling plugin to read project dependencies from requirements.txt
+Name: python3-hatch-requirements-txt
+Version: 0.4.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/hatch-requirements-txt/
+Source0: https://files.pythonhosted.org/packages/source/h/hatch_requirements_txt/hatch_requirements_txt-%{version}.tar.gz
+# Source0-md5: bb741f92af054815f851f0d9333dd51b
+URL: https://github.com/repo-helper/hatch-requirements-txt
+BuildRequires: python3 >= 1:3.6.1
+BuildRequires: python3-build
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.6.1
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.6.1
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Hatchling plugin to read project dependencies from requirements.txt.
+
+%prep
+%setup -q -n hatch_requirements_txt-%{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.rst
+%dir %{py3_sitescriptdir}/hatch_requirements_txt
+%{py3_sitescriptdir}/hatch_requirements_txt/*.py
+%{py3_sitescriptdir}/hatch_requirements_txt/__pycache__
+%{py3_sitescriptdir}/hatch_requirements_txt/py.typed
+%{py3_sitescriptdir}/hatch_requirements_txt-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-hatch-requirements-txt.git/commitdiff/1d86ab3124f4e581f8022a858d8f66a8a771de6b
More information about the pld-cvs-commit
mailing list