diff options
author | epg <epg@pkgsrc.org> | 2008-09-04 17:17:15 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-09-04 17:17:15 +0000 |
commit | d15367d39e8cb5c1b6a22c88934034c8b8dc54c3 (patch) | |
tree | 024212e70a3b0b1d18cff373288188d86e1ed098 /www/py-paste | |
parent | 38ba3bab83d343c899f6e698c70a0533a9501822 (diff) | |
download | pkgsrc-d15367d39e8cb5c1b6a22c88934034c8b8dc54c3.tar.gz |
Oops, this doesn't require 2.5; DEPEND on setuptools and drop
PYTHON_VERSIONS_ACCEPTED (should work with any).
Diffstat (limited to 'www/py-paste')
-rw-r--r-- | www/py-paste/Makefile | 13 | ||||
-rw-r--r-- | www/py-paste/PLIST | 22 |
2 files changed, 20 insertions, 15 deletions
diff --git a/www/py-paste/Makefile b/www/py-paste/Makefile index c4322136bbc..09c14737833 100644 --- a/www/py-paste/Makefile +++ b/www/py-paste/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 16:49:17 epg Exp $ +# $NetBSD: Makefile,v 1.2 2008/09/04 17:17:15 epg Exp $ DISTNAME= Paste-1.7.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -11,9 +11,14 @@ COMMENT= Middleware for Python WSGI applications PKG_DESTDIR_SUPPORT= user-destdir -PYDISTUTILSPKG= yes -# Requires setuptools; if adding other versions, fix PLIST, too. -PYTHON_VERSIONS_ACCEPTED= 25 +DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c8:../../devel/py-setuptools + +PYDISTUTILSPKG= yes + +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" + +# XXX I think this can't work because of the 'next;' in pyversion.mk. +PRINT_PLIST_AWK+= { gsub(/py${PYVERSSUFFIX}/, "py$${PYVERSSUFFIX}") } diff --git a/www/py-paste/PLIST b/www/py-paste/PLIST index 86ab399e1e0..7293d762458 100644 --- a/www/py-paste/PLIST +++ b/www/py-paste/PLIST @@ -1,13 +1,13 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 16:49:17 epg Exp $ -${PYSITELIB}/Paste-1.7.1-py2.5-nspkg.pth -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/PKG-INFO -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/SOURCES.txt -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/dependency_links.txt -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/entry_points.txt -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/namespace_packages.txt -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/not-zip-safe -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/requires.txt -${PYSITELIB}/Paste-1.7.1-py2.5.egg-info/top_level.txt +@comment $NetBSD: PLIST,v 1.2 2008/09/04 17:17:15 epg Exp $ +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}-nspkg.pth +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/PKG-INFO +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/SOURCES.txt +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/dependency_links.txt +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/entry_points.txt +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/namespace_packages.txt +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/not-zip-safe +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/requires.txt +${PYSITELIB}/Paste-1.7.1-py${PYVERSSUFFIX}.egg-info/top_level.txt ${PYSITELIB}/paste/auth/__init__.py ${PYSITELIB}/paste/auth/__init__.pyc ${PYSITELIB}/paste/auth/__init__.pyo @@ -273,4 +273,4 @@ ${PYSITELIB}/paste/wsgiwrappers.pyo @dirrm ${PYSITELIB}/paste/debug @dirrm ${PYSITELIB}/paste/auth @dirrm ${PYSITELIB}/paste -@dirrm ${PYSITELIB}/Paste-${PKGVERSION}-py2.5.egg-info +@dirrm ${PYSITELIB}/Paste-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info |