ports/150786: [patch] devel/py-usb: update to 0.4.3, take maintainership
Sofian Brabez
sbrabez at gmail.com
Tue Sep 21 14:30:02 UTC 2010
>Number: 150786
>Category: ports
>Synopsis: [patch] devel/py-usb: update to 0.4.3, take maintainership
>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: Tue Sep 21 14:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sofian Brabez
>Release: FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 8.1-STABLE FreeBSD 8.1-STABLE #2: Thu Sep 2 14:53:08 CEST
>Description:
- Update to 0.4.3
- Take maintainership
- Respect NOPORTEXAMPLES
Added file(s):
- pkg-plist
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- py26-usb-0.4.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/py-usb/Makefile /tmp/py-usb/Makefile
--- /usr/ports/devel/py-usb/Makefile 2009-08-22 02:18:30.000000000 +0200
+++ /tmp/py-usb/Makefile 2010-09-21 16:26:06.000000000 +0200
@@ -5,20 +5,22 @@
# $FreeBSD: ports/devel/py-usb/Makefile,v 1.9 2009/08/22 00:18:30 amdmi3 Exp $
#
-PORTNAME= pyusb
-PORTVERSION= 0.4.2
+PORTNAME= usb
+PORTVERSION= 0.4.3
CATEGORIES= devel python
-MASTER_SITES= SF \
- ${MASTER_SITE_BERLIOS}
-
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%200.x/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sbrabez at gmail.com
COMMENT= Python wrapper around libusb
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so
+PYDISTUTILS_PKGNAME= py${PORTNAME}
+
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.include <bsd.port.pre.mk>
@@ -30,4 +32,10 @@
.endif
+post-install:
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/py-usb/distinfo /tmp/py-usb/distinfo
--- /usr/ports/devel/py-usb/distinfo 2009-07-21 02:55:36.000000000 +0200
+++ /tmp/py-usb/distinfo 2010-09-21 16:23:04.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (pyusb-0.4.2.tar.gz) = 5667a00af1ac0d5062103b4512e227f8
-SHA256 (pyusb-0.4.2.tar.gz) = 121294da4c58d10bbb84404f27d5bdd75713a0b37ae38c8a873008c0b39e3dfe
-SIZE (pyusb-0.4.2.tar.gz) = 15801
+MD5 (pyusb-0.4.3.tar.gz) = a1a43bc6407caccbc22073c56439aa06
+SHA256 (pyusb-0.4.3.tar.gz) = 3c08b292886b7001ab088345af4d0dfe3e7d37bfc4b2bdcd7edb564ea3ef04d5
+SIZE (pyusb-0.4.3.tar.gz) = 16242
diff -ruN --exclude=CVS /usr/ports/devel/py-usb/pkg-plist /tmp/py-usb/pkg-plist
--- /usr/ports/devel/py-usb/pkg-plist 1970-01-01 01:00:00.000000000 +0100
+++ /tmp/py-usb/pkg-plist 2010-09-21 16:11:31.000000000 +0200
@@ -0,0 +1,5 @@
+ at comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/usb.so
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/usbenum.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/usbprint.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
--- py26-usb-0.4.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list