Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.27 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0
github.setup walac pyusb 1.0.0b2
name py-pyusb-devel
epoch 1
categories-append devel
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer
description Python library to provide easy USB device access
long_description The PyUSB module provides Python with easy access to \
the host machine's Universal Serial Bus (USB) system
homepage https://walac.github.io/pyusb/
checksums rmd160 2f6ba3c572410110339ef1776786b70d34b8810c \
sha256 c4caba4e049d6d124ea911b89e4c4b781cc516f8b5a6d7fa82e5159bc2224a4d
python.versions 27
if {${name} ne ${subport}} {
conflicts py${python.version}-pyusb
depends_run-append path:lib/pkgconfig/libusb-1.0.pc:libusb
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} README.rst ReleaseNotes.rst LICENSE docs/tutorial.rst \
${destroot}${prefix}/share/doc/${subport}
}
}