aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-usb
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-05 03:40:09 +0800
committermiwi <miwi@FreeBSD.org>2007-06-05 03:40:09 +0800
commitef78481477e4edc9460ee5cb5725c50ec979f56e (patch)
tree9ecea51ffc7155ea93821a047e230086ff8aa1cc /devel/py-usb
parenta2c318544c1f3b882c5e1cb9399c1c9f5cb88dae (diff)
downloadfreebsd-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/py-usb')
-rw-r--r--devel/py-usb/Makefile26
-rw-r--r--devel/py-usb/distinfo3
-rw-r--r--devel/py-usb/pkg-descr4
3 files changed, 33 insertions, 0 deletions
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/