summaryrefslogtreecommitdiff
path: root/devel/py-libusb1
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-libusb1')
-rw-r--r--devel/py-libusb1/Makefile4
-rw-r--r--devel/py-libusb1/distinfo6
-rw-r--r--devel/py-libusb1/files/patch-usb1_____init____.py (renamed from devel/py-libusb1/files/patch-usb1.py)6
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/py-libusb1/Makefile b/devel/py-libusb1/Makefile
index 8f031763a3f0..05bafd837125 100644
--- a/devel/py-libusb1/Makefile
+++ b/devel/py-libusb1/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= libusb1
-PORTVERSION= 1.5.3
+PORTVERSION?= 1.6.4
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +11,8 @@ COMMENT= Pure-python wrapper for libusb-1.0
LICENSE= LGPL21+
+CONFLICTS_INSTALL?= ${PKGNAMEPREFIX}${PORTNAME}15
+
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
diff --git a/devel/py-libusb1/distinfo b/devel/py-libusb1/distinfo
index 2faaafcdc2a9..7402438aa860 100644
--- a/devel/py-libusb1/distinfo
+++ b/devel/py-libusb1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474053011
-SHA256 (libusb1-1.5.3.tar.gz) = 85f6bbf9fcfe9421f99864f20a37eacb00f30b8a7c29adc6b2a163bde29649ea
-SIZE (libusb1-1.5.3.tar.gz) = 53409
+TIMESTAMP = 1486131645
+SHA256 (libusb1-1.6.4.tar.gz) = 8c930d9c1d037d9c83924c82608aa6a1adcaa01ca0e4a23ee0e8e18d7eee670d
+SIZE (libusb1-1.6.4.tar.gz) = 55491
diff --git a/devel/py-libusb1/files/patch-usb1.py b/devel/py-libusb1/files/patch-usb1_____init____.py
index a47c742bd960..e42cf7f83290 100644
--- a/devel/py-libusb1/files/patch-usb1.py
+++ b/devel/py-libusb1/files/patch-usb1_____init____.py
@@ -1,8 +1,8 @@
https://lists.freebsd.org/pipermail/freebsd-usb/2015-January/013586.html
---- usb1.py.orig 2015-08-15 17:59:35 UTC
-+++ usb1.py
-@@ -1729,15 +1729,20 @@ class USBDevice(object):
+--- usb1/__init__.py.orig 2016-11-23 13:07:52 UTC
++++ usb1/__init__.py
+@@ -1830,15 +1830,20 @@ class USBDevice(object):
"""
Get device's port number.
"""