summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-24 10:48:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-24 10:48:55 +0000
commitad0a18a89700781a7d1634d0c63e4859f9497460 (patch)
tree2669bca1efafa4812436b4ace881e554de63fc34
parentea2d63c456c7cbc6291beeeef2195c847e3ed495 (diff)
automatic import of epydocopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--epydoc.spec61
-rw-r--r--sources1
3 files changed, 63 insertions, 0 deletions
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 <wangzhishun1@huawei.com> - 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