Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 22:34:31 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451805 - in head/comms: . py-hidapi
Message-ID:  <201710112234.v9BMYVvQ023916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Oct 11 22:34:31 2017
New Revision: 451805
URL: https://svnweb.freebsd.org/changeset/ports/451805

Log:
  Add py-hidapi 0.7.99, cython interface to comms/hidapi.

Added:
  head/comms/py-hidapi/
  head/comms/py-hidapi/Makefile   (contents, props changed)
  head/comms/py-hidapi/distinfo   (contents, props changed)
  head/comms/py-hidapi/pkg-descr   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Wed Oct 11 21:50:30 2017	(r451804)
+++ head/comms/Makefile	Wed Oct 11 22:34:31 2017	(r451805)
@@ -135,6 +135,7 @@
     SUBDIR += predict
     SUBDIR += py-bulksms
     SUBDIR += py-gammu
+    SUBDIR += py-hidapi
     SUBDIR += py-libconcord
     SUBDIR += py-libimobiledevice
     SUBDIR += py-lirc

Added: head/comms/py-hidapi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/py-hidapi/Makefile	Wed Oct 11 22:34:31 2017	(r451805)
@@ -0,0 +1,28 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	hidapi
+PORTVERSION=	0.7.99
+DISTVERSIONSUFFIX=	.post21
+CATEGORIES=	comms python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Cython interface to comms/hidapi
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	cython:lang/cython
+LIB_DEPENDS=	libhidapi.so:comms/hidapi
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|usb-1.0|usb|g' ${WRKSRC}/setup.py
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hid.so
+
+.include <bsd.port.mk>

Added: head/comms/py-hidapi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/py-hidapi/distinfo	Wed Oct 11 22:34:31 2017	(r451805)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507756423
+SHA256 (hidapi-0.7.99.post21.tar.gz) = e0be1aa6566979266a8fc845ab0e18613f4918cf2c977fe67050f5dc7e2a9a97
+SIZE (hidapi-0.7.99.post21.tar.gz) = 51377

Added: head/comms/py-hidapi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/py-hidapi/pkg-descr	Wed Oct 11 22:34:31 2017	(r451805)
@@ -0,0 +1,3 @@
+Cython interface to comms/hidapi.
+
+WWW: https://pypi.python.org/pypi/hidapi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710112234.v9BMYVvQ023916>