Ticket #53639: Portfile

File Portfile, 2.0 KB (added by esafak (Emre Şafak), 7 years ago)
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
3PortSystem          1.0
4PortGroup           python 1.0
5
6set base_name       agate
7name                py-$base_name
8version             1.5.5
9python.versions     27 34 35 36
10platforms           darwin
11maintainers         esafak
12license             MIT
13
14description         A Python data analysis library that is optimized for humans instead of machines
15long_description    \
16    agate is a Python data analysis library that is optimized for humans instead of machines. \
17    It is an alternative to numpy and pandas that solves real-world problems with readable code.
18
19homepage            https://pypi.python.org/pypi/$base_name
20master_sites        pypi:a/$base_name
21
22checksums           rmd160  987dd4a63607712e9a27fcb03d73b710e4d06b4c \
23                    sha256  2861da5ef44a442a2225f0945a8ddce67ba4653622bf55b22f793a7b7fd95265
24
25distname            $base_name-${version}
26
27if {${name} ne ${subport}} {
28    livecheck.type      none
29
30    depends_build-append port:py${python.version}-setuptools \
31                        port:py${python.version}-nose \
32                        port:py${python.version}-tox \
33                        port:py${python.version}-sphinx \
34                        port:py${python.version}-coverage \
35                        port:py${python.version}-sphinx_rtd_theme
36
37    depends_lib-append  port:py${python.version}-six \
38                        port:py${python.version}-babel \
39                        port:py${python.version}-parsedatetime \
40                        port:py${python.version}-tz \
41                        port:py${python.version}-isodate \
42                        port:py${python.version}-awesome_slugify \
43                        port:py${python.version}-lxml \
44                        port:py${python.version}-cssselect \
45                        port:py${python.version}-leather
46} else {
47    livecheck.type      regex
48    livecheck.url       ${homepage}
49    livecheck.regex     $base_name (\\d+(\\.\\d+)+)
50}