From 0196623c2b16b63cf5123ef3c36ae23ecda8526d Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Mar 22 2008 21:03:25 +0000 Subject: Update to 3.0.1. --- diff --git a/.cvsignore b/.cvsignore index 7b73490..1e71fd2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -epydoc-2.1.tar.gz +epydoc-3.0.1.tar.gz diff --git a/epydoc-2.1-nohashbang.patch b/epydoc-2.1-nohashbang.patch deleted file mode 100644 index 094db95..0000000 --- a/epydoc-2.1-nohashbang.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -Naupr epydoc-2.1.orig/epydoc/cli.py epydoc-2.1/epydoc/cli.py ---- epydoc-2.1.orig/epydoc/cli.py 2004-02-09 21:56:07.000000000 +0100 -+++ epydoc-2.1/epydoc/cli.py 2007-06-19 14:04:32.000000000 +0200 -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - # - # objdoc: epydoc command-line interface - # Edward Loper -diff -Naupr epydoc-2.1.orig/epydoc/gui.py epydoc-2.1/epydoc/gui.py ---- epydoc-2.1.orig/epydoc/gui.py 2004-03-19 20:01:37.000000000 +0100 -+++ epydoc-2.1/epydoc/gui.py 2007-06-19 14:06:22.000000000 +0200 -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - # - # objdoc: epydoc command-line interface - # Edward Loper -diff -Naupr epydoc-2.1.orig/epydoc/imports.py epydoc-2.1/epydoc/imports.py ---- epydoc-2.1.orig/epydoc/imports.py 2003-09-08 01:54:51.000000000 +0200 -+++ epydoc-2.1/epydoc/imports.py 2007-06-19 14:04:23.000000000 +0200 -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - # - # import: module import support for epydoc - # Edward Loper -diff -Naupr epydoc-2.1.orig/epydoc/latex.py epydoc-2.1/epydoc/latex.py ---- epydoc-2.1.orig/epydoc/latex.py 2004-03-09 06:07:02.000000000 +0100 -+++ epydoc-2.1/epydoc/latex.py 2007-06-19 14:04:38.000000000 +0200 -@@ -1,4 +1,3 @@ --#!/usr/bin/python2.2 - # - # epydoc.py: latex output - # Edward Loper -diff -Naupr epydoc-2.1.orig/epydoc/man.py epydoc-2.1/epydoc/man.py ---- epydoc-2.1.orig/epydoc/man.py 2003-07-18 17:46:19.000000000 +0200 -+++ epydoc-2.1/epydoc/man.py 2007-06-19 14:04:28.000000000 +0200 -@@ -1,4 +1,3 @@ --#!/usr/bin/python2.2 - # - # epydoc.py: manpage-style text output - # Edward Loper diff --git a/epydoc-3.0.1-nohashbang.patch b/epydoc-3.0.1-nohashbang.patch new file mode 100644 index 0000000..a586d58 --- /dev/null +++ b/epydoc-3.0.1-nohashbang.patch @@ -0,0 +1,8 @@ +diff -Naupr epydoc-3.0.1.orig/epydoc/gui.py epydoc-3.0.1/epydoc/gui.py +--- epydoc-3.0.1.orig/epydoc/gui.py 2008-01-30 14:06:15.000000000 +0100 ++++ epydoc-3.0.1/epydoc/gui.py 2008-03-22 22:00:49.000000000 +0100 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # + # objdoc: epydoc command-line interface + # Edward Loper diff --git a/epydoc.spec b/epydoc.spec index 85a685a..89fd543 100644 --- a/epydoc.spec +++ b/epydoc.spec @@ -2,17 +2,18 @@ Summary: Automatic API documentation generation tool for Python Name: epydoc -Version: 2.1 -Release: 8%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Group: Development/Tools License: MIT URL: http://epydoc.sourceforge.net/ Source0: http://dl.sf.net/epydoc/epydoc-%{version}.tar.gz Source1: epydocgui.desktop -Patch0: epydoc-2.1-nohashbang.patch +Patch0: epydoc-3.0.1-nohashbang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: tkinter -BuildRequires: python-devel, desktop-file-utils +BuildRequires: python-devel +BuildRequires: desktop-file-utils BuildArch: noarch %description @@ -48,6 +49,9 @@ desktop-file-install \ %{__mkdir_p} %{buildroot}%{_mandir}/man1 %{__install} -p -m 0644 man/*.1 %{buildroot}%{_mandir}/man1/ +# Prevent having *.pyc and *.pyo in _bindir +%{__mv} %{buildroot}%{_bindir}/apirst2html.py %{buildroot}%{_bindir}/apirst2html + %clean %{__rm} -rf %{buildroot} @@ -55,7 +59,8 @@ desktop-file-install \ %files %defattr(-,root,root,-) -%doc LICENSE.TXT README.TXT doc/ +%doc LICENSE.txt README.txt doc/ +%{_bindir}/apirst2html %{_bindir}/epydoc %{_bindir}/epydocgui %{python_sitelib}/epydoc/ @@ -64,6 +69,11 @@ desktop-file-install \ %changelog +* Sat Mar 22 2008 Matthias Saou 3.0.1-1 +- Update to 3.0.1. +- Update nohashbang patch. +- Include new apirst2html script, but remove .py extension to avoid .pyc/pyo. + * Tue Jun 19 2007 Matthias Saou 2.1-8 - Remove desktop file prefix and X-Fedora category. - Include patch to remove #! python from files only meant to be included. diff --git a/sources b/sources index c6fd75a..7538904 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -94c494426c47496ee4d1ed26b580a5a7 epydoc-2.1.tar.gz +cdd6f6c76dd8bab5e653a343a0544294 epydoc-3.0.1.tar.gz