You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.4 KiB
Tcl
44 lines
1.4 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-tzlocal
|
|
version 5.4.3
|
|
revision 0
|
|
|
|
license MIT
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
maintainers nomaintainer
|
|
|
|
description tzinfo object for the local timezone
|
|
long_description This Python module returns a tzinfo object with the local \
|
|
timezone information under Unix and Win-32. It requires \
|
|
pytz, and returns pytz tzinfo objects.
|
|
|
|
homepage https://github.com/regebro/tzlocal
|
|
|
|
checksums rmd160 f0985c3947baf1d0552c48e9398bc55b8ab9942a \
|
|
sha256 3a8c9bc18cf47e1dcde252ea0e6a72a6cde320a400b6ac6db1f1f8cccd553c00 \
|
|
size 30873
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if { $name ne $subport } {
|
|
depends_lib-append \
|
|
port:py${python.version}-pytzdata
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-pytest-mock
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
|
|
CHANGES.txt ${destroot}${docdir}
|
|
}
|
|
}
|