You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
35 lines
1.2 KiB
Tcl
35 lines
1.2 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-pyrfc3339
|
|
set real_name pyRFC3339
|
|
version 1.1
|
|
python.versions 27 35 36 37 38 39
|
|
maintainers nomaintainer
|
|
license MIT
|
|
description pyRFC3339 parses and generates RFC 3339-compliant timestamps \
|
|
using Python datetime.datetime objects.
|
|
long_description ${description}
|
|
|
|
platforms darwin
|
|
|
|
homepage https://pypi.python.org/pypi/${real_name}/
|
|
master_sites pypi:p/${real_name}
|
|
distname ${real_name}-${version}
|
|
|
|
checksums rmd160 d4ebf6b20080d0ac704d524d66f027b7d171f47a \
|
|
sha256 81b8cbe1519cdb79bed04910dd6fa4e181faf8c88dff1e1b987b5f7ab23a5b1a \
|
|
size 5290
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append port:py${python.version}-setuptools
|
|
depends_lib-append port:py${python.version}-tz
|
|
|
|
depends_test-append port:py${python.version}-nose
|
|
test.run yes
|
|
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
|
|
|
|
}
|