Require newer py24-setuptools and register/unregister egg.
This commit is contained in:
parent
8a65589d2e
commit
9ec9c478b5
4 changed files with 26 additions and 5 deletions
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.2 2006/09/17 13:42:07 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/11/03 14:14:18 joerg Exp $
|
||||
|
||||
DISTNAME= Django-0.95
|
||||
PKGNAME= ${PYPKGPREFIX}-django-0.95
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= http://media.djangoproject.com/releases/0.95/
|
||||
|
||||
|
@ -14,9 +15,12 @@ PYBINMODULE= # yes
|
|||
PYTHON_VERSIONS_ACCEPTED= 24
|
||||
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py24-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c1nb1:../../devel/py24-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
|
||||
|
||||
FILES_SUBST+= PY_MANAGE_EGGS=${PREFIX}/bin/${PYPKGPREFIX}-manage-eggs
|
||||
FILES_SUBST+= DJANGOEGG=${PREFIX}/${PYSITELIB}/Django-0.95-py2.4.egg
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
post-extract:
|
||||
|
|
7
www/py-flup/DEINSTALL
Normal file
7
www/py-flup/DEINSTALL
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $STAGE in
|
||||
DEINSTALL)
|
||||
@PY_MANAGE_EGGS@ unregister @FLUPEGG@
|
||||
;;
|
||||
esac
|
7
www/py-flup/INSTALL
Normal file
7
www/py-flup/INSTALL
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $STAGE in
|
||||
POST-INSTALL)
|
||||
@PY_MANAGE_EGGS@ register @FLUPEGG@
|
||||
;;
|
||||
esac
|
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.2 2006/09/06 10:59:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/11/03 14:13:56 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= flup-r2030
|
||||
PKGNAME= ${PYPKGPREFIX}-flup-2030
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= http://www.saddi.com/software/flup/dist/
|
||||
|
||||
|
@ -11,11 +11,14 @@ MAINTAINER= joerg@NetBSD.org
|
|||
HOMEPAGE= http://www.saddi.com/software/flup/
|
||||
COMMENT= WSGI support modules
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py24-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c1nb1:../../devel/py24-setuptools
|
||||
|
||||
PYDISTUTILSPKG= yes
|
||||
PY_PATCHPLIST= yes
|
||||
PYTHON_VERSIONS_ACCEPTED= 24
|
||||
|
||||
FILES_SUBST+= PY_MANAGE_EGGS=${PREFIX}/bin/${PYPKGPREFIX}-manage-eggs
|
||||
FILES_SUBST+= FLUPEGG=${PREFIX}/${PYSITELIB}/flup-0.5-py2.4.egg
|
||||
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue