From ad0a18a89700781a7d1634d0c63e4859f9497460 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 24 Mar 2023 10:48:55 +0000 Subject: automatic import of epydoc --- .gitignore | 1 + epydoc.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 epydoc.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c7e1930 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/epydoc-3.0.1.tar.gz diff --git a/epydoc.spec b/epydoc.spec new file mode 100644 index 0000000..22faa9b --- /dev/null +++ b/epydoc.spec @@ -0,0 +1,61 @@ +Name: epydoc +Version: 3.0.1 +Release: 11 +Summary: API Documentation Generation Tool +License: MIT +URL: http://epydoc.sourceforge.net/ +Source0: https://sourceforge.net/projects/epydoc/files/epydoc/${version}/epydoc-%{version}.tar.gz + +Recommends: tex(dvips) tex(latex) +BuildRequires: python2-devel desktop-file-utils +BuildArch: noarch + +%description +Epydoc is a tool for generating API documentation for Python modules, based on +their docstrings. For an example of epydoc's output, see the API documentation +for epydoc itself (html, pdf). A lightweight markup language called epytext can be used +to format docstrings, and to add information about specific fields, such as parameters +and instance variables. Epydoc also understands docstrings written in ReStructuredText, +Javadoc, and plaintext. + +%package help +Summary: Help document files for %{name} +Provides: %{name}-doc = %{version}-%{release} +Obsoletes: %{name}-doc < %{version}-%{release} + +%description help +Help document files for %{name}. + +%package gui +Summary: Graphical user interface for epydoc modules +Requires: %{name} = %{version}-%{release} python2-tkinter + +%description gui +This package provides Graphical user interface for epydoc. + +%prep +%setup -q + +%build +%py2_build + +%install +%py2_install + +mv %{buildroot}%{_bindir}/apirst2html.py %{buildroot}%{_bindir}/apirst2html + +%files +%doc README.txt LICENSE.txt +%{_bindir}/{apirst2html,epydoc} +%{python2_sitelib}/epydoc/ +%{python2_sitelib}/epydoc-*.egg-info + +%files gui +%{_bindir}/epydocgui + +%files help +%doc epydoc/* + +%changelog +* Tue Dec 31 2019 wangzhishun - 3.0.1-11 +- Package init diff --git a/sources b/sources new file mode 100644 index 0000000..7538904 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +cdd6f6c76dd8bab5e653a343a0544294 epydoc-3.0.1.tar.gz -- cgit v1.2.3