From fd490400b86aa4600de8dd0d91c2ccee13163110 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 26 May 2009 22:03:58 +0000 Subject: Initial import of py-gammu-1.24.0, based on work from Joachim König. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- comms/py-gammu/DESCR | 4 ++++ comms/py-gammu/Makefile | 24 ++++++++++++++++++++++++ comms/py-gammu/PLIST | 12 ++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 comms/py-gammu/DESCR create mode 100644 comms/py-gammu/Makefile create mode 100644 comms/py-gammu/PLIST (limited to 'comms') 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 -- cgit v1.2.3