You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
71 lines
2.6 KiB
Tcl
71 lines
2.6 KiB
Tcl
# -*- 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-tempora
|
|
version 4.0.1
|
|
revision 0
|
|
|
|
categories-append devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
|
|
maintainers {khindenburg @kurthindenburg} openmaintainer
|
|
|
|
description Objects and routines pertaining to date and time (tempora)
|
|
long_description ${description}
|
|
|
|
homepage https://pypi.python.org/pypi/${python.rootname}
|
|
|
|
distname ${python.rootname}-${version}
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
|
|
checksums rmd160 aa8824bdc291c6763fce61dcf46d722b67638ecf \
|
|
sha256 9af06854fafb26d3d40d3dd6402e8baefaf57f90e48fdc9a94f6b22827a60fb3 \
|
|
size 20978
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append port:py${python.version}-setuptools_scm
|
|
depends_lib-append port:py${python.version}-jaraco.functools \
|
|
port:py${python.version}-tz \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-six \
|
|
port:py${python.version}-toml
|
|
|
|
if {${python.version} < 36} {
|
|
version 1.14.1
|
|
revision 2
|
|
# Below distname is required for this to work
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 7dac285c19fc780e630536bf456d6c7c37c10e15 \
|
|
sha256 cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6 \
|
|
size 19383
|
|
|
|
depends_test-append port:py${python.version}-py \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-freezegun
|
|
test.run yes
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
|
|
livecheck.type none
|
|
}
|
|
|
|
depends_test-append port:py${python.version}-py \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-freezegun
|
|
test.run yes
|
|
test.args -o addopts=''
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
|
|
livecheck.type none
|
|
}
|