Sat Jan 18 07:40:24 2014 UTC ()
Add separate PLISTs for python-2.x and python-3.x, to fix build with
python-3.x.


(wiz)
diff -r1.9 -r1.10 pkgsrc/www/py-genshi/Makefile
diff -r1.4 -r1.5 pkgsrc/www/py-genshi/PLIST
diff -r0 -r1.1 pkgsrc/www/py-genshi/PLIST.py2
diff -r0 -r1.1 pkgsrc/www/py-genshi/PLIST.py3

cvs diff -r1.9 -r1.10 pkgsrc/www/py-genshi/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-genshi/Makefile 2013/10/11 14:33:37 1.9
+++ pkgsrc/www/py-genshi/Makefile 2014/01/18 07:40:24 1.10
@@ -1,26 +1,30 @@ @@ -1,26 +1,30 @@
1# $NetBSD: Makefile,v 1.9 2013/10/11 14:33:37 obache Exp $ 1# $NetBSD: Makefile,v 1.10 2014/01/18 07:40:24 wiz Exp $
2# 
3 2
4DISTNAME= Genshi-0.7 3DISTNAME= Genshi-0.7
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
6CATEGORIES= www python 5CATEGORIES= www python
7MASTER_SITES= http://ftp.edgewall.com/pub/genshi/ 6MASTER_SITES= http://ftp.edgewall.com/pub/genshi/
8 7
9MAINTAINER= obache@NetBSD.org 8MAINTAINER= obache@NetBSD.org
10HOMEPAGE= http://genshi.edgewall.org/ 9HOMEPAGE= http://genshi.edgewall.org/
11COMMENT= Python toolkit for generation of output for the web 10COMMENT= Python toolkit for generation of output for the web
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14DEPENDS+= ${PYPKGPREFIX}-babel>=0.8:../../devel/py-babel 13DEPENDS+= ${PYPKGPREFIX}-babel>=0.8:../../devel/py-babel
15DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 14DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
16 15
17USE_LANGUAGES= c 16USE_LANGUAGES= c
18 17
19# !32 for py-babel, !33 for speedups module 18.include "../../lang/python/pyversion.mk"
20#PYTHON_VERSIONS_INCLUDE_3X= yes 19
 20.if ${PYPKGPREFIX} == "py33"
 21PLIST_SRC+= PLIST PLIST.py3
 22.else
 23PLIST_SRC+= PLIST PLIST.py2
 24.endif
21 25
22do-test: 26do-test:
23 ${RUN}cd ${WRKSRC};${PYTHONBIN} setup.py test 27 ${RUN}cd ${WRKSRC};${PYTHONBIN} setup.py test
24 28
25.include "../../lang/python/egg.mk" 29.include "../../lang/python/egg.mk"
26.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/www/py-genshi/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-genshi/PLIST 2013/10/11 14:33:37 1.4
+++ pkgsrc/www/py-genshi/PLIST 2014/01/18 07:40:24 1.5
@@ -1,24 +1,23 @@ @@ -1,24 +1,23 @@
1@comment $NetBSD: PLIST,v 1.4 2013/10/11 14:33:37 obache Exp $ 1@comment $NetBSD: PLIST,v 1.5 2014/01/18 07:40:24 wiz Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
6${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${EGG_INFODIR}/requires.txt
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
8${PYSITELIB}/genshi/__init__.py 8${PYSITELIB}/genshi/__init__.py
9${PYSITELIB}/genshi/__init__.pyc 9${PYSITELIB}/genshi/__init__.pyc
10${PYSITELIB}/genshi/__init__.pyo 10${PYSITELIB}/genshi/__init__.pyo
11${PYSITELIB}/genshi/_speedups.so 
12${PYSITELIB}/genshi/builder.py 11${PYSITELIB}/genshi/builder.py
13${PYSITELIB}/genshi/builder.pyc 12${PYSITELIB}/genshi/builder.pyc
14${PYSITELIB}/genshi/builder.pyo 13${PYSITELIB}/genshi/builder.pyo
15${PYSITELIB}/genshi/compat.py 14${PYSITELIB}/genshi/compat.py
16${PYSITELIB}/genshi/compat.pyc 15${PYSITELIB}/genshi/compat.pyc
17${PYSITELIB}/genshi/compat.pyo 16${PYSITELIB}/genshi/compat.pyo
18${PYSITELIB}/genshi/core.py 17${PYSITELIB}/genshi/core.py
19${PYSITELIB}/genshi/core.pyc 18${PYSITELIB}/genshi/core.pyc
20${PYSITELIB}/genshi/core.pyo 19${PYSITELIB}/genshi/core.pyo
21${PYSITELIB}/genshi/filters/__init__.py 20${PYSITELIB}/genshi/filters/__init__.py
22${PYSITELIB}/genshi/filters/__init__.pyc 21${PYSITELIB}/genshi/filters/__init__.pyc
23${PYSITELIB}/genshi/filters/__init__.pyo 22${PYSITELIB}/genshi/filters/__init__.pyo
24${PYSITELIB}/genshi/filters/html.py 23${PYSITELIB}/genshi/filters/html.py

File Added: pkgsrc/www/py-genshi/Attic/PLIST.py2
@comment $NetBSD: PLIST.py2,v 1.1 2014/01/18 07:40:24 wiz Exp $
${PYSITELIB}/genshi/_speedups.so

File Added: pkgsrc/www/py-genshi/Attic/PLIST.py3
@comment $NetBSD: PLIST.py3,v 1.1 2014/01/18 07:40:24 wiz Exp $
${PYSITELIB}/genshi/_speedups.c
${PYSITELIB}/genshi/template/tests/templates/functions.html
${PYSITELIB}/genshi/template/tests/templates/functions.txt
${PYSITELIB}/genshi/template/tests/templates/new_syntax.txt
${PYSITELIB}/genshi/template/tests/templates/test.html
${PYSITELIB}/genshi/template/tests/templates/test.txt
${PYSITELIB}/genshi/template/tests/templates/test_no_doctype.html