summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-05-26 22:03:58 +0000
committerwiz <wiz@pkgsrc.org>2009-05-26 22:03:58 +0000
commit42d33791cb6217887f8ec6e2ac37a00dbef8ea35 (patch)
tree7920de329473185d7372f954f982505364d80049
parentf4b2d19db19eff1fa3216bcfafdc06d1f0de6c1d (diff)
downloadpkgsrc-42d33791cb6217887f8ec6e2ac37a00dbef8ea35.tar.gz
Initial import of py-gammu-1.24.0, based on work from Joachim König.
Python bindings for Gammu library. The bindings currently do not support all Gammu features, but the range of covered functions is increasing. If you need something specific, feel free to use the bug tracking system for feature requests.
-rw-r--r--comms/py-gammu/DESCR4
-rw-r--r--comms/py-gammu/Makefile24
-rw-r--r--comms/py-gammu/PLIST12
3 files changed, 40 insertions, 0 deletions
diff --git a/comms/py-gammu/DESCR b/comms/py-gammu/DESCR
new file mode 100644
index 00000000000..313dfff7ea9
--- /dev/null
+++ b/comms/py-gammu/DESCR
@@ -0,0 +1,4 @@
+Python bindings for Gammu library. The bindings currently do not
+support all Gammu features, but the range of covered functions is
+increasing. If you need something specific, feel free to use the
+bug tracking system for feature requests.
diff --git a/comms/py-gammu/Makefile b/comms/py-gammu/Makefile
new file mode 100644
index 00000000000..ae8cbaaf836
--- /dev/null
+++ b/comms/py-gammu/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/26 22:03:58 wiz Exp $
+#
+
+.include "../../comms/gammu/Makefile.common"
+
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+COMMENT= Python bindings for gammu
+
+DISTINFO_FILE= ${.CURDIR}/../../comms/gammu/distinfo
+PATCHDIR= ${.CURDIR}/../../comms/gammu/patches
+
+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"
+.include "../../comms/gammu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/py-gammu/PLIST b/comms/py-gammu/PLIST
new file mode 100644
index 00000000000..39ac0bd8d7b
--- /dev/null
+++ b/comms/py-gammu/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/26 22:03:58 wiz Exp $
+${PYSITELIB}/gammu/Data.py
+${PYSITELIB}/gammu/Data.pyc
+${PYSITELIB}/gammu/Data.pyo
+${PYSITELIB}/gammu/Worker.py
+${PYSITELIB}/gammu/Worker.pyc
+${PYSITELIB}/gammu/Worker.pyo
+${PYSITELIB}/gammu/__init__.py
+${PYSITELIB}/gammu/__init__.pyc
+${PYSITELIB}/gammu/__init__.pyo
+${PYSITELIB}/gammu/_gammu.so
+@dirrm ${PYSITELIB}/gammu