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
This commit is contained in:
Niclas Zeising 2018-12-19 15:34:27 +00:00
parent 253851e245
commit 7dfa18001b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487802
4 changed files with 34 additions and 0 deletions

View file

@ -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

22
devel/py-pyudev/Makefile Normal file
View file

@ -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>

3
devel/py-pyudev/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1527799557
SHA256 (pyudev-0.21.0.tar.gz) = 094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b
SIZE (pyudev-0.21.0.tar.gz) = 89469

View file

@ -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