You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
42 lines
1.2 KiB
Tcl
42 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-pyicu
|
|
version 2.16.2
|
|
revision 0
|
|
|
|
categories-append textproc
|
|
license MIT
|
|
maintainers nomaintainer
|
|
|
|
description Python extension wrapping the ICU C++ API
|
|
long_description {*}${description}
|
|
|
|
homepage https://gitlab.pyicu.org/main/pyicu
|
|
|
|
checksums rmd160 060dad62216940106284a98faa6505590d408f4d \
|
|
sha256 006d51e24b5ec76df6ec2130f3dde269c51db8b8cfebb7d45a427dde0d10aa52 \
|
|
size 268223
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append path:lib/pkgconfig/icu-uc.pc:icu
|
|
|
|
# ICU requires C++17
|
|
compiler.cxx_standard 2017
|
|
|
|
depends_test-append port:py${python.version}-six
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md \
|
|
CHANGES ${destroot}${docdir}
|
|
}
|
|
}
|