Files
2026-04-06 09:34:33 -04:00

50 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-thinc
version 8.3.13
revision 0
checksums rmd160 9635cf21ae7bbc8d107d164e7f8728de74222f47 \
sha256 68e658549fc1eb3ff92aed5147fcbb9c15d6e9cc0e623b4d0998d16522ffb4f9 \
size 194640
license MIT
maintainers {jonesc @cjones051073} openmaintainer
description spaCy's Machine Learning library for NLP in Python
long_description {*}${description}
homepage https://github.com/explosion/thinc
python.versions 310 311 312 313 314
# Compiler selection
compiler.cxx_standard 2011
compiler.blacklist-append *gcc-4.* {clang < 900} {macports-clang-3.[0-9]} macports-clang-4.0
# Fix Cython 3.2 compatibility: axpy callback type needs noexcept
patchfiles-append patch-cython3-noexcept.diff
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-cython
depends_lib-append \
port:py${python.version}-blis \
port:py${python.version}-catalogue \
port:py${python.version}-confection \
port:py${python.version}-cymem \
port:py${python.version}-murmurhash \
port:py${python.version}-numpy \
port:py${python.version}-packaging \
port:py${python.version}-preshed \
port:py${python.version}-pydantic \
port:py${python.version}-setuptools \
port:py${python.version}-srsly \
port:py${python.version}-wasabi
}