<pre style='margin:0'>
Aljaž Srebrnič (g5pw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cf04e21bc12c07a3f413e0005ea0c19d8a9f6237">https://github.com/macports/macports-ports/commit/cf04e21bc12c07a3f413e0005ea0c19d8a9f6237</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cf04e21bc12c07a3f413e0005ea0c19d8a9f6237
</span>Author: Aljaž "g5pw" Srebrnič <g5pw@macports.org>
AuthorDate: Fri Dec 16 16:39:36 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> python/py-pyusb update to 1.0.0
</span>---
python/py-pyusb/Portfile | 33 +++++++++++++--------------------
1 file changed, 13 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyusb/Portfile b/python/py-pyusb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8bd9316..ae6dd75 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyusb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyusb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,10 +3,10 @@
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-pyusb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.4.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup walac pyusb 1.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-${name}
</span> categories-append devel
platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,32 +15,25 @@ description Python library to provide easy USB device access
</span> long_description The PyUSB module provides Python with easy access to \
the host machine's Universal Serial Bus (USB) system
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://pyusb.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:pyusb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname pyusb-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://walac.github.io/pyusb/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 a1a43bc6407caccbc22073c56439aa06 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 5a6729169e320e9dfb19c6af461eca6d45242787 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 803794e073dd0f052ec9c31f0d3210751403c85b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6a075e92cf9e119a032010bacb9893b8a08b6f7d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 406f56e4bb5acdb709492bfd81590242aaebbf42b2cd9dbc6f178277147fbdbc
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35
</span>
if {${name} ne ${subport}} {
conflicts py${python.version}-pyusb-devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:lib/pkgconfig/libusb.pc:libusb-compat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles setup.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append path:lib/pkgconfig/libusb-1.0.pc:libusb
</span>
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} README LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} README.rst ChangeLog \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LICENSE docs/tutorial.rst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ docs/faq.rst \
</span> ${destroot}${prefix}/share/doc/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval file copy [glob ${worksrcpath}/samples/*] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/examples/${subport}
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
</pre><pre style='margin:0'>
</pre>