<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8ad39bfe4311d6b7b56c3f4ee3dfdff575cd8cf5">https://github.com/macports/macports-ports/commit/8ad39bfe4311d6b7b56c3f4ee3dfdff575cd8cf5</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8ad39bfe431 py-libusb1: new port (3.1.0)
</span>8ad39bfe431 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8ad39bfe4311d6b7b56c3f4ee3dfdff575cd8cf5
</span>Author: Keto <therealketo@gmail.com>
AuthorDate: Thu Nov 9 02:32:00 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-libusb1: new port (3.1.0)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/51702
</span>---
python/py-libusb1/Portfile | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libusb1/Portfile b/python/py-libusb1/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..52898b7f847
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libusb1/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-libusb1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories python devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms {darwin any}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Pure Python wrapper for libusb-1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}. Supports all transfer types, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ both in synchronous and asynchronous mode.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/vpelletier/python-libusb1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a1757aa095e386ef6ec416940e6ebb83ca6a5ded \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 83013
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38 39 310 311 312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append lib:libusb-1.0:libusb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}[glob -directory ${worksrcpath}/examples *] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/examples/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>