update to py-docutils-0.5; ok maintainer Ben Lovett

feedback and ok eric@, fgs@
This commit is contained in:
martynas 2009-03-25 00:56:54 +00:00
parent 6a83e7bb1a
commit 2c8f860470
4 changed files with 40 additions and 31 deletions

View File

@ -1,32 +1,32 @@
# $OpenBSD: Makefile,v 1.7 2009/03/11 21:24:47 bernd Exp $
# $OpenBSD: Makefile,v 1.8 2009/03/25 00:56:54 martynas Exp $
COMMENT= process plaintext documentation into other formats
COMMENT = process plaintext documentation into other formats
DISTNAME= docutils-0.4
PKGNAME= py-${DISTNAME}p3
CATEGORIES= textproc
MODPY_EGG_VERSION = 0.5
DISTNAME = docutils-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = textproc
MAINTAINER= Ben Lovett <ben@tilderoot.com>
MAINTAINER = Ben Lovett <ben@tilderoot.com>
HOMEPAGE= http://docutils.sourceforge.net/
HOMEPAGE = http://docutils.sourceforge.net/
# BSD/GPL/Python Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/}
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=docutils/}
MODULES= lang/python
MODULES = lang/python
pre-build:
.for file in html s5 latex newlatex xml pseudoxml
@mv ${WRKSRC}/tools/rst2${file}{.py,}
.for file in 2html 2s5 2latex 2newlatex 2xml 2pseudoxml pep2html
@mv ${WRKSRC}/tools/rst${file}{.py,}
.endfor
do-regress: fake
@cd ${WRKSRC}/test && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./alltests.py
@cd ${WRKSRC}/test && ${MODPY_BIN} ./alltests.py
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (docutils-0.4.tar.gz) = D+e0K7PCqjaA/jD5pfv3Eg==
RMD160 (docutils-0.4.tar.gz) = 9qPFv7ee0IzigryvPe0FvS4/lbU=
SHA1 (docutils-0.4.tar.gz) = JUmHE+N1f1BQdjMD/JAdwSA1f7U=
SHA256 (docutils-0.4.tar.gz) = uB8p5POVQNBsfYwNwaLCCYFsR84zpmrFDuKK440kLA4=
SIZE (docutils-0.4.tar.gz) = 1237801
MD5 (docutils-0.5.tar.gz) = 3XLayS/I4+sPSMPv/u+A9g==
RMD160 (docutils-0.5.tar.gz) = Po39KSNSi76sDKM8z+b1dsdPGIY=
SHA1 (docutils-0.5.tar.gz) = cMot2Ulp3fdiF+X+kHsLI/FswZk=
SHA256 (docutils-0.5.tar.gz) = dHz5hO38oFda3btCRTJ0ob3Zjsd4C9N6iD3IsqZqYQ4=
SIZE (docutils-0.5.tar.gz) = 1271981

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-setup_py,v 1.2 2006/03/12 10:04:56 steven Exp $
--- setup.py.orig Mon Jan 9 10:28:09 2006
+++ setup.py Fri Mar 10 15:50:13 2006
@@ -76,12 +76,12 @@ what-you-see-is-what-you-get plaintext m
$OpenBSD: patch-setup_py,v 1.3 2009/03/25 00:56:54 martynas Exp $
--- setup.py.orig Thu Mar 22 01:00:23 2007
+++ setup.py Sun Mar 22 13:59:06 2009
@@ -108,13 +108,13 @@ what-you-see-is-what-you-get plaintext markup syntax."
('docutils/writers/s5_html/themes',
['docutils/writers/s5_html/themes/README.txt']),]
+ s5_theme_files),
@ -10,17 +10,19 @@ $OpenBSD: patch-setup_py,v 1.2 2006/03/12 10:04:56 steven Exp $
- 'tools/rst2latex.py',
- 'tools/rst2newlatex.py',
- 'tools/rst2xml.py',
- 'tools/rst2pseudoxml.py'],}
- 'tools/rst2pseudoxml.py',
- 'tools/rstpep2html.py',
+ 'scripts' : ['tools/rst2html',
+ 'tools/rst2s5',
+ 'tools/rst2latex',
+ 'tools/rst2newlatex',
+ 'tools/rst2xml',
+ 'tools/rst2pseudoxml'],}
+ 'tools/rst2pseudoxml',
+ 'tools/rstpep2html',
],}
"""Distutils setup parameters."""
classifiers = [
@@ -123,6 +123,8 @@ List of (module name, minimum __version_
@@ -157,6 +157,8 @@ List of (module name, minimum __version__ string, [att
def get_extras():
extras = []
for module_name, version, attributes in extra_modules:

View File

@ -1,11 +1,13 @@
@comment $OpenBSD: PLIST,v 1.2 2006/03/12 10:04:56 steven Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/03/25 00:56:54 martynas Exp $
bin/rst2html
bin/rst2latex
bin/rst2newlatex
bin/rst2pseudoxml
bin/rst2s5
bin/rst2xml
bin/rstpep2html
lib/python${MODPY_VERSION}/site-packages/docutils/
lib/python${MODPY_VERSION}/site-packages/docutils-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/docutils/__init__.py
lib/python${MODPY_VERSION}/site-packages/docutils/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/core.py
@ -37,6 +39,8 @@ lib/python${MODPY_VERSION}/site-packages/docutils/languages/fi.py
lib/python${MODPY_VERSION}/site-packages/docutils/languages/fi.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/languages/fr.py
lib/python${MODPY_VERSION}/site-packages/docutils/languages/fr.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/languages/he.py
lib/python${MODPY_VERSION}/site-packages/docutils/languages/he.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/languages/it.py
lib/python${MODPY_VERSION}/site-packages/docutils/languages/it.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/languages/ja.py
@ -140,6 +144,8 @@ lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/fi.py
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/fi.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/fr.py
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/fr.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/he.py
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/he.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/it.py
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/it.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/parsers/rst/languages/ja.py
@ -214,6 +220,7 @@ lib/python${MODPY_VERSION}/site-packages/docutils/writers/html4css1/
lib/python${MODPY_VERSION}/site-packages/docutils/writers/html4css1/__init__.py
lib/python${MODPY_VERSION}/site-packages/docutils/writers/html4css1/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/docutils/writers/html4css1/html4css1.css
lib/python${MODPY_VERSION}/site-packages/docutils/writers/html4css1/template.txt
lib/python${MODPY_VERSION}/site-packages/docutils/writers/latex2e/
lib/python${MODPY_VERSION}/site-packages/docutils/writers/latex2e/__init__.py
lib/python${MODPY_VERSION}/site-packages/docutils/writers/latex2e/__init__.pyc