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

Last change on this file was 130820, checked in by larryv@…, 3 years ago

py{25,31,32}-swap: Replace with py{27,34}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
2# $Id: Portfile 130820 2015-01-02 21:39:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-swap
8version             0.1.2
9categories-append   devel
10platforms           darwin
11maintainers         g5pw openmaintainer
12description         A Python library to communicate with SWAP networks through a panStamp.
13long_description    ${description}
14
15homepage            http://www.panstamp.com/
16
17python.versions     26 27 33 34
18
19if {${name} ne ${subport}} {
20
21    fetch.type          svn
22    svn.url             http://panstamp.googlecode.com/svn/trunk/python/pyswap
23    svn.revision        714
24
25
26    depends_lib     port:py${python.version}-serial
27   
28    worksrcdir      pyswap/src
29   
30    post-destroot   {
31        file mkdir ${destroot}${prefix}/share/doc/${subport}/html
32        eval copy [glob ${worksrcpath}/../doc/*] ${destroot}${prefix}/share/doc/${subport}/html
33        xinstall -m 644 -W ${worksrcpath} readme.py ${destroot}${prefix}/share/doc/${subport}
34    }
35
36}
37
38livecheck.type  none
Note: See TracBrowser for help on using the repository browser.