You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
35 lines
1.2 KiB
Tcl
35 lines
1.2 KiB
Tcl
# -*- 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
|
|
|
|
name py-libusb1
|
|
version 3.1.0
|
|
categories python devel
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license LGPL-2.1+
|
|
maintainers nomaintainer
|
|
description Pure Python wrapper for libusb-1.0
|
|
long_description {*}${description}. Supports all transfer types, \
|
|
both in synchronous and asynchronous mode.
|
|
|
|
homepage https://github.com/vpelletier/python-libusb1
|
|
|
|
checksums rmd160 a1757aa095e386ef6ec416940e6ebb83ca6a5ded \
|
|
sha256 4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c \
|
|
size 83013
|
|
|
|
python.versions 310 311 312
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append lib:libusb-1.0:libusb
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/examples/${name}
|
|
xinstall -m 0644 \
|
|
{*}[glob -directory ${worksrcpath}/examples *] \
|
|
${destroot}${prefix}/share/examples/${name}
|
|
}
|
|
}
|