pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www Require newer py24-setuptools and register/unregis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3bdc971606c2
branches: trunk
changeset: 520968:3bdc971606c2
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Nov 03 14:13:56 2006 +0000
description:
Require newer py24-setuptools and register/unregister egg.
diffstat:
www/py-django/Makefile | 8 ++++++--
www/py-flup/DEINSTALL | 7 +++++++
www/py-flup/INSTALL | 7 +++++++
www/py-flup/Makefile | 9 ++++++---
4 files changed, 26 insertions(+), 5 deletions(-)
diffs (80 lines):
diff -r bee4dea3af7d -r 3bdc971606c2 www/py-django/Makefile
--- a/www/py-django/Makefile Fri Nov 03 13:56:46 2006 +0000
+++ b/www/py-django/Makefile Fri Nov 03 14:13:56 2006 +0000
@@ -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 @@
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:
diff -r bee4dea3af7d -r 3bdc971606c2 www/py-flup/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flup/DEINSTALL Fri Nov 03 14:13:56 2006 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case $STAGE in
+DEINSTALL)
+ @PY_MANAGE_EGGS@ unregister @FLUPEGG@
+ ;;
+esac
diff -r bee4dea3af7d -r 3bdc971606c2 www/py-flup/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flup/INSTALL Fri Nov 03 14:13:56 2006 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case $STAGE in
+POST-INSTALL)
+ @PY_MANAGE_EGGS@ register @FLUPEGG@
+ ;;
+esac
diff -r bee4dea3af7d -r 3bdc971606c2 www/py-flup/Makefile
--- a/www/py-flup/Makefile Fri Nov 03 13:56:46 2006 +0000
+++ b/www/py-flup/Makefile Fri Nov 03 14:13:56 2006 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index