diff options
author | miwi <miwi@FreeBSD.org> | 2007-06-05 03:40:09 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-06-05 03:40:09 +0800 |
commit | ef78481477e4edc9460ee5cb5725c50ec979f56e (patch) | |
tree | 9ecea51ffc7155ea93821a047e230086ff8aa1cc /devel | |
parent | a2c318544c1f3b882c5e1cb9399c1c9f5cb88dae (diff) | |
download | freebsd-ports-gnome-ef78481477e4edc9460ee5cb5725c50ec979f56e.tar.gz freebsd-ports-gnome-ef78481477e4edc9460ee5cb5725c50ec979f56e.tar.zst freebsd-ports-gnome-ef78481477e4edc9460ee5cb5725c50ec979f56e.zip |
PyUSB is a native Python module written in C (meanwhile, because the next major
version will use ctypes), that provides USB access for it.
WWW: http://pyusb.berlios.de/
PR: ports/112641
Submitted by: R.Mahmatkhanov <R.Mahmatkhanov at SKYLINK.ru>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-usb/Makefile | 26 | ||||
-rw-r--r-- | devel/py-usb/distinfo | 3 | ||||
-rw-r--r-- | devel/py-usb/pkg-descr | 4 |
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 78e614b6571a..9ae92fe76659 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1912,6 +1912,7 @@ SUBDIR += py-unit SUBDIR += py-urlimport SUBDIR += py-urwid + SUBDIR += py-usb SUBDIR += py-utils SUBDIR += py-vmaps SUBDIR += py-wsgiutils diff --git a/devel/py-usb/Makefile b/devel/py-usb/Makefile new file mode 100644 index 000000000000..6d6f15eca01b --- /dev/null +++ b/devel/py-usb/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: py-usb +# Date created: 2007-05-13 +# Whom: R.Mahmatkhanov <R.Mahmatkhanov@SKYLINK.ru> +# +# $FreeBSD$ +# + +PORTNAME= pyusb +PORTVERSION= 0.3.5 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ${MASTER_SITE_BERLIOS} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= R.Mahmatkhanov@SKYLINK.ru +COMMENT= Python wrapper around libusb + +BUILD_DEPENDS= ${LOCALBASE}/lib/libusb.so:${PORTSDIR}/devel/libusb +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so + +.include <bsd.port.mk> diff --git a/devel/py-usb/distinfo b/devel/py-usb/distinfo new file mode 100644 index 000000000000..9368e4ad0580 --- /dev/null +++ b/devel/py-usb/distinfo @@ -0,0 +1,3 @@ +MD5 (pyusb-0.3.5.tar.gz) = 785dec85737453304ec216bbbb10e939 +SHA256 (pyusb-0.3.5.tar.gz) = aa75f557ca4332d729fd2a245db41537204fe03180b38f949a51bd3d570c85a0 +SIZE (pyusb-0.3.5.tar.gz) = 22478 diff --git a/devel/py-usb/pkg-descr b/devel/py-usb/pkg-descr new file mode 100644 index 000000000000..6dc1c5f93b67 --- /dev/null +++ b/devel/py-usb/pkg-descr @@ -0,0 +1,4 @@ +PyUSB is a native Python module written in C (meanwhile, because the next major +version will use ctypes), that provides USB access for it. + +WWW: http://pyusb.berlios.de/ |