[packages/python3-dom_toml] Initial
arekm
arekm at pld-linux.org
Fri Feb 7 22:01:53 CET 2025
commit 3ab847200ef8f1919c6d5de10935b9eed8cd0251
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Feb 7 21:56:02 2025 +0100
Initial
python3-dom_toml.spec | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
---
diff --git a/python3-dom_toml.spec b/python3-dom_toml.spec
new file mode 100644
index 0000000..b139150
--- /dev/null
+++ b/python3-dom_toml.spec
@@ -0,0 +1,41 @@
+%define module dom_toml
+Summary: Dom’s tools for Tom’s Obvious, Minimal Language
+Name: python3-%{module}
+Version: 2.0.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+Source0: https://pypi.debian.net/dom-toml/dom_toml-%{version}.tar.gz
+# Source0-md5: c344abe4af64faf71e651843cf9a6219
+URL: https://pypi.org/project/dom-toml/
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.2
+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
+Dom's tools for Tom's Obvious, Minimal Language.
+
+%prep
+%setup -q -n dom_toml-%{version}
+
+%build
+%{__python3} -m build --wheel --no-isolation --outdir build-3
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python3} -m installer --destdir=$RPM_BUILD_ROOT build-3/*.whl
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{module}-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-dom_toml.git/commitdiff/3ab847200ef8f1919c6d5de10935b9eed8cd0251
More information about the pld-cvs-commit
mailing list