[144483] trunk/dports/python/py-serial/Portfile

khindenburg at macports.org khindenburg at macports.org
Sat Jan 9 17:49:36 PST 2016


Revision: 144483
          https://trac.macports.org/changeset/144483
Author:   khindenburg at macports.org
Date:     2016-01-09 17:49:36 -0800 (Sat, 09 Jan 2016)
Log Message:
-----------
py-serial: update to 3.0; move to github; add maintainer; fix license #49664

Modified Paths:
--------------
    trunk/dports/python/py-serial/Portfile

Modified: trunk/dports/python/py-serial/Portfile
===================================================================
--- trunk/dports/python/py-serial/Portfile	2016-01-10 00:52:46 UTC (rev 144482)
+++ trunk/dports/python/py-serial/Portfile	2016-01-10 01:49:36 UTC (rev 144483)
@@ -1,41 +1,45 @@
 # -*- 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
 # $Id$
 
-PortSystem 1.0
+
+PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 
+github.setup        pyserial pyserial 3.0 v
 name                py-serial
-version             2.7
-python.versions     27 34
 categories-append   comms
 platforms           darwin
-maintainers         nomaintainer
-license             PSF
+maintainers         twinleaf.com:maintainers \
+                    openmaintainer
+license             BSD
 description         Python Serial Port Extension
 long_description    This module incapsulates the access for the serial port. \
                     It provides backends for standard Python running on Windows, \
                     Linux, BSD (possibly any POSIX compliant system) and Jython. \
                     The module named "serial" automatically selects the appropriate \
                     backend.
-homepage            http://pyserial.sourceforge.net/
-master_sites        http://pypi.python.org/packages/source/p/pyserial
-distname            pyserial-${version}
 
-checksums           rmd160  b86758d74e8f3cd61430bf7d76db496ae732f257 \
-                    sha256  3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477
+checksums           rmd160  6e5466e785a61d42ff9d1de2e4bfa0cf059eb02d \
+                    sha256  1e4043a9b02849c3bea778c7a3c53aec17e3465643f199732f2febbf2d01b5a9
 
+python.versions     27 34 35
+
 if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
     post-destroot {
-        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
+        xinstall -m 644 -W ${worksrcpath} CHANGES.rst LICENSE.txt README.rst \
             ${destroot}${prefix}/share/doc/${subport}
-        xinstall -m 644 -W ${worksrcpath}/examples enhancedserial.py \
-            scan.py tcp_serial_redirect.py \
+        xinstall -m 644 -W ${worksrcpath}/examples \
+            at_protocol.py \
+            port_publisher.py \
+            port_publisher.sh \
+            rfc2217_server.py \
+            tcp_serial_redirect.py \
             wxSerialConfigDialog.py wxSerialConfigDialog.wxg \
             wxTerminal.py wxTerminal.wxg \
             ${destroot}${prefix}/share/doc/${subport}/examples
     }
     livecheck.type      none
-} else {
-    livecheck.url       http://pypi.python.org/pypi/pyserial
-    livecheck.regex     pyserial-(\\d+(\\.\\d+)+)
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160109/030916f3/attachment.html>


More information about the macports-changes mailing list