|
Matthias Saou |
ca8de3 |
Summary: Automatic API documentation generation tool for Python
|
|
cvsextras |
d8c5a0 |
Name: epydoc
|
|
Athmane Madjoudj |
2ee2fc |
Version: 3.0.1.20090203svn
|
|
Fedora Release Engineering |
cf8b39 |
Release: 10%{?dist}
|
|
cvsextras |
d8c5a0 |
Group: Development/Tools
|
|
cvsextras |
d8c5a0 |
License: MIT
|
|
cvsextras |
d8c5a0 |
URL: http://epydoc.sourceforge.net/
|
|
Matthias Saou |
df01f7 |
Source0: http://dl.sf.net/epydoc/epydoc-%{version}.tar.gz
|
|
Matthias Saou |
df01f7 |
Source1: epydocgui.desktop
|
|
Matthias Saou |
019662 |
Patch0: epydoc-3.0.1-nohashbang.patch
|
|
Athmane Madjoudj |
2ee2fc |
Patch1: epydoc-3.0.1svn1812-png-default.patch
|
|
Lubomir Rintel |
9e49c4 |
Patch2: epydoc-3.0.1-new-docutils.patch
|
|
Athmane Madjoudj |
2ee2fc |
Patch3: epydoc-3.0.1svn1812-make-suppress-timestamp-the-default.patch
|
|
Athmane Madjoudj |
2ee2fc |
Patch4: epydoc-3.0.1svn1812-fix-relative-import.patch
|
|
Matthias Saou |
3a5edc |
# Needed for some outputs, like --pdf (#522249)
|
|
Athmane Madjoudj |
ed8fd7 |
Recommends: tex(dvips)
|
|
Athmane Madjoudj |
ed8fd7 |
Recommends: tex(latex)
|
|
Iryna Shcherbina |
a08afb |
BuildRequires: python2-devel
|
|
Karsten Hopp |
3060fb |
%if ! 0%{?_module_build}
|
|
Matthias Saou |
019662 |
BuildRequires: desktop-file-utils
|
|
Karsten Hopp |
3060fb |
%endif
|
|
Matthias Saou |
df01f7 |
BuildArch: noarch
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
%description
|
|
cvsextras |
d8c5a0 |
Epydoc is a tool for generating API documentation for Python modules,
|
|
cvsextras |
d8c5a0 |
based on their docstrings. For an example of epydoc's output, see the
|
|
cvsextras |
d8c5a0 |
API documentation for epydoc itself (html, pdf). A lightweight markup
|
|
cvsextras |
d8c5a0 |
language called epytext can be used to format docstrings, and to add
|
|
cvsextras |
d8c5a0 |
information about specific fields, such as parameters and instance
|
|
cvsextras |
d8c5a0 |
variables. Epydoc also understands docstrings written in
|
|
cvsextras |
d8c5a0 |
ReStructuredText, Javadoc, and plaintext.
|
|
cvsextras |
d8c5a0 |
|
|
Athmane Madjoudj |
2ee2fc |
%package doc
|
|
Athmane Madjoudj |
2ee2fc |
Summary: Documentation for epydoc
|
|
Athmane Madjoudj |
2ee2fc |
Requires: %{name} = %{version}-%{release}
|
|
Athmane Madjoudj |
2ee2fc |
%description doc
|
|
Athmane Madjoudj |
2ee2fc |
epydoc-doc package contains documentation.
|
|
cvsextras |
d8c5a0 |
|
|
Athmane Madjoudj |
ed8fd7 |
%package gui
|
|
Athmane Madjoudj |
ed8fd7 |
Summary: Graphical user interfacefor epydoc
|
|
Athmane Madjoudj |
ed8fd7 |
Requires: %{name} = %{version}-%{release}
|
|
Iryna Shcherbina |
a08afb |
Requires: python2-tkinter
|
|
Athmane Madjoudj |
ed8fd7 |
%description gui
|
|
Athmane Madjoudj |
ed8fd7 |
epydoc-gui package contains Graphical user interface for epydoc
|
|
Athmane Madjoudj |
ed8fd7 |
|
|
Athmane Madjoudj |
ed8fd7 |
|
|
Athmane Madjoudj |
ed8fd7 |
|
|
cvsextras |
d8c5a0 |
%prep
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
%setup -q
|
|
Athmane Madjoudj |
2ee2fc |
# Clean scm files
|
|
Athmane Madjoudj |
2ee2fc |
rm -rf epydoc/doc/.cvsignore
|
|
Athmane Madjoudj |
2ee2fc |
%patch0 -p1 -d epydoc/src/ -b .nohashbang
|
|
Athmane Madjoudj |
2ee2fc |
%patch1 -p1 -b .default-png
|
|
Athmane Madjoudj |
2ee2fc |
%patch2 -p1 -d epydoc/src/ -b .new-docutils
|
|
Athmane Madjoudj |
2ee2fc |
%patch3 -p1 -b .no-timestamp
|
|
Athmane Madjoudj |
2ee2fc |
%patch4 -p0 -d epydoc/src/ -b .fix-relative-import
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
%build
|
|
Athmane Madjoudj |
2ee2fc |
cd epydoc/src/
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
%py2_build
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
%install
|
|
Athmane Madjoudj |
2ee2fc |
cd epydoc/src/
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
%py2_install
|
|
Matthias Saou |
df01f7 |
|
|
Karsten Hopp |
3060fb |
%if ! 0%{?_module_build}
|
|
Matthias Saou |
df01f7 |
desktop-file-install \
|
|
Matthias Saou |
d027f5 |
--vendor="" \
|
|
Matthias Saou |
77524f |
--dir=%{buildroot}%{_datadir}/applications \
|
|
Matthias Saou |
d027f5 |
--mode=0644 \
|
|
Matthias Saou |
77524f |
%{SOURCE1}
|
|
Karsten Hopp |
3060fb |
%endif
|
|
cvsextras |
d8c5a0 |
|
|
Athmane Madjoudj |
2ee2fc |
# Prevent having *.pyc and *.pyo in _bindir
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
mv %{buildroot}%{_bindir}/apirst2html.py %{buildroot}%{_bindir}/apirst2html
|
|
Athmane Madjoudj |
2ee2fc |
|
|
cvsextras |
d8c5a0 |
# Also install the man pages
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
install -Dt %{buildroot}%{_mandir}/man1/ -p -m 0644 ../man/*.1
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
%files
|
|
Athmane Madjoudj |
ed8fd7 |
%doc epydoc/src/README.txt
|
|
Athmane Madjoudj |
ed8fd7 |
%license epydoc/src/LICENSE.txt
|
|
Matthias Saou |
019662 |
%{_bindir}/apirst2html
|
|
cvsextras |
d8c5a0 |
%{_bindir}/epydoc
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
%{python2_sitelib}/epydoc/
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
%{python2_sitelib}/epydoc-*.egg-info
|
|
Athmane Madjoudj |
ed8fd7 |
%{_mandir}/man1/epydoc.1*
|
|
cvsextras |
d8c5a0 |
|
|
Athmane Madjoudj |
2ee2fc |
%files doc
|
|
Athmane Madjoudj |
2ee2fc |
%doc epydoc/doc
|
|
Athmane Madjoudj |
2ee2fc |
|
|
Athmane Madjoudj |
ed8fd7 |
%files gui
|
|
Athmane Madjoudj |
ed8fd7 |
%{_bindir}/epydocgui
|
|
Karsten Hopp |
3060fb |
%if ! 0%{?_module_build}
|
|
Athmane Madjoudj |
ed8fd7 |
%{_datadir}/applications/epydocgui.desktop
|
|
Karsten Hopp |
3060fb |
%endif
|
|
Athmane Madjoudj |
ed8fd7 |
%{_mandir}/man1/epydocgui.1*
|
|
Athmane Madjoudj |
ed8fd7 |
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
%changelog
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
* Fri Jul 13 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.1.20090203svn-10
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
- Remove /usr/bin/python invocations and modernize a bit
|
|
Zbigniew Jędrzejewski-Szmek |
be8f61 |
|
|
Fedora Release Engineering |
cf8b39 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1.20090203svn-10
|
|
Fedora Release Engineering |
cf8b39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
Fedora Release Engineering |
cf8b39 |
|
|
Fedora Release Engineering |
42c0f2 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1.20090203svn-9
|
|
Fedora Release Engineering |
42c0f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
Fedora Release Engineering |
42c0f2 |
|
|
Iryna Shcherbina |
a08afb |
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.0.1.20090203svn-8
|
|
Iryna Shcherbina |
a08afb |
- Update Python 2 dependency declarations to new packaging standards
|
|
Iryna Shcherbina |
a08afb |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
Iryna Shcherbina |
a08afb |
|
|
Fedora Release Engineering |
e8693e |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1.20090203svn-7
|
|
Fedora Release Engineering |
e8693e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
Fedora Release Engineering |
e8693e |
|
|
Karsten Hopp |
3060fb |
* Tue Apr 25 2017 Karsten Hopp <karsten@redhat.com> - 3.0.1.20090203svn-6
|
|
Karsten Hopp |
3060fb |
- use new _module_build macro to limit dependencies for Modularity
|
|
Karsten Hopp |
3060fb |
|
|
Fedora Release Engineering |
1ebab1 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1.20090203svn-5
|
|
Fedora Release Engineering |
1ebab1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
Fedora Release Engineering |
1ebab1 |
|
|
Fedora Release Engineering |
df4b06 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1.20090203svn-4
|
|
Fedora Release Engineering |
df4b06 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
Fedora Release Engineering |
df4b06 |
|
|
Athmane Madjoudj |
ed8fd7 |
* Fri Feb 26 2016 Athmane Madjoudj <athmane@fedoraproject.org> 3.0.1.20090203svn-3
|
|
Athmane Madjoudj |
ed8fd7 |
- Use Recommends for tex dependencies
|
|
Athmane Madjoudj |
ed8fd7 |
- Minor spec fixes
|
|
Athmane Madjoudj |
ed8fd7 |
- Split gui sub-pkg
|
|
Athmane Madjoudj |
ed8fd7 |
|
|
Dennis Gilmore |
63547b |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1.20090203svn-2
|
|
Dennis Gilmore |
63547b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
Dennis Gilmore |
63547b |
|
|
Athmane Madjoudj |
2ee2fc |
* Fri Oct 02 2015 Athmane Madjoudj <athmane@fedoraproject.org> 3.0.1.20090203svn-1
|
|
Athmane Madjoudj |
2ee2fc |
- Update to trunk
|
|
Athmane Madjoudj |
2ee2fc |
- Add patch to remove timestamp for reproducible builds (RHBZ #1122654)
|
|
Athmane Madjoudj |
2ee2fc |
- Rebase default img format patch
|
|
Athmane Madjoudj |
2ee2fc |
- Fix bugus date/time in the changelog
|
|
Athmane Madjoudj |
2ee2fc |
- Add patch to fix relative import parsing (RHBZ #1166283)
|
|
Athmane Madjoudj |
2ee2fc |
|
|
Dennis Gilmore |
863258 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-16
|
|
Dennis Gilmore |
863258 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
Dennis Gilmore |
863258 |
|
|
Dennis Gilmore |
38fa30 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-15
|
|
Dennis Gilmore |
38fa30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
Dennis Gilmore |
38fa30 |
|
|
Dennis Gilmore |
094ebd |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-14
|
|
Dennis Gilmore |
094ebd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
094ebd |
|
|
Dennis Gilmore |
e68e77 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-13
|
|
Dennis Gilmore |
e68e77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
e68e77 |
|
|
Rex Dieter |
16b0b3 |
* Sun Jul 22 2012 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-12
|
|
Rex Dieter |
16b0b3 |
- Requires: tex(dvips) tex(latex)
|
|
Rex Dieter |
16b0b3 |
|
|
Dennis Gilmore |
37d7cb |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-11
|
|
Dennis Gilmore |
37d7cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
37d7cb |
|
|
Dennis Gilmore |
0b9a23 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-10
|
|
Dennis Gilmore |
0b9a23 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
0b9a23 |
|
|
Dennis Gilmore |
19f8d5 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-9
|
|
Dennis Gilmore |
19f8d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
19f8d5 |
|
|
dmalcolm |
4a3b9a |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.0.1-8
|
|
dmalcolm |
4a3b9a |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
dmalcolm |
4a3b9a |
|
|
Lubomir Rintel |
9e49c4 |
* Tue Apr 13 2010 Lubomir Rintel <lkundrak@v3.sk> 3.0.1-7
|
|
Lubomir Rintel |
9e49c4 |
- Fix crash with newer docutils (#578920)
|
|
Lubomir Rintel |
9e49c4 |
|
|
Matthias Saou |
3a5edc |
* Tue Dec 8 2009 Matthias Saou <http://freshrpms.net/> 3.0.1-6
|
|
Matthias Saou |
3a5edc |
- Add texlive-dvips and texlive-latex requirements (#522249).
|
|
Matthias Saou |
3a5edc |
|
|
Jesse Keating |
9dfc42 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-5
|
|
Jesse Keating |
9dfc42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
9dfc42 |
|
|
Jesse Keating |
e80d26 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-4
|
|
Jesse Keating |
e80d26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
e80d26 |
|
|
Matthias Saou |
a7e451 |
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 3.0.1-3
|
|
Matthias Saou |
a7e451 |
- Include patch to use png instead of gif for generated images (#459857).
|
|
Matthias Saou |
a7e451 |
|
|
Ignacio Vazquez-Abrams |
fa199f |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.0.1-2
|
|
Ignacio Vazquez-Abrams |
fa199f |
- Rebuild for Python 2.6
|
|
Ignacio Vazquez-Abrams |
fa199f |
|
|
Matthias Saou |
019662 |
* Sat Mar 22 2008 Matthias Saou <http://freshrpms.net/> 3.0.1-1
|
|
Matthias Saou |
019662 |
- Update to 3.0.1.
|
|
Matthias Saou |
019662 |
- Update nohashbang patch.
|
|
Matthias Saou |
019662 |
- Include new apirst2html script, but remove .py extension to avoid .pyc/pyo.
|
|
Matthias Saou |
362c0f |
- Include egg-info file.
|
|
Matthias Saou |
019662 |
|
|
Matthias Saou |
d027f5 |
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 2.1-8
|
|
Matthias Saou |
d027f5 |
- Remove desktop file prefix and X-Fedora category.
|
|
Matthias Saou |
d027f5 |
- Include patch to remove #! python from files only meant to be included.
|
|
Matthias Saou |
d027f5 |
|
|
Matthias Saou |
a9d061 |
* Mon Dec 11 2006 Matthias Saou <http://freshrpms.net/> 2.1-7
|
|
Matthias Saou |
a9d061 |
- Rebuild against python 2.5.
|
|
Matthias Saou |
392b7b |
- Remove no longer needed explicit python-abi requirement.
|
|
Matthias Saou |
392b7b |
- Change python build requirement to python-devel, as it's needed now.
|
|
Matthias Saou |
a9d061 |
|
|
Matthias Saou |
77524f |
* Wed Sep 6 2006 Matthias Saou <http://freshrpms.net/> 2.1-6
|
|
Matthias Saou |
77524f |
- No longer ghost the .pyo files, as per new python guidelines (#205374).
|
|
Matthias Saou |
77524f |
|
|
Matthias Saou |
ca8de3 |
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 2.1-5
|
|
Matthias Saou |
ca8de3 |
- FC6 rebuild.
|
|
Matthias Saou |
ca8de3 |
- Add %%{?dist} tag.
|
|
Matthias Saou |
ca8de3 |
- Update summary line.
|
|
Matthias Saou |
ca8de3 |
|
|
Athmane Madjoudj |
2ee2fc |
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
Michael Schwendt |
a31bbd |
- rebuilt
|
|
Michael Schwendt |
a31bbd |
|
|
Matthias Saou |
df01f7 |
* Mon Dec 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 2.1-3
|
|
Matthias Saou |
df01f7 |
- Change to noarch.
|
|
Matthias Saou |
df01f7 |
- Get Python site-packages dir from distutils, should fix x86_64 build.
|
|
Matthias Saou |
df01f7 |
- Require python-abi and tkinter.
|
|
Matthias Saou |
df01f7 |
- %%ghost'ify *.pyo.
|
|
Matthias Saou |
df01f7 |
- Fix man page permissions.
|
|
Matthias Saou |
df01f7 |
- Add menu entry for epydocgui.
|
|
Matthias Saou |
df01f7 |
|
|
Matthias Saou |
e952be |
* Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 2.1-2
|
|
Matthias Saou |
e952be |
- Bump release to provide Extras upgrade path.
|
|
Matthias Saou |
e952be |
|
|
cvsextras |
d8c5a0 |
* Thu Oct 21 2004 Matthias Saou <http://freshrpms.net/> 2.1-1
|
|
cvsextras |
d8c5a0 |
- Picked up and rebuilt.
|
|
cvsextras |
d8c5a0 |
- Added doc and man pages.
|
|
cvsextras |
d8c5a0 |
|
|
cvsextras |
d8c5a0 |
* Fri May 07 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
cvsextras |
d8c5a0 |
- 2.1-0.fdr.1: Initial package
|