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

Last change on this file was 148503, checked in by khindenburg@…, 17 months ago

py-urwid: add py35 #51350

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 148503 2016-05-11 01:26:14Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        urwid urwid 1.3.1 release-
9name                py-${name}
10platforms           darwin
11license             LGPL-2.1+
12maintainers         mdeaudelin.net:macports openmaintainer
13
14description             curses-based UI/widget library for Python
15long_description    \
16    Urwid is a curses-based UI/widget library for Python. It features fluid \
17    interface resizing, multiple text layout options, simple markup for \
18    attributes, powerful scrolling list boxes and flexible edit boxes.
19
20homepage            http://urwid.org/
21
22python.versions     26 27 33 34 35
23
24if {${name} ne ${subport}} {
25    checksums       rmd160  7c4d4d0ebdbdeade1c5724004069e0ec799346ec \
26                    sha256  59fa7e49336b63c39df08ceb4830a7d563c6b68f2879d8bfe87f90c73717b37a
27
28    if {[vercmp ${python.branch} 3.0] >= 0} {
29        depends_build-append port:py${python.version}-setuptools
30    }
31
32    post-destroot {
33        set docdir ${prefix}/share/doc/${subport}
34        xinstall -d ${destroot}${docdir}/examples
35        #xinstall -m 644 ${worksrcpath}/reference.html \
36        #    ${destroot}${docdir}
37        xinstall -m 644 -W ${worksrcpath}/examples \
38            browse.py calc.py edit.py fib.py tour.py \
39            ${destroot}${docdir}/examples
40    }
41
42    livecheck.type  none
43}
Note: See TracBrowser for help on using the repository browser.