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

Last change on this file was 150724, checked in by petr@…, 12 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-progressbar
7version         2.3
8license         LGPL-2.1+
9maintainers     nomaintainer
10platforms       darwin
11supported_archs noarch
12
13description     Text progressbar library for python
14
15long_description \
16    This library provides a text mode progressbar. This is typically used to \
17    display the progress of a long running operation, providing a visual clue \
18    that processing is underway.
19
20categories-append \
21    devel
22
23homepage        http://code.google.com/p/python-progressbar/
24master_sites    googlecode:python-progressbar
25distname        progressbar-${version}
26
27checksums           rmd160  54da4c737c6e012804fcbca215f4be196b441a4a \
28                    sha256  00a316c1a99b70a803d7430fd088da24f37dbfb64f81c4772b97fbc1e8031de4
29
30python.versions     27
31
32if {${name} ne ${subport}} {
33    depends_build     port:py${python.version}-setuptools
34
35    post-destroot {
36        set docdir ${prefix}/share/doc/${subport}
37        xinstall -d ${destroot}${docdir}
38        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt ${destroot}${docdir}
39    }
40
41    livecheck.type      none
42} else {
43    livecheck.regex     python-progressbar.googlecode.com/files/progressbar-(\\d(\\.\\d+)+)
44}
Note: See TracBrowser for help on using the repository browser.