1PORTNAME= SudachiPy 2DISTVERSIONPREFIX= v 3DISTVERSION= 0.6.10 4PORTREVISION= 4 5CATEGORIES= japanese python 6#MASTER_SITES= PYPI 7PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} 8 9MAINTAINER= ports@MidnightBSD.org 10COMMENT= Implementation of Sudachi, a Japanese morphological analyzer 11WWW= https://github.com/WorksApplications/sudachi.rs 12 13LICENSE= Apache-2.0 14 15BROKEN_i386= compilation fails: error[E0425]: cannot find value `SEED` in this scope ; constant `crate::hash::SEED` exists but is inaccessible, see https://github.com/WorksApplications/sudachi.rs/issues/298 16 17BUILD_DEPENDS= ${PY_SETUPTOOLS} \ 18 ${PYTHON_PKGNAMEPREFIX}setuptools-rust>0:devel/py-setuptools-rust@${PY_FLAVOR} \ 19 ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ 20 ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} 21 22USES= cargo python 23USE_PYTHON= pep517 concurrent autoplist pytest 24 25USE_GITHUB= yes 26GH_ACCOUNT= WorksApplications 27GH_PROJECT= sudachi.rs 28 29WRKSRC_SUBDIR= python 30 31CARGO_CRATES= aho-corasick-1.1.3 \ 32 anes-0.1.6 \ 33 anstream-0.6.18 \ 34 anstyle-1.0.10 \ 35 anstyle-parse-0.2.6 \ 36 anstyle-query-1.1.2 \ 37 anstyle-wincon-3.0.6 \ 38 arbitrary-1.4.1 \ 39 autocfg-1.0.1 \ 40 bit-set-0.5.3 \ 41 bit-vec-0.6.3 \ 42 bitflags-2.7.0 \ 43 bumpalo-3.16.0 \ 44 cast-0.3.0 \ 45 cfg-if-1.0.0 \ 46 ciborium-0.2.2 \ 47 ciborium-io-0.2.2 \ 48 ciborium-ll-0.2.2 \ 49 claim-0.5.0 \ 50 clap-4.5.26 \ 51 clap_builder-4.5.26 \ 52 clap_derive-4.5.24 \ 53 clap_lex-0.7.4 \ 54 colorchoice-1.0.3 \ 55 criterion-0.5.1 \ 56 criterion-plot-0.5.0 \ 57 crossbeam-deque-0.8.6 \ 58 crossbeam-epoch-0.9.18 \ 59 crossbeam-utils-0.8.21 \ 60 crunchy-0.2.2 \ 61 csv-1.3.1 \ 62 csv-core-0.1.11 \ 63 either-1.13.0 \ 64 equivalent-1.0.1 \ 65 errno-0.3.10 \ 66 fancy-regex-0.13.0 \ 67 fastrand-2.3.0 \ 68 getrandom-0.2.15 \ 69 half-2.4.1 \ 70 hashbrown-0.15.2 \ 71 heck-0.5.0 \ 72 hermit-abi-0.4.0 \ 73 honggfuzz-0.5.56 \ 74 indexmap-2.7.0 \ 75 indoc-2.0.5 \ 76 is-terminal-0.4.13 \ 77 is_terminal_polyfill-1.70.1 \ 78 itertools-0.10.5 \ 79 itertools-0.13.0 \ 80 itoa-1.0.14 \ 81 js-sys-0.3.76 \ 82 lazy_static-1.5.0 \ 83 libc-0.2.169 \ 84 libloading-0.8.6 \ 85 linux-raw-sys-0.4.15 \ 86 log-0.4.22 \ 87 memchr-2.7.4 \ 88 memmap2-0.9.5 \ 89 memoffset-0.9.1 \ 90 minimal-lexical-0.2.1 \ 91 nom-7.1.3 \ 92 num-traits-0.2.19 \ 93 once_cell-1.20.2 \ 94 oorandom-11.1.4 \ 95 plotters-0.3.7 \ 96 plotters-backend-0.3.7 \ 97 plotters-svg-0.3.7 \ 98 portable-atomic-1.10.0 \ 99 proc-macro2-1.0.93 \ 100 pyo3-0.23.4 \ 101 pyo3-build-config-0.23.4 \ 102 pyo3-ffi-0.23.4 \ 103 pyo3-macros-0.23.4 \ 104 pyo3-macros-backend-0.23.4 \ 105 quote-1.0.38 \ 106 rayon-1.10.0 \ 107 rayon-core-1.12.1 \ 108 regex-1.11.1 \ 109 regex-automata-0.4.9 \ 110 regex-syntax-0.8.5 \ 111 rustc_version-0.4.1 \ 112 rustix-0.38.43 \ 113 ryu-1.0.18 \ 114 same-file-1.0.6 \ 115 scopeguard-1.2.0 \ 116 semver-1.0.24 \ 117 serde-1.0.217 \ 118 serde_derive-1.0.217 \ 119 serde_json-1.0.135 \ 120 strsim-0.11.1 \ 121 syn-2.0.96 \ 122 target-lexicon-0.12.16 \ 123 tempfile-3.15.0 \ 124 thiserror-1.0.69 \ 125 thiserror-impl-1.0.69 \ 126 thread_local-1.1.8 \ 127 tinytemplate-1.2.1 \ 128 tinyvec-1.8.1 \ 129 tinyvec_macros-0.1.1 \ 130 unicode-ident-1.0.14 \ 131 unicode-normalization-0.1.24 \ 132 unindent-0.2.3 \ 133 utf8parse-0.2.2 \ 134 walkdir-2.5.0 \ 135 wasi-0.11.0+wasi-snapshot-preview1 \ 136 wasm-bindgen-0.2.99 \ 137 wasm-bindgen-backend-0.2.99 \ 138 wasm-bindgen-macro-0.2.99 \ 139 wasm-bindgen-macro-support-0.2.99 \ 140 wasm-bindgen-shared-0.2.99 \ 141 web-sys-0.3.76 \ 142 winapi-util-0.1.9 \ 143 windows-sys-0.52.0 \ 144 windows-sys-0.59.0 \ 145 windows-targets-0.52.6 \ 146 windows_aarch64_gnullvm-0.52.6 \ 147 windows_aarch64_msvc-0.52.6 \ 148 windows_i686_gnu-0.52.6 \ 149 windows_i686_gnullvm-0.52.6 \ 150 windows_i686_msvc-0.52.6 \ 151 windows_x86_64_gnu-0.52.6 \ 152 windows_x86_64_gnullvm-0.52.6 \ 153 windows_x86_64_msvc-0.52.6 \ 154 yada-0.5.1 155 156CARGO_BUILD= no 157CARGO_INSTALL= no 158 159# The sudachipy executable fails, see https://github.com/WorksApplications/sudachi.rs/issues/270 160 161.include <bsd.port.mk> 162