You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.8 KiB
Tcl
52 lines
1.8 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-pint
|
|
version 0.25.3
|
|
revision 0
|
|
|
|
categories-append science
|
|
license BSD
|
|
maintainers {mps @Schamschula} openmaintainer
|
|
description Pint: a Python units library
|
|
long_description Pint is Python module/package to define, operate and \
|
|
manipulate physical quantities: the product of a numerical \
|
|
value and a unit of measurement. It allows arithmetic \
|
|
operations between them and conversions from and to \
|
|
different units.
|
|
homepage https://pint.readthedocs.org/
|
|
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
checksums rmd160 78cf934546fa83c79113b2137480e318d13401bb \
|
|
sha256 f8f5df6cf65314d74da1ade1bf96f8e3e4d0c41b51577ac53c49e7d44ca5acee \
|
|
size 255106
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
python.pep517_backend \
|
|
hatch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-hatch-vcs
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-flexcache \
|
|
port:py${python.version}-flexparser \
|
|
port:py${python.version}-platformdirs \
|
|
port:py${python.version}-typing_extensions
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE \
|
|
README.rst ${destroot}${docdir}
|
|
}
|
|
|
|
test.run yes
|
|
}
|