Files
Fred Wright 4e47e08f12 py-serial: Update to v3.5.
Also adds back py34 subport, since upstream supports it and it's
sometimes useful for testing.

TESTED:
Using gpsd's ubxtool, tested with Python 2.7 and 3.4-3.9, on 10.4-10.5
ppc, 10.4-10.6 i386, and 10.5-10.15 x86_64.
2020-12-17 02:40:30 +01:00

50 lines
1.8 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 github 1.0
PortGroup python 1.0
github.setup pyserial pyserial 3.5 v
revision 0
name py-serial
categories-append comms
platforms darwin
supported_archs noarch
license BSD
maintainers {fwright.net:fw @fhgwright} openmaintainer
description Python Serial Port Extension
long_description This module encapsulates 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.
checksums rmd160 ee56e22c15af484b72b65d445a4fe8a2aeee0cd0 \
sha256 80125f950a620bd0a31cfa18f5eda0df77e0bed2accc2bb7a76ab650ff63afa9 \
size 155864
python.versions 27 34 35 36 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
post-destroot {
xinstall -m 0644 -W ${worksrcpath} CHANGES.rst LICENSE.txt README.rst \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -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
}