source: trunk/dports/python/py-pyusb-devel/Portfile

Last change on this file was 141263, checked in by ryandesign@…, 22 months ago

py-pyusb-devel: update to 1.0.0b2 (#49255)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 141263 2015-10-13 23:38:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        walac pyusb 1.0.0b2
9name                py-pyusb-devel
10epoch               1
11categories-append   devel
12platforms           darwin
13supported_archs     noarch
14license             BSD
15maintainers         nomaintainer
16description         Python library to provide easy USB device access
17long_description    The PyUSB module provides Python with easy access to \
18                    the host machine's Universal Serial Bus (USB) system
19
20homepage            https://walac.github.io/pyusb/
21
22checksums           rmd160  2f6ba3c572410110339ef1776786b70d34b8810c \
23                    sha256  c4caba4e049d6d124ea911b89e4c4b781cc516f8b5a6d7fa82e5159bc2224a4d
24
25python.versions 27
26
27if {${name} ne ${subport}} {
28    conflicts           py${python.version}-pyusb
29
30    depends_run-append  path:lib/pkgconfig/libusb-1.0.pc:libusb
31
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath} README.rst ReleaseNotes.rst LICENSE docs/tutorial.rst \
35            ${destroot}${prefix}/share/doc/${subport}
36    }
37}
Note: See TracBrowser for help on using the repository browser.