pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Use Python extension framework. Bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea7bdafb432b
branches:  trunk
changeset: 543265:ea7bdafb432b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jun 12 00:18:10 2008 +0000

description:
Use Python extension framework. Bump revision.

diffstat:

 audio/py-daap/Makefile    |  15 +++++----------
 audio/py-daap/PLIST       |   3 ++-
 mail/py-libgmail/Makefile |  14 ++++----------
 mail/py-libgmail/PLIST    |   4 +++-
 4 files changed, 14 insertions(+), 22 deletions(-)

diffs (86 lines):

diff -r a73c801364d1 -r ea7bdafb432b audio/py-daap/Makefile
--- a/audio/py-daap/Makefile    Thu Jun 12 00:06:27 2008 +0000
+++ b/audio/py-daap/Makefile    Thu Jun 12 00:18:10 2008 +0000
@@ -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 @@
 HOMEPAGE=      http://jerakeen.org/PythonDaap/
 COMMENT=       Python binding for DAAP
 
-PYSETUP=               setup.py
-PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
-
-do-build:
-       cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build
+PKG_DESTDIR_SUPPORT=   user-destdir
 
-do-install:
-       cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} install
+PYDISTUTILSPKG=        yes
 
-.include "../../lang/python/application.mk"
-
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a73c801364d1 -r ea7bdafb432b audio/py-daap/PLIST
--- a/audio/py-daap/PLIST       Thu Jun 12 00:06:27 2008 +0000
+++ b/audio/py-daap/PLIST       Thu Jun 12 00:18:10 2008 +0000
@@ -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 -r a73c801364d1 -r ea7bdafb432b mail/py-libgmail/Makefile
--- a/mail/py-libgmail/Makefile Thu Jun 12 00:06:27 2008 +0000
+++ b/mail/py-libgmail/Makefile Thu Jun 12 00:18:10 2008 +0000
@@ -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 @@
 COMMENT=       Python bindings to access Google mail
 
 PYTHON_VERSIONS_ACCEPTED=      25 24
-PYSETUP=               setup.py
-PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
-
-do-build:
-       cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} build
+PYDISTUTILSPKG=        yes
 
-do-install:
-       cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} install
-
-.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a73c801364d1 -r ea7bdafb432b mail/py-libgmail/PLIST
--- a/mail/py-libgmail/PLIST    Thu Jun 12 00:06:27 2008 +0000
+++ b/mail/py-libgmail/PLIST    Thu Jun 12 00:18:10 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index