source: trunk/dports/python/py-serial/Portfile

Last change on this file was 144483, checked in by khindenburg@…, 21 months ago

py-serial: update to 3.0; move to github; add maintainer; fix license #49664

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 144483 2016-01-10 01:49:36Z ryandesign@macports.org $
3
4
5PortSystem          1.0
6PortGroup           github 1.0
7PortGroup           python 1.0
8
9github.setup        pyserial pyserial 3.0 v
10name                py-serial
11categories-append   comms
12platforms           darwin
13maintainers         twinleaf.com:maintainers \
14                    openmaintainer
15license             BSD
16description         Python Serial Port Extension
17long_description    This module incapsulates the access for the serial port. \
18                    It provides backends for standard Python running on Windows, \
19                    Linux, BSD (possibly any POSIX compliant system) and Jython. \
20                    The module named "serial" automatically selects the appropriate \
21                    backend.
22
23checksums           rmd160  6e5466e785a61d42ff9d1de2e4bfa0cf059eb02d \
24                    sha256  1e4043a9b02849c3bea778c7a3c53aec17e3465643f199732f2febbf2d01b5a9
25
26python.versions     27 34 35
27
28if {${name} ne ${subport}} {
29    depends_build-append    port:py${python.version}-setuptools
30
31    post-destroot {
32        xinstall -m 644 -W ${worksrcpath} CHANGES.rst LICENSE.txt README.rst \
33            ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath}/examples \
35            at_protocol.py \
36            port_publisher.py \
37            port_publisher.sh \
38            rfc2217_server.py \
39            tcp_serial_redirect.py \
40            wxSerialConfigDialog.py wxSerialConfigDialog.wxg \
41            wxTerminal.py wxTerminal.wxg \
42            ${destroot}${prefix}/share/doc/${subport}/examples
43    }
44    livecheck.type      none
45}
Note: See TracBrowser for help on using the repository browser.