diff options
Diffstat (limited to 'chinese/py-rjieba')
-rw-r--r-- | chinese/py-rjieba/Makefile | 34 | ||||
-rw-r--r-- | chinese/py-rjieba/Makefile.crates | 56 | ||||
-rw-r--r-- | chinese/py-rjieba/distinfo | 115 | ||||
-rw-r--r-- | chinese/py-rjieba/pkg-descr | 2 |
4 files changed, 207 insertions, 0 deletions
diff --git a/chinese/py-rjieba/Makefile b/chinese/py-rjieba/Makefile new file mode 100644 index 000000000000..3595389ca483 --- /dev/null +++ b/chinese/py-rjieba/Makefile @@ -0,0 +1,34 @@ +PORTNAME= rjieba +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.13 +CATEGORIES= chinese python +#MASTER_SITES= PYPI # doesn't get into distinfo +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Chinese words segmentation utilities +WWW= https://github.com/messense/rjieba-py + +LICENSE= MIT +LICENSE_FILES= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>0:devel/py-maturin@${PY_FLAVOR} + +USES= cargo python +USE_PYTHON= pep517 autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= messense +GH_PROJECT= rjieba-py + +CARGO_BUILD= no +CARGO_INSTALL= no +CARGO_TEST= no +CARGO_TARGET_DIR=${WRKSRC}/target + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +# tests as of 0.1.13: 6 passed in 2.03s + +.include <bsd.port.mk> diff --git a/chinese/py-rjieba/Makefile.crates b/chinese/py-rjieba/Makefile.crates new file mode 100644 index 000000000000..267794c953c7 --- /dev/null +++ b/chinese/py-rjieba/Makefile.crates @@ -0,0 +1,56 @@ +CARGO_CRATES= adler32-1.2.0 \ + ahash-0.8.11 \ + aho-corasick-1.1.3 \ + allocator-api2-0.2.21 \ + autocfg-1.4.0 \ + byteorder-1.5.0 \ + cc-1.2.9 \ + cedarwood-0.4.6 \ + cfg-if-1.0.0 \ + core2-0.4.0 \ + crc32fast-1.4.2 \ + dary_heap-0.3.7 \ + fxhash-0.2.1 \ + hashbrown-0.14.5 \ + heck-0.5.0 \ + include-flate-0.3.0 \ + include-flate-codegen-0.2.0 \ + indoc-2.0.5 \ + jieba-macros-0.7.1 \ + jieba-rs-0.7.1 \ + lazy_static-1.5.0 \ + libc-0.2.169 \ + libflate-2.1.0 \ + libflate_lz77-2.1.0 \ + memchr-2.7.4 \ + memoffset-0.9.1 \ + once_cell-1.20.2 \ + phf-0.11.3 \ + phf_codegen-0.11.3 \ + phf_generator-0.11.3 \ + phf_shared-0.11.3 \ + portable-atomic-1.10.0 \ + proc-macro2-1.0.93 \ + pyo3-0.23.4 \ + pyo3-build-config-0.23.4 \ + pyo3-ffi-0.23.4 \ + pyo3-macros-0.23.4 \ + pyo3-macros-backend-0.23.4 \ + python3-dll-a-0.2.12 \ + quote-1.0.38 \ + rand-0.8.5 \ + rand_core-0.6.4 \ + regex-1.11.1 \ + regex-automata-0.4.9 \ + regex-syntax-0.8.5 \ + rle-decode-fast-1.0.3 \ + shlex-1.3.0 \ + siphasher-1.0.1 \ + smallvec-1.13.2 \ + syn-2.0.96 \ + target-lexicon-0.12.16 \ + unicode-ident-1.0.14 \ + unindent-0.2.3 \ + version_check-0.9.5 \ + zerocopy-0.7.35 \ + zerocopy-derive-0.7.35 diff --git a/chinese/py-rjieba/distinfo b/chinese/py-rjieba/distinfo new file mode 100644 index 000000000000..ccda1074e6d3 --- /dev/null +++ b/chinese/py-rjieba/distinfo @@ -0,0 +1,115 @@ +TIMESTAMP = 1755498585 +SHA256 (rust/crates/adler32-1.2.0.crate) = aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234 +SIZE (rust/crates/adler32-1.2.0.crate) = 6411 +SHA256 (rust/crates/ahash-0.8.11.crate) = e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011 +SIZE (rust/crates/ahash-0.8.11.crate) = 43607 +SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 +SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311 +SHA256 (rust/crates/allocator-api2-0.2.21.crate) = 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 +SIZE (rust/crates/allocator-api2-0.2.21.crate) = 63622 +SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 +SIZE (rust/crates/autocfg-1.4.0.crate) = 17712 +SHA256 (rust/crates/byteorder-1.5.0.crate) = 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b +SIZE (rust/crates/byteorder-1.5.0.crate) = 23288 +SHA256 (rust/crates/cc-1.2.9.crate) = c8293772165d9345bdaaa39b45b2109591e63fe5e6fbc23c6ff930a048aa310b +SIZE (rust/crates/cc-1.2.9.crate) = 101156 +SHA256 (rust/crates/cedarwood-0.4.6.crate) = 6d910bedd62c24733263d0bed247460853c9d22e8956bd4cd964302095e04e90 +SIZE (rust/crates/cedarwood-0.4.6.crate) = 12726 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/core2-0.4.0.crate) = b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505 +SIZE (rust/crates/core2-0.4.0.crate) = 37075 +SHA256 (rust/crates/crc32fast-1.4.2.crate) = a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3 +SIZE (rust/crates/crc32fast-1.4.2.crate) = 38491 +SHA256 (rust/crates/dary_heap-0.3.7.crate) = 04d2cd9c18b9f454ed67da600630b021a8a80bf33f8c95896ab33aaf1c26b728 +SIZE (rust/crates/dary_heap-0.3.7.crate) = 24076 +SHA256 (rust/crates/fxhash-0.2.1.crate) = c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c +SIZE (rust/crates/fxhash-0.2.1.crate) = 4102 +SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1 +SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498 +SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea +SIZE (rust/crates/heck-0.5.0.crate) = 11517 +SHA256 (rust/crates/include-flate-0.3.0.crate) = df49c16750695486c1f34de05da5b7438096156466e7f76c38fcdf285cf0113e +SIZE (rust/crates/include-flate-0.3.0.crate) = 1072081 +SHA256 (rust/crates/include-flate-codegen-0.2.0.crate) = 8c5b246c6261be723b85c61ecf87804e8ea4a35cb68be0ff282ed84b95ffe7d7 +SIZE (rust/crates/include-flate-codegen-0.2.0.crate) = 2268 +SHA256 (rust/crates/indoc-2.0.5.crate) = b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5 +SIZE (rust/crates/indoc-2.0.5.crate) = 14396 +SHA256 (rust/crates/jieba-macros-0.7.1.crate) = 7c676b32a471d3cfae8dac2ad2f8334cd52e53377733cca8c1fb0a5062fec192 +SIZE (rust/crates/jieba-macros-0.7.1.crate) = 204683 +SHA256 (rust/crates/jieba-rs-0.7.1.crate) = 9a77d0ae8831f870c4f6ffce310f708b5273ea2e7a88e6af770a10d1b4876311 +SIZE (rust/crates/jieba-rs-0.7.1.crate) = 4114286 +SHA256 (rust/crates/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe +SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025 +SHA256 (rust/crates/libc-0.2.169.crate) = b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a +SIZE (rust/crates/libc-0.2.169.crate) = 757901 +SHA256 (rust/crates/libflate-2.1.0.crate) = 45d9dfdc14ea4ef0900c1cddbc8dcd553fbaacd8a4a282cf4018ae9dd04fb21e +SIZE (rust/crates/libflate-2.1.0.crate) = 43366 +SHA256 (rust/crates/libflate_lz77-2.1.0.crate) = e6e0d73b369f386f1c44abd9c570d5318f55ccde816ff4b562fa452e5182863d +SIZE (rust/crates/libflate_lz77-2.1.0.crate) = 5918 +SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 +SIZE (rust/crates/memchr-2.7.4.crate) = 96670 +SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a +SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 +SHA256 (rust/crates/once_cell-1.20.2.crate) = 1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775 +SIZE (rust/crates/once_cell-1.20.2.crate) = 33394 +SHA256 (rust/crates/phf-0.11.3.crate) = 1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078 +SIZE (rust/crates/phf-0.11.3.crate) = 23231 +SHA256 (rust/crates/phf_codegen-0.11.3.crate) = aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a +SIZE (rust/crates/phf_codegen-0.11.3.crate) = 13741 +SHA256 (rust/crates/phf_generator-0.11.3.crate) = 3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d +SIZE (rust/crates/phf_generator-0.11.3.crate) = 15431 +SHA256 (rust/crates/phf_shared-0.11.3.crate) = 67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5 +SIZE (rust/crates/phf_shared-0.11.3.crate) = 15199 +SHA256 (rust/crates/portable-atomic-1.10.0.crate) = 280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6 +SIZE (rust/crates/portable-atomic-1.10.0.crate) = 174760 +SHA256 (rust/crates/proc-macro2-1.0.93.crate) = 60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99 +SIZE (rust/crates/proc-macro2-1.0.93.crate) = 52388 +SHA256 (rust/crates/pyo3-0.23.4.crate) = 57fe09249128b3173d092de9523eaa75136bf7ba85e0d69eca241c7939c933cc +SIZE (rust/crates/pyo3-0.23.4.crate) = 1087676 +SHA256 (rust/crates/pyo3-build-config-0.23.4.crate) = 1cd3927b5a78757a0d71aa9dff669f903b1eb64b54142a9bd9f757f8fde65fd7 +SIZE (rust/crates/pyo3-build-config-0.23.4.crate) = 33885 +SHA256 (rust/crates/pyo3-ffi-0.23.4.crate) = dab6bb2102bd8f991e7749f130a70d05dd557613e39ed2deeee8e9ca0c4d548d +SIZE (rust/crates/pyo3-ffi-0.23.4.crate) = 74806 +SHA256 (rust/crates/pyo3-macros-0.23.4.crate) = 91871864b353fd5ffcb3f91f2f703a22a9797c91b9ab497b1acac7b07ae509c7 +SIZE (rust/crates/pyo3-macros-0.23.4.crate) = 8852 +SHA256 (rust/crates/pyo3-macros-backend-0.23.4.crate) = 43abc3b80bc20f3facd86cd3c60beed58c3e2aa26213f3cda368de39c60a27e4 +SIZE (rust/crates/pyo3-macros-backend-0.23.4.crate) = 70912 +SHA256 (rust/crates/python3-dll-a-0.2.12.crate) = 9b66f9171950e674e64bad3456e11bb3cca108e5c34844383cfe277f45c8a7a8 +SIZE (rust/crates/python3-dll-a-0.2.12.crate) = 83731 +SHA256 (rust/crates/quote-1.0.38.crate) = 0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc +SIZE (rust/crates/quote-1.0.38.crate) = 31252 +SHA256 (rust/crates/rand-0.8.5.crate) = 34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404 +SIZE (rust/crates/rand-0.8.5.crate) = 87113 +SHA256 (rust/crates/rand_core-0.6.4.crate) = ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c +SIZE (rust/crates/rand_core-0.6.4.crate) = 22666 +SHA256 (rust/crates/regex-1.11.1.crate) = b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191 +SIZE (rust/crates/regex-1.11.1.crate) = 254170 +SHA256 (rust/crates/regex-automata-0.4.9.crate) = 809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908 +SIZE (rust/crates/regex-automata-0.4.9.crate) = 618525 +SHA256 (rust/crates/regex-syntax-0.8.5.crate) = 2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c +SIZE (rust/crates/regex-syntax-0.8.5.crate) = 357541 +SHA256 (rust/crates/rle-decode-fast-1.0.3.crate) = 3582f63211428f83597b51b2ddb88e2a91a9d52d12831f9d08f5e624e8977422 +SIZE (rust/crates/rle-decode-fast-1.0.3.crate) = 62086 +SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 +SIZE (rust/crates/shlex-1.3.0.crate) = 18713 +SHA256 (rust/crates/siphasher-1.0.1.crate) = 56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d +SIZE (rust/crates/siphasher-1.0.1.crate) = 10351 +SHA256 (rust/crates/smallvec-1.13.2.crate) = 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67 +SIZE (rust/crates/smallvec-1.13.2.crate) = 35216 +SHA256 (rust/crates/syn-2.0.96.crate) = d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80 +SIZE (rust/crates/syn-2.0.96.crate) = 297497 +SHA256 (rust/crates/target-lexicon-0.12.16.crate) = 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 +SIZE (rust/crates/target-lexicon-0.12.16.crate) = 26488 +SHA256 (rust/crates/unicode-ident-1.0.14.crate) = adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83 +SIZE (rust/crates/unicode-ident-1.0.14.crate) = 47547 +SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce +SIZE (rust/crates/unindent-0.2.3.crate) = 7306 +SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a +SIZE (rust/crates/version_check-0.9.5.crate) = 15554 +SHA256 (rust/crates/zerocopy-0.7.35.crate) = 1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0 +SIZE (rust/crates/zerocopy-0.7.35.crate) = 152645 +SHA256 (rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e +SIZE (rust/crates/zerocopy-derive-0.7.35.crate) = 37829 +SHA256 (messense-rjieba-py-v0.1.13_GH0.tar.gz) = 235e9b7f84e0781d13fd2e6918a5149575f73a71c29673c81cab271842e32058 +SIZE (messense-rjieba-py-v0.1.13_GH0.tar.gz) = 10972 diff --git a/chinese/py-rjieba/pkg-descr b/chinese/py-rjieba/pkg-descr new file mode 100644 index 000000000000..3dafd24fad48 --- /dev/null +++ b/chinese/py-rjieba/pkg-descr @@ -0,0 +1,2 @@ +rjieba is the jieba-rs Python binding. +jieba-rs is the Jieba Chinese Word Segmentation Implemented in Rust. |