From owner-svn-ports-head@freebsd.org Wed Oct 11 22:34:33 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F935E38D18; Wed, 11 Oct 2017 22:34:33 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CC6B7F53D; Wed, 11 Oct 2017 22:34:33 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9BMYWFY023920; Wed, 11 Oct 2017 22:34:32 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9BMYVvQ023916; Wed, 11 Oct 2017 22:34:31 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201710112234.v9BMYVvQ023916@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 11 Oct 2017 22:34:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451805 - in head/comms: . py-hidapi X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/comms: . py-hidapi X-SVN-Commit-Revision: 451805 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 22:34:33 -0000 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 +# $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 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