From 4570c911e73cd7bd60d3f482f220ddaabde7463e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:07:14 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.3-1mamba;Sat Oct 08 2022] --- README.md | 2 ++ python-editables.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 python-editables.spec diff --git a/README.md b/README.md index a9e9551..b37af0c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-editables +A Python library for creating "editable wheels". + diff --git a/python-editables.spec b/python-editables.spec new file mode 100644 index 0000000..2dcc029 --- /dev/null +++ b/python-editables.spec @@ -0,0 +1,43 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) +Name: python-editables +Version: 0.3 +Release: 1mamba +Summary: A Python library for creating "editable wheels" +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/pfmoore/editables +Source: https://pypi.debian.net/editables/editables-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +## AUTOBUILDREQ-END + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n editables-%{version} + +%build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} -m installer --destdir=%{buildroot} dist/*.whl + +%files %{?pyappend} +%defattr(-,root,root) +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* + +%changelog +* Sat Oct 08 2022 Silvan Calarco 0.3-1mamba +- package created using the webbuild interface