package created using the webbuild interface [release 22.8.0-1mamba;Wed Dec 07 2022]
This commit is contained in:
parent
da68c0682c
commit
b22250988c
@ -1,2 +1,4 @@
|
|||||||
# python-hatch_fancy_pypi_readme
|
# python-hatch_fancy_pypi_readme
|
||||||
|
|
||||||
|
Fancy PyPI READMEs with Hatch.
|
||||||
|
|
||||||
|
54
python-hatch_fancy_pypi_readme.spec
Normal file
54
python-hatch_fancy_pypi_readme.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
|
Name: python-hatch_fancy_pypi_readme
|
||||||
|
Version: 22.8.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Fancy PyPI READMEs with Hatch
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/hynek/hatch-fancy-pypi-readme
|
||||||
|
Source: https://pypi.debian.net/hatch-fancy-pypi-readme/hatch_fancy_pypi_readme-%{version}.tar.gz
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(hatchling)
|
||||||
|
BuildRequires: python3.7dist(tomli)
|
||||||
|
BuildRequires: python3.7dist(typing-extensions)
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n hatch_fancy_pypi_readme-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||||
|
|
||||||
|
%if "%{?with_pyver}" != "3"
|
||||||
|
# Rename any conflicting file outside of python site packages tree
|
||||||
|
for f in %{_bindir}/hatch-fancy-pypi-readme; do
|
||||||
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{?pyappend}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/hatch-fancy-pypi-readme*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.8.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user