ports/112641: [NEW PORT] devel/pyusb: Python wrapper around libusb

R.Mahmatkhanov R.Mahmatkhanov at SKYLINK.ru
Sun May 13 20:00:11 UTC 2007


>Number:         112641
>Category:       ports
>Synopsis:       [NEW PORT] devel/pyusb: Python wrapper around libusb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 13 20:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     R.Mahmatkhanov
>Release:        6.2-STABLE
>Organization:
SkyLink
>Environment:
FreeBSD 6.2-STABLE i386
>Description:
PyUSB is a native Python module written in C (meanwhile, because the next major
version will use ctypes), that provides USB access for it.

- Wander Lairson
wander.lairson at gmail.com

WWW: http://pyusb.berlios.de/

Generated with FreeBSD Port Tools 0.77

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pyusb
#	pyusb/pkg-descr
#	pyusb/Makefile
#	pyusb/distinfo
#
echo c - pyusb
mkdir -p pyusb > /dev/null 2>&1
echo x - pyusb/pkg-descr
sed 's/^X//' >pyusb/pkg-descr << 'END-of-pyusb/pkg-descr'
XPyUSB is a native Python module written in C (meanwhile, because the next major
Xversion will use ctypes), that provides USB access for it.
X
X- Wander Lairson
Xwander.lairson at gmail.com
X
XWWW: http://pyusb.berlios.de/
END-of-pyusb/pkg-descr
echo x - pyusb/Makefile
sed 's/^X//' >pyusb/Makefile << 'END-of-pyusb/Makefile'
X# New ports collection makefile for:	pyusb
X# Date created:		2007-05-13
X# Whom:			R.Mahmatkhanov <R.Mahmatkhanov at SKYLINK.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pyusb
XPORTVERSION=	0.3.5
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		${MASTER_SITE_BERLIOS}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	R.Mahmatkhanov at SKYLINK.ru
XCOMMENT=	Python wrapper around libusb
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libusb.so:${PORTSDIR}/devel/libusb
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XUSE_PYTHON=     yes
XUSE_PYDISTUTILS=	yes
XPLIST_FILES=    %%PYTHON_SITELIBDIR%%/usb.so
X
X.include <bsd.port.mk>
END-of-pyusb/Makefile
echo x - pyusb/distinfo
sed 's/^X//' >pyusb/distinfo << 'END-of-pyusb/distinfo'
XMD5 (pyusb-0.3.5.tar.gz) = 785dec85737453304ec216bbbb10e939
XSHA256 (pyusb-0.3.5.tar.gz) = aa75f557ca4332d729fd2a245db41537204fe03180b38f949a51bd3d570c85a0
XSIZE (pyusb-0.3.5.tar.gz) = 22478
END-of-pyusb/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list