aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2018-12-19 23:34:27 +0800
committerzeising <zeising@FreeBSD.org>2018-12-19 23:34:27 +0800
commitfa6b6f6d87efe75b6b5f9112dedc5b3f32e83c02 (patch)
treeaa7fe5b764a55923fef3dbcb2c0352fed3d70f19 /devel
parent363e7c10d369da1d01b9a4227442a8afac998811 (diff)
downloadfreebsd-ports-gnome-fa6b6f6d87efe75b6b5f9112dedc5b3f32e83c02.tar.gz
freebsd-ports-gnome-fa6b6f6d87efe75b6b5f9112dedc5b3f32e83c02.tar.zst
freebsd-ports-gnome-fa6b6f6d87efe75b6b5f9112dedc5b3f32e83c02.zip
Add new port: devel/py-pyudev
Add new port devel/py-pyudev, python bindnings to libudev. This is needed for updated libinput More info here: https://pyudev.readthedocs.io/en/latest/ Obtained from: https://github.com/myfreeweb/freebsd-ports-dank/tree/master/devel/py-pyudev PR: 222905 (based on) Submitted by: wulf, Greg V Obtained from: FreeBSD Graphics Team development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input-ports
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyudev/Makefile22
-rw-r--r--devel/py-pyudev/distinfo3
-rw-r--r--devel/py-pyudev/pkg-descr8
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2f7252204743..5a377b479468 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5018,6 +5018,7 @@
SUBDIR += py-pytrie
SUBDIR += py-pytvmaze
SUBDIR += py-pytz
+ SUBDIR += py-pyudev
SUBDIR += py-pyutil
SUBDIR += py-pyvalid
SUBDIR += py-pyvisa
diff --git a/devel/py-pyudev/Makefile b/devel/py-pyudev/Makefile
new file mode 100644
index 000000000000..a06d4c54a20b
--- /dev/null
+++ b/devel/py-pyudev/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= pyudev
+PORTVERSION= 0.21.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= Pure Python libudev binding
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libudev.so:devel/libudev-devd
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyudev/distinfo b/devel/py-pyudev/distinfo
new file mode 100644
index 000000000000..75f2087d7eb0
--- /dev/null
+++ b/devel/py-pyudev/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1527799557
+SHA256 (pyudev-0.21.0.tar.gz) = 094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b
+SIZE (pyudev-0.21.0.tar.gz) = 89469
diff --git a/devel/py-pyudev/pkg-descr b/devel/py-pyudev/pkg-descr
new file mode 100644
index 000000000000..56bef47b1649
--- /dev/null
+++ b/devel/py-pyudev/pkg-descr
@@ -0,0 +1,8 @@
+pyudev is a LGPL licensed, pure Python binding for libudev, the device
+and hardware management and information library for Linux. It supports
+almost all libudev functionality. You can enumerate devices, query
+device properties and attributes or monitor devices, including
+asynchronous monitoring with threads, or within the event loops of Qt,
+Glib or wxPython.
+
+WWW: https://pyudev.readthedocs.org