diff --git a/pydoctor-23.4.1.tar.gz b/pydoctor-23.4.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b5bcac6c89b25eec004d8e958cc032e33e4d82cf Binary files /dev/null and b/pydoctor-23.4.1.tar.gz differ diff --git a/python-pydoctor.spec b/python-pydoctor.spec new file mode 100644 index 0000000000000000000000000000000000000000..ec99bf539e87afeaf70b1bf7208982573f2aa3e8 --- /dev/null +++ b/python-pydoctor.spec @@ -0,0 +1,48 @@ +%global srcname pydoctor + +Name: python-%{srcname} +Version: 23.4.1 +Release: 1 +Summary: This is an API documentation generator that works by static analysis + +License: MIT +URL: https://github.com/twisted/pydoctor +Source0: %{pypi_source pydoctor} + +BuildArch: noarch +Requires: python3-astor +Requires: python3-cachecontrol +Requires: python3-configargparse +Requires: python3-twisted + +%global _description %{expand: +pydoctor puts a fair bit of effort into resolving imports and computing inheritance hierarchies and, as it aims at documenting Twisted, knows about zope.interface’s declaration API and can present information about which classes implement which interface, and vice versa.} + +%description %_description + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel + +%description -n python%{python3_pkgversion}-%{srcname} %_description + +%prep +%autosetup -p1 -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python%{python3_pkgversion}-%{srcname} +%doc README.rst +%{_bindir}/pydoctor +%{python3_sitelib}/pydoctor-*.egg-info/ +%{python3_sitelib}/pydoctor/ + + +%changelog +* Sun Jun 25 2023 limiaomiao_zhr - 23.4.1-1 +- Package init