# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 set real_name leveldb name py-${real_name} version 0.193 categories-append databases maintainers hum openmaintainer license BSD platforms darwin description Python bindings for leveldb database library long_description ${description} homepage https://code.google.com/p/py-leveldb/ master_sites pypi:l/${real_name}/ checksums rmd160 368f83cfea487bd9ce90a3904a158e33b68b709e \ sha256 db71c26b53a4c9b70721069646bdd3dddc65459be32a80e2dfea2ebed0c5c641 distname ${real_name}-${version} python.versions 27 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:snappy livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${real_name} livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" }