# -*- 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
# $Id: Portfile 86375 2011-10-24 23:18:58Z devans@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-epsilon
set gname           epsilon
version             0.6.0
license             MIT
categories-append   database
platforms           darwin
supported_archs     noarch

maintainers         devans openmaintainer

description         Epsilon is a set of Python utility modules

long_description    ${description}

homepage            http://packages.debian.org/squeeze/python/python-epsilon
master_sites        debian:e/${gname}

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

checksums           sha1    416b6f46c5dced312e87eecb306d5cc7b28dd322 \
                    sha256  2be3a6ef877c4e17ca9dadd6b484fe31bdf16c20b949ec6a8b15677e08c512fa

worksrcdir          Epsilon-${version}

python.default_version  27
python.versions     25 26 27


if {$subport != $name} {
    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}"
