From 757b170bfb8f3e6b25f692ebd8d9298f13d683f8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:06:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.8.8.6-1mamba;Tue Mar 16 2021] --- README.md | 2 ++ python-doxypypy.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 python-doxypypy.spec diff --git a/README.md b/README.md index 7100abf..4698974 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-doxypypy +A more Pythonic version of doxypy, a Doxygen filter for Python. + diff --git a/python-doxypypy.spec b/python-doxypypy.spec new file mode 100644 index 0000000..524787f --- /dev/null +++ b/python-doxypypy.spec @@ -0,0 +1,50 @@ +Name: python-doxypypy +Version: 0.8.8.6 +Release: 1mamba +Summary: A more Pythonic version of doxypy, a Doxygen filter for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/Feneric/doxypypy +Source: https://pypi.debian.net/doxypypy/doxypypy-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python-setuptools-py3 +## 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 + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%dir %{python3_sitearch}/doxypypy-%{version}-py*.egg-info +%{python3_sitearch}/doxypypy-%{version}-py*.egg-info/* + +%changelog +* Tue Mar 16 2021 Silvan Calarco 0.8.8.6-1mamba +- package created using the webbuild interface