Files

34 lines
1.1 KiB
Plaintext

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
set my_name Baker
name py-[string tolower ${my_name}]
version 1.3
python.versions 27 35 36
maintainers {g5pw @g5pw} openmaintainer
license Apache-2
description Easy, powerful access to Python functions from the \
command line.
long_description ${description}
platforms darwin
supported_archs noarch
homepage https://pypi.python.org/pypi/${my_name}
master_sites pypi:B/${my_name}/
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
distname ${my_name}-${version}
checksums rmd160 9fe09881a78c1234979094d082fda204aa6d21eb \
sha256 2d81e99af7d7d6441297a0c13de023fe3f1510718e89d2baacea917ee09d154d
livecheck.type none
} else {
livecheck.type regex
livecheck.regex "${my_name}-(\\d+(\\.\\d+){1,2})${extract.suffix}"
}