summaryrefslogtreecommitdiff
path: root/www/py-nevow
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-23 23:20:48 +0000
committergdt <gdt@pkgsrc.org>2010-07-23 23:20:48 +0000
commite53851e90a0d864dc44da3d119d2a365ea58e99d (patch)
tree9e51299fbf1a83602b453be61eaf19f6484bb0ff /www/py-nevow
parentb830e361e22b930aff17e482640d8072a91d9ef1 (diff)
downloadpkgsrc-e53851e90a0d864dc44da3d119d2a365ea58e99d.tar.gz
Upstream uses setuptools, so switch to egg.mk.
Substitute egg directory in PLIST to avoid hardcoded version. Drop unnecessary statements that set defaults.
Diffstat (limited to 'www/py-nevow')
-rw-r--r--www/py-nevow/Makefile13
-rw-r--r--www/py-nevow/PLIST10
2 files changed, 8 insertions, 15 deletions
diff --git a/www/py-nevow/Makefile b/www/py-nevow/Makefile
index 22a1fa8a99a..8ec3e6de937 100644
--- a/www/py-nevow/Makefile
+++ b/www/py-nevow/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2010/07/23 21:35:41 gdt Exp $
+# $NetBSD: Makefile,v 1.11 2010/07/23 23:20:48 gdt Exp $
#
VERSION= 0.10.0
DISTNAME= Nevow-${VERSION}
PKGNAME= ${PYPKGPREFIX}-nevow-${VERSION}
+PKGREVISION= 1
CATEGORIES= www python
# Nevow does not appear to make tarballs easily available; there's a link
# in trac with ?format=raw at the end. Many others have the same sorts
@@ -19,16 +20,8 @@ COMMENT= Next-generation web application templating system
PKG_DESTDIR_SUPPORT= user-destdir
-# Upstream docs are not clear. Add versions as they are tested.
-PYTHON_VERSIONS_ACCEPTED= 26
-
DEPENDS+= ${PYPKGPREFIX}-twisted>=1.3.0:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-xml>=0.8.3:../../textproc/py-xml
-WRKSRC= ${WRKDIR}/${DISTNAME}
-PY_PATCHPLIST= yes
-PYDISTUTILSPKG= yes
-PY_NO_EGG= no
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-nevow/PLIST b/www/py-nevow/PLIST
index d28325829c3..0f0b90c55c5 100644
--- a/www/py-nevow/PLIST
+++ b/www/py-nevow/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2010/07/23 21:35:41 gdt Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/07/23 23:20:48 gdt Exp $
bin/nevow-xmlgettext
bin/nit
doc/README
@@ -19,10 +19,10 @@ doc/html/default.css
doc/man/nevow-xmlgettext.1
doc/old/nevow.doc
doc/old/toc.html
-${PYSITELIB}/Nevow-0.10.0-py2.6.egg-info/PKG-INFO
-${PYSITELIB}/Nevow-0.10.0-py2.6.egg-info/SOURCES.txt
-${PYSITELIB}/Nevow-0.10.0-py2.6.egg-info/dependency_links.txt
-${PYSITELIB}/Nevow-0.10.0-py2.6.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/formless/__init__.py
${PYSITELIB}/formless/__init__.pyc
${PYSITELIB}/formless/__init__.pyo