diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 00:18:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 00:18:10 +0000 |
commit | 54e4f06640832ce212ab93b90886376e72589586 (patch) | |
tree | 83aa8359748ac9fdfc531f604f54b6492cfd5aa6 | |
parent | a58b3852c653ad8eb6471002805625b12c6743f6 (diff) | |
download | pkgsrc-54e4f06640832ce212ab93b90886376e72589586.tar.gz |
Use Python extension framework. Bump revision.
-rw-r--r-- | audio/py-daap/Makefile | 15 | ||||
-rw-r--r-- | audio/py-daap/PLIST | 3 | ||||
-rw-r--r-- | mail/py-libgmail/Makefile | 14 | ||||
-rw-r--r-- | mail/py-libgmail/PLIST | 4 |
4 files changed, 14 insertions, 22 deletions
diff --git a/audio/py-daap/Makefile b/audio/py-daap/Makefile index 5b6a66a9ea3..9c897f60777 100644 --- a/audio/py-daap/Makefile +++ b/audio/py-daap/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2008/04/25 20:39:06 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2008/06/12 00:18:10 joerg Exp $ # DISTNAME= PythonDaap-0.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://jerakeen.org/files/ @@ -10,15 +11,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://jerakeen.org/PythonDaap/ COMMENT= Python binding for DAAP -PYSETUP= setup.py -PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q} +PKG_DESTDIR_SUPPORT= user-destdir -do-build: - cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build - -do-install: - cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} install - -.include "../../lang/python/application.mk" +PYDISTUTILSPKG= yes +.include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/py-daap/PLIST b/audio/py-daap/PLIST index 54df52ae6a3..9397e1eb8e4 100644 --- a/audio/py-daap/PLIST +++ b/audio/py-daap/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/04 20:23:41 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/06/12 00:18:10 joerg Exp $ ${PYSITELIB}/daap.py ${PYSITELIB}/daap.pyc +${PYSITELIB}/daap.pyo ${PYSITELIB}/md5daap.so diff --git a/mail/py-libgmail/Makefile b/mail/py-libgmail/Makefile index 11eb77773aa..1bc384ab7a8 100644 --- a/mail/py-libgmail/Makefile +++ b/mail/py-libgmail/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2008/04/25 20:39:10 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/06/12 00:18:50 joerg Exp $ # DISTNAME= libgmail-0.1.5.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libgmail/} @@ -11,14 +12,7 @@ HOMEPAGE= http://sourceforge.net/projects/libgmail/ COMMENT= Python bindings to access Google mail PYTHON_VERSIONS_ACCEPTED= 25 24 -PYSETUP= setup.py -PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q} +PYDISTUTILSPKG= yes -do-build: - cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build - -do-install: - cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} install - -.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/py-libgmail/PLIST b/mail/py-libgmail/PLIST index 49c0a0d73d1..11772d2593b 100644 --- a/mail/py-libgmail/PLIST +++ b/mail/py-libgmail/PLIST @@ -1,5 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/04 20:08:54 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/06/12 00:18:50 joerg Exp $ ${PYSITELIB}/lgconstants.py ${PYSITELIB}/lgconstants.pyc +${PYSITELIB}/lgconstants.pyo ${PYSITELIB}/libgmail.py ${PYSITELIB}/libgmail.pyc +${PYSITELIB}/libgmail.pyo |