You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
43 lines
1.3 KiB
Tcl
43 lines
1.3 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
|
|
|
|
# Note: update py-types-ujson to match
|
|
name py-ujson
|
|
version 5.12.0
|
|
revision 0
|
|
|
|
categories-append devel
|
|
license BSD
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Ultra fast JSON encoder and decoder for Python
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/ultrajson/ultrajson
|
|
|
|
checksums rmd160 f0b52242b497bfa5cdb53f56cd0842b0647ccec1 \
|
|
sha256 14b2e1eb528d77bc0f4c5bd1a7ebc05e02b5b41beefb7e8567c9675b8b13bcf4 \
|
|
size 7158451
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
if {[string match *clang* ${configure.compiler}] && ${configure.cxx_stdlib} ne ""} {
|
|
configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
|
|
}
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/README.*] \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|