Ticket #34234: py-serial.diff
File py-serial.diff, 2.5 KB (added by nerdling (Jeremy Lavergne), 13 years ago) |
---|
-
Portfile
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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 5 PortGroup python 1.0 4 6 5 PortGroup python24 1.06 7 name py-serial 7 version 2.2 8 revision 1 8 version 2.6 9 python.versions 24 25 26 27 31 32 10 python.default_version 24 9 11 categories python comms 10 12 platforms darwin 11 maintainers vercruesse.de:opendarwin.nospam 13 maintainers vercruesse.de:opendarwin.nospam macsforever2000 14 license PSF 12 15 description Python Serial Port Extension 13 16 long_description This module incapsulates the access for the serial port. \ 14 17 It provides backends for standard Python running on Windows, \ … … 16 19 The module named "serial" automatically selects the appropriate \ 17 20 backend. 18 21 homepage http://pyserial.sourceforge.net/ 19 master_sites sourceforge:pyserial22 master_sites http://pypi.python.org/packages/source/p/pyserial 20 23 distname pyserial-${version} 21 use_zip yes22 checksums md5 14e774b7b6e5aa52820f0590d3b8c4d923 24 24 post-destroot { 25 xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ 26 ${destroot}${prefix}/share/doc/${name} 27 xinstall -m 644 -W ${worksrcpath}/examples enhancedserial.py miniterm.py \ 28 scan.py setup_demo.py tcp_serial_redirect.py test.py test_advanced.py \ 29 test_high_load.py wxSerialConfigDialog.py wxSerialConfigDialog.wxg \ 30 wxTerminal.py wxTerminal.wxg \ 31 ${destroot}${prefix}/share/doc/${name}/examples 25 checksums rmd160 a544cb4ac0dad2c7f93855f1db1be102cdb1e9cc \ 26 sha256 049dbcda0cd475d3be903e721d60889ee2cc4ec3b62892a81ecef144196413ed 27 28 if {${subport} != ${name}} { 29 post-destroot { 30 xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ 31 ${destroot}${prefix}/share/doc/${name} 32 xinstall -m 644 -W ${worksrcpath}/examples enhancedserial.py miniterm.py \ 33 scan.py setup_demo.py tcp_serial_redirect.py test.py test_advanced.py \ 34 test_high_load.py wxSerialConfigDialog.py wxSerialConfigDialog.wxg \ 35 wxTerminal.py wxTerminal.wxg \ 36 ${destroot}${prefix}/share/doc/${name}/examples 37 } 38 livecheck.type none 39 } else { 40 livecheck.url http://pypi.python.org/pypi/pyserial 41 livecheck.regex pyserial-(\\d+(\\.\\d+)+) 32 42 }