[packages/python3-hatch-nodejs-version] new

atler atler at pld-linux.org
Tue Apr 22 14:08:52 CEST 2025


commit b41aeb363e7d50123bb19b053a01c500cd504ba1
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 22 13:20:39 2025 +0200

    new

 python3-hatch-nodejs-version.spec | 44 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
---
diff --git a/python3-hatch-nodejs-version.spec b/python3-hatch-nodejs-version.spec
new file mode 100644
index 0000000..bcb4225
--- /dev/null
+++ b/python3-hatch-nodejs-version.spec
@@ -0,0 +1,44 @@
+Summary:	Hatch plugin for versioning from a package.json file
+Name:		python3-hatch-nodejs-version
+Version:	0.3.2
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/hatch-nodejs-version/
+Source0:	https://files.pythonhosted.org/packages/source/h/hatch_nodejs_version/hatch_nodejs_version-%{version}.tar.gz
+# Source0-md5:	05f979219e2e46d3f6232f0872d9c21f
+URL:		https://github.com/agoose77/hatch-nodejs-version
+BuildRequires:	python3 >= 1:3.7
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+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
+Hatch plugin for versioning from a package.json file.
+
+%prep
+%setup -q -n hatch_nodejs_version-%{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.txt README.md
+%dir %{py3_sitescriptdir}/hatch_nodejs_version
+%{py3_sitescriptdir}/hatch_nodejs_version/*.py
+%{py3_sitescriptdir}/hatch_nodejs_version/__pycache__
+%{py3_sitescriptdir}/hatch_nodejs_version-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-hatch-nodejs-version.git/commitdiff/b41aeb363e7d50123bb19b053a01c500cd504ba1



More information about the pld-cvs-commit mailing list