# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-epsilon
set gname           epsilon
version             0.7.1
revision            1
license             MIT
categories-append   databases
platforms           darwin
supported_archs     noarch

maintainers         nomaintainer

description         Epsilon is a set of Python utility modules

long_description    ${description}

homepage            https://pypi.python.org/pypi/Epsilon
master_sites        debian:e/${gname}

distname            ${gname}_${version}.orig

checksums           rmd160  81039845501756e58afc780ceca0378e03b6da12 \
                    sha256  419ab2de80e6b201455775a939c158259af90695e59474a4a7bb3cd522a7193b

worksrcdir          Epsilon-${version}

# currently only supports python27

python.default_version  27
python.versions     27


if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-twisted \
                            port:py${python.version}-openssl
}

livecheck.type      regex
livecheck.url       http://ftp.us.debian.org/debian/pool/main/e/${gname}/
livecheck.regex     "${gname}_(\\d+(?:\\.\\d+)*)\\.orig${extract.suffix}"
