mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
devel/py-libusb115: drop due to lack of consumers
This commit is contained in:
parent
6e13b0f8e0
commit
233a6cef91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467281
1
MOVED
1
MOVED
@ -10144,3 +10144,4 @@ textproc/elasticsearch-river-rabbitmq||2018-04-09|ElasticSearch 1.x End of Life
|
||||
devel/libkgapi|devel/libkgapi-kde4|2018-04-11|Make room for KDE updates
|
||||
finance/libalkimia|finance/alkimia-qt4|2018-04-13|Project renamed
|
||||
security/py-zxcvbn-python|security/py-zxcvbn|2018-04-13|Renamed upstream
|
||||
devel/py-libusb115|devel/py-libusb1|2018-04-14|Unused and unmaintained upstream
|
||||
|
@ -4612,7 +4612,6 @@
|
||||
SUBDIR += py-libtaxii
|
||||
SUBDIR += py-libtmux
|
||||
SUBDIR += py-libusb1
|
||||
SUBDIR += py-libusb115
|
||||
SUBDIR += py-libversion
|
||||
SUBDIR += py-libvirt
|
||||
SUBDIR += py-libzfs
|
||||
|
@ -1,14 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTVERSION= 1.5.3
|
||||
PKGNAMESUFFIX= 15
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../py-libusb1
|
||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||
PATCHDIR= ${.CURDIR}/files
|
||||
|
||||
CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
PORTSCOUT= limit:^1\.5\.
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1474053011
|
||||
SHA256 (libusb1-1.5.3.tar.gz) = 85f6bbf9fcfe9421f99864f20a37eacb00f30b8a7c29adc6b2a163bde29649ea
|
||||
SIZE (libusb1-1.5.3.tar.gz) = 53409
|
@ -1,26 +0,0 @@
|
||||
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):
|
||||
"""
|
||||
Get device's port number.
|
||||
"""
|
||||
- return libusb1.libusb_get_port_number(self.device_p)
|
||||
+ try:
|
||||
+ return libusb1.libusb_get_port_number(self.device_p)
|
||||
+ except AttributeError:
|
||||
+ return 0
|
||||
|
||||
def getPortNumberList(self):
|
||||
"""
|
||||
Get the port number of each hub toward device.
|
||||
"""
|
||||
port_list = (c_uint8 * PATH_MAX_DEPTH)()
|
||||
+ temp_handle = self.open()
|
||||
result = libusb1.libusb_get_port_numbers(
|
||||
self.device_p, port_list, len(port_list))
|
||||
+ temp_handle.close()
|
||||
mayRaiseUSBError(result)
|
||||
return list(port_list[:result])
|
||||
|
Loading…
Reference in New Issue
Block a user