- license is MIT;

- MASTER_SITES holds .tar.gz, use it instead of .zip;
- install examples and documentation;
- alek@ drops maintainership;
This commit is contained in:
martynas 2007-05-22 15:40:19 +00:00
parent 2092b8dbc3
commit f703373107
7 changed files with 53 additions and 34 deletions

View File

@ -1,30 +1,30 @@
# $OpenBSD: Makefile,v 1.3 2006/06/03 09:49:24 alek Exp $
# $OpenBSD: Makefile,v 1.4 2007/05/22 15:40:19 martynas Exp $
COMMENT= "pure-Python implementation of the ElementTree API"
DISTNAME= elementtree-1.2.6-20050316
PKGNAME= py-ElementTree-1.2.6p0
CATEGORIES= textproc devel
PKGNAME= py-ElementTree-1.2.6p1
CATEGORIES= textproc devel lang/python
HOMEPAGE= http://effbot.org/zone/element-index.htm
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
# BSD
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://effbot.org/downloads/
EXTRACT_SUFX= .zip
MODULES= lang/python
RUN_DEPENDS= ${MODPY_EXPAT_DEPENDS}
REGRESS_DEPENDS=${RUN_DEPENDS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-ElementTree
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-ElementTree/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-ElementTree
${INSTALL_DATA} ${WRKSRC}/samples/* ${PREFIX}/share/examples/py-ElementTree/
do-regress: fake
@cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./selftest.py

View File

@ -1,5 +1,5 @@
MD5 (elementtree-1.2.6-20050316.zip) = Z1GpAF770sVD7zKQXUoKzQ==
RMD160 (elementtree-1.2.6-20050316.zip) = gTqvB6D837I9KbZIqOCC4WdFOfU=
SHA1 (elementtree-1.2.6-20050316.zip) = T+iSB1RrMkGQ3FuvKAUKG4HkorY=
SHA256 (elementtree-1.2.6-20050316.zip) = td0sTiNPMlq8HH+xeBXLbLz+8GLwEGXdsFpta5ZFLxg=
SIZE (elementtree-1.2.6-20050316.zip) = 60939
MD5 (elementtree-1.2.6-20050316.tar.gz) = 4bIXFr6L//i/GS/DiArQCA==
RMD160 (elementtree-1.2.6-20050316.tar.gz) = iHyxxKO2KHS3aEGuUQnQFT1hpUg=
SHA1 (elementtree-1.2.6-20050316.tar.gz) = fR9vtTTxd2I6BILvGSphcP0h+xw=
SHA256 (elementtree-1.2.6-20050316.tar.gz) = sp1fJBfLMxViyMX46+8qiVulQCYcQkX1JhQ8ajG8ywQ=
SIZE (elementtree-1.2.6-20050316.tar.gz) = 41752

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/22 02:33:43 alek Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/05/22 15:40:19 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/elementtree/
lib/python${MODPY_VERSION}/site-packages/elementtree/ElementInclude.py
lib/python${MODPY_VERSION}/site-packages/elementtree/ElementInclude.pyc
@ -22,3 +22,18 @@ lib/python${MODPY_VERSION}/site-packages/elementtree/XMLTreeBuilder.py
lib/python${MODPY_VERSION}/site-packages/elementtree/XMLTreeBuilder.pyc
lib/python${MODPY_VERSION}/site-packages/elementtree/__init__.py
lib/python${MODPY_VERSION}/site-packages/elementtree/__init__.pyc
share/doc/py-ElementTree/
share/doc/py-ElementTree/effbot.css
share/doc/py-ElementTree/index.html
share/doc/py-ElementTree/pythondoc-elementtree.ElementInclude.html
share/doc/py-ElementTree/pythondoc-elementtree.ElementPath.html
share/doc/py-ElementTree/pythondoc-elementtree.ElementTree.html
share/doc/py-ElementTree/pythondoc-elementtree.HTMLTreeBuilder.html
share/doc/py-ElementTree/pythondoc-elementtree.SgmlopXMLTreeBuilder.html
share/doc/py-ElementTree/pythondoc-elementtree.SimpleXMLTreeBuilder.html
share/doc/py-ElementTree/pythondoc-elementtree.SimpleXMLWriter.html
share/doc/py-ElementTree/pythondoc-elementtree.TidyTools.html
share/doc/py-ElementTree/pythondoc-elementtree.XMLTreeBuilder.html
share/examples/py-ElementTree/
share/examples/py-ElementTree/simple-ns.xml
share/examples/py-ElementTree/simple.xml

View File

@ -1,32 +1,33 @@
# $OpenBSD: Makefile,v 1.6 2006/06/03 09:49:24 alek Exp $
# $OpenBSD: Makefile,v 1.7 2007/05/22 15:42:37 martynas Exp $
SHARED_ONLY= Yes
COMMENT= "C implementation of the ElementTree API"
DISTNAME= cElementTree-1.0.5-20051216
PKGNAME= py-cElementTree-1.0.5p0
CATEGORIES= textproc devel
PKGNAME= py-cElementTree-1.0.5p1
CATEGORIES= textproc devel lang/python
HOMEPAGE= http://effbot.org/zone/celementtree.htm
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
# BSD
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://effbot.org/downloads/
EXTRACT_SUFX= .zip
MODULES= lang/python
RUN_DEPENDS= ::textproc/py-ElementTree
REGRESS_DEPENDS=${RUN_DEPENDS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-cElementTree
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-cElementTree/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-cElementTree
${INSTALL_DATA} ${WRKSRC}/samples/* ${PREFIX}/share/examples/py-cElementTree/
do-regress: fake
@cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./selftest.py

View File

@ -1,5 +1,5 @@
MD5 (cElementTree-1.0.5-20051216.zip) = 1IQVXq09jFfXqBJgkr4igQ==
RMD160 (cElementTree-1.0.5-20051216.zip) = 9ahWHIXyyRmF+4cLmNy6ski612c=
SHA1 (cElementTree-1.0.5-20051216.zip) = s2yV/ZDVN0ZCTBDbRbECuPqyYLg=
SHA256 (cElementTree-1.0.5-20051216.zip) = JXMQEYQrSmC76kDlrESs2l7ytkjfvG86qp04MB3CPjI=
SIZE (cElementTree-1.0.5-20051216.zip) = 102845
MD5 (cElementTree-1.0.5-20051216.tar.gz) = toludC459ZQEawfljx0l/g==
RMD160 (cElementTree-1.0.5-20051216.tar.gz) = 4HnRBQe9SBmyzkdxtTZxwtmsJBg=
SHA1 (cElementTree-1.0.5-20051216.tar.gz) = CPQgbSCZBd3z83y3L5/AIXkdf5k=
SHA256 (cElementTree-1.0.5-20051216.tar.gz) = suUoyZg3EksyWYveehnaV5IDxgDXHyL0yE2gkzugl1E=
SIZE (cElementTree-1.0.5-20051216.tar.gz) = 93766

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/01/22 02:36:56 alek Exp $
lib/python${MODPY_VERSION}/site-packages/cElementTree.so

View File

@ -1,2 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1 2005/01/26 21:31:55 alek Exp $
%%SHARED%%
@comment $OpenBSD: PLIST,v 1.2 2007/05/22 15:42:37 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/cElementTree.so
share/doc/py-cElementTree/
share/doc/py-cElementTree/README
share/examples/py-cElementTree/
share/examples/py-cElementTree/simple-ns.xml
share/examples/py-cElementTree/simple.xml