python-doxypypy/python-doxypypy.spec

57 lines
1.7 KiB
RPMSpec

Name: python-doxypypy
Version: 0.8.8.7
Release: 1mamba
Summary: A more Pythonic version of doxypy, a Doxygen filter for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Feneric/doxypypy
Source: https://pypi.debian.net/doxypypy/doxypypy-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(chardet)
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n doxypypy-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\\,\\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "/sample_utf.*cpython.*.pyc/d" %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/doxypypy-%{version}-py*.egg-info
%{python_sitearch}/doxypypy-%{version}-py*.egg-info/*
%{python_sitearch}/doxypypy/test/__pycache__/sample_utf*cpython*.pyc
%changelog
* Wed Feb 08 2023 Automatic Build System <autodist@mambasoft.it> 0.8.8.7-1mamba
- automatic version update by autodist
* Tue Mar 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8.6-1mamba
- package created using the webbuild interface