summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-10-29 13:22:16 +0000
committerobache <obache@pkgsrc.org>2011-10-29 13:22:16 +0000
commitf7a6457f89410de8aa9710606175c56a215c6244 (patch)
treea3ca9a5ed4f56929a83acd665ee9f898bc475d52 /comms
parent9717cd646a0a981a4ecb83e3115d948c17eef277 (diff)
downloadpkgsrc-f7a6457f89410de8aa9710606175c56a215c6244.tar.gz
distutils package, register egg-info.
Bump PKGREVISION.
Diffstat (limited to 'comms')
-rw-r--r--comms/py-gammu/Makefile8
-rw-r--r--comms/py-gammu/PLIST3
2 files changed, 7 insertions, 4 deletions
diff --git a/comms/py-gammu/Makefile b/comms/py-gammu/Makefile
index ae8cbaaf836..711345c250a 100644
--- a/comms/py-gammu/Makefile
+++ b/comms/py-gammu/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/05/26 22:03:58 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2011/10/29 13:22:16 obache Exp $
#
.include "../../comms/gammu/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
COMMENT= Python bindings for gammu
DISTINFO_FILE= ${.CURDIR}/../../comms/gammu/distinfo
@@ -13,12 +14,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
CONFLICTS= gammu<=1.24.0
-PYDISTUTILSPKG= yes
PYSETUPSUBDIR= python
PYSETUPBUILDTARGET= build_ext
PYSETUPBUILDARGS= --gammu-incs=${BUILDLINK_PREFIX.gammu}/include/gammu
PYSETUPBUILDARGS+= --gammu-libs=${BUILDLINK_PREFIX.gammu}/lib
-.include "../../lang/python/extension.mk"
+EGG_NAME= python_${DISTNAME}
+
+.include "../../lang/python/distutils.mk"
.include "../../comms/gammu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/py-gammu/PLIST b/comms/py-gammu/PLIST
index f55bb2b35f9..a59fa427737 100644
--- a/comms/py-gammu/PLIST
+++ b/comms/py-gammu/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:38:42 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/10/29 13:22:16 obache Exp $
${PYSITELIB}/gammu/Data.py
${PYSITELIB}/gammu/Data.pyc
${PYSITELIB}/gammu/Data.pyo
@@ -9,3 +9,4 @@ ${PYSITELIB}/gammu/__init__.py
${PYSITELIB}/gammu/__init__.pyc
${PYSITELIB}/gammu/__init__.pyo
${PYSITELIB}/gammu/_gammu.so
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}