ports/188633: devel/py-usb patch (update to py-usb 1.0.0b1)
Uffe Jakobsen
uffe at uffe.org
Mon Apr 14 22:50:00 UTC 2014
>Number: 188633
>Category: ports
>Synopsis: devel/py-usb patch (update to py-usb 1.0.0b1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 14 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Uffe Jakobsen
>Release: FreeBSD 10.0-RELEASE
>Organization:
>Environment:
>Description:
devel/py-usb patch (update to py-usb 1.0.0b1)
The py-usb 1.0.0 series have been around for about 4 years now.
The attached patch updates py-usb to latest 1.0.0b1
PS: The new py-usb 1.0.0 generation is backwards compatible through a legacy layer (import usb.legacy)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 351294)
+++ Makefile (working copy)
@@ -1,10 +1,10 @@
# $FreeBSD$
PORTNAME= usb
-PORTVERSION= 0.4.3
+PORTVERSION= 1.0.0b1
CATEGORIES= devel python
MASTER_SITES= SF
-MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%200.x/${PORTVERSION}
+MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%201.0/1.0.0-beta-1
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
@@ -15,13 +15,4 @@
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-PORTEXAMPLES= *
-
-OPTIONS_DEFINE= EXAMPLES
-
-post-install:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
-
.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo (revision 351294)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (pyusb-0.4.3.tar.gz) = 3c08b292886b7001ab088345af4d0dfe3e7d37bfc4b2bdcd7edb564ea3ef04d5
-SIZE (pyusb-0.4.3.tar.gz) = 16242
+SHA256 (pyusb-1.0.0b1.tar.gz) = c72f87b9cbb5159e2b6ed77d37af449ceaed8059f35f4a206c2d5a1bc0091f07
+SIZE (pyusb-1.0.0b1.tar.gz) = 48545
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list