From f432b083b2efe1e2aa0a7497bf0ca78eeb483332 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Jan 2024 02:07:16 +0000 Subject: gentoo auto-resync : 19:01:2024 - 02:07:15 --- sci-libs/tokenizers/Manifest | 2 +- sci-libs/tokenizers/tokenizers-0.14.1-r1.ebuild | 335 ++++++++++++++++++++++++ sci-libs/tokenizers/tokenizers-0.14.1.ebuild | 335 ------------------------ 3 files changed, 336 insertions(+), 336 deletions(-) create mode 100644 sci-libs/tokenizers/tokenizers-0.14.1-r1.ebuild delete mode 100644 sci-libs/tokenizers/tokenizers-0.14.1.ebuild (limited to 'sci-libs/tokenizers') diff --git a/sci-libs/tokenizers/Manifest b/sci-libs/tokenizers/Manifest index 95255dfb98f2..db8eade1f6e3 100644 --- a/sci-libs/tokenizers/Manifest +++ b/sci-libs/tokenizers/Manifest @@ -255,5 +255,5 @@ DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e DIST windows_x86_64_msvc-0.42.2.crate 666936 BLAKE2B bc3a456e7f8bc272f8978ec69506ec9d89f97b7582ebbe05d8bd57bdf8156ef62d0d2dc6137a97e81d54059d70db97a24af9a038adff357f5dfd28805d6193b5 SHA512 53a35f438903fceb59e36bd2ac331773fb8e6c8c5a6d984e79021761f91b3b4a23efe49d219667a4d0d23dcdbf906da9c24e74fb1cff93395b5c55ff524e3788 DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795 DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 -EBUILD tokenizers-0.14.1.ebuild 6415 BLAKE2B 31278566166d2b407308cafb6dfa661ec70913cdfbab496d26f062ad90a70fbd93ebeb38e8f893e6fdb12c492497453faeecc4e6f50ea52ecbbfe61b8006c886 SHA512 556cdf4cde20300da3f8ce8df1e34c34d84e926186d7aab2e388abfa9742e0fcc0a59e3833d3d466c9ca9963da1bb6750fb708d8b12a8823ffac6b67a464b632 +EBUILD tokenizers-0.14.1-r1.ebuild 6420 BLAKE2B 7f7417cea0af74e9fa0b5d11f3a6a205609652550d75f6654944c3d624964dccc373e6a22aaba14b920f59f5303672cf0ec565f54c638e6aa31b320d3c6dcb16 SHA512 311c81803b6b1eaec8b31e64478408b568176fc1cd47d517d7d5e0aa5fca8ad927d2d6a7d46fa68946ecdf6000ba1215df08d262e959ac72fe810dd4ed856a17 MISC metadata.xml 335 BLAKE2B 55e4d7b301e4315210bf24a4056741cc923c6a72ae323158c5715fade20db86de8a03464bf8f12fe7116689b41aa0519a0070eebff5f63801e23a9c4a9698a92 SHA512 77f537f495b90ad031842f704c5a629cc995fcd848f11defeb597cc16d2d7bab07d262f05a50b07788d2f58fb60eacbefdfa8328215b89b0c661a05b18c4555d diff --git a/sci-libs/tokenizers/tokenizers-0.14.1-r1.ebuild b/sci-libs/tokenizers/tokenizers-0.14.1-r1.ebuild new file mode 100644 index 000000000000..86fa8fb04fb6 --- /dev/null +++ b/sci-libs/tokenizers/tokenizers-0.14.1-r1.ebuild @@ -0,0 +1,335 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.10 + +EAPI=8 + +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_EXT=1 + +CRATES=" + adler@1.0.2 + aho-corasick@1.1.1 + aho-corasick@1.1.2 + anes@0.1.6 + anstream@0.6.4 + anstyle-parse@0.2.2 + anstyle-query@1.0.0 + anstyle-wincon@3.0.1 + anstyle@1.0.4 + assert_approx_eq@1.1.0 + autocfg@1.1.0 + base64@0.13.1 + base64@0.21.5 + bit-set@0.5.3 + bit-vec@0.6.3 + bitflags@1.3.2 + bitflags@2.4.0 + bitflags@2.4.1 + bumpalo@3.14.0 + cast@0.3.0 + cc@1.0.79 + cc@1.0.83 + cfg-if@1.0.0 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.6 + clap@4.4.8 + clap_builder@4.4.6 + clap_builder@4.4.8 + clap_derive@4.4.2 + clap_derive@4.4.7 + clap_lex@0.5.1 + clap_lex@0.6.0 + colorchoice@1.0.0 + console@0.15.7 + core-foundation-sys@0.8.4 + core-foundation@0.9.3 + crc32fast@1.3.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.16 + darling@0.14.4 + darling_core@0.14.4 + darling_macro@0.14.4 + derive_builder@0.12.0 + derive_builder_core@0.12.0 + derive_builder_macro@0.12.0 + dirs-sys@0.4.1 + dirs@5.0.1 + either@1.8.1 + either@1.9.0 + encode_unicode@0.3.6 + env_logger@0.10.0 + errno-dragonfly@0.1.2 + errno@0.3.1 + errno@0.3.7 + esaxx-rs@0.1.10 + fancy-regex@0.11.0 + fastrand@2.0.1 + flate2@1.0.28 + fnv@1.0.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + form_urlencoded@1.2.0 + getrandom@0.2.10 + getrandom@0.2.11 + half@1.8.2 + heck@0.4.1 + hermit-abi@0.3.2 + hermit-abi@0.3.3 + hf-hub@0.3.2 + humantime@2.1.0 + ident_case@1.0.1 + idna@0.4.0 + indicatif@0.17.7 + indoc@1.0.9 + instant@0.1.12 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.8 + itoa@1.0.9 + js-sys@0.3.65 + lazy_static@1.4.0 + libc@0.2.147 + libc@0.2.150 + libredox@0.0.1 + linux-raw-sys@0.4.11 + linux-raw-sys@0.4.8 + lock_api@0.4.10 + log@0.4.19 + log@0.4.20 + macro_rules_attribute-proc_macro@0.2.0 + macro_rules_attribute@0.2.0 + matrixmultiply@0.3.7 + memchr@2.5.0 + memchr@2.6.4 + memoffset@0.9.0 + minimal-lexical@0.2.1 + miniz_oxide@0.7.1 + monostate-impl@0.1.10 + monostate-impl@0.1.9 + monostate@0.1.10 + monostate@0.1.9 + native-tls@0.2.11 + ndarray@0.15.6 + nom@7.1.3 + num-complex@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + num-traits@0.2.17 + number_prefix@0.4.0 + numpy@0.19.0 + once_cell@1.18.0 + onig@6.4.0 + onig_sys@69.8.1 + oorandom@11.1.3 + openssl-macros@0.1.1 + openssl-probe@0.1.5 + openssl-sys@0.9.95 + openssl@0.10.59 + option-ext@0.2.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + paste@1.0.14 + percent-encoding@2.3.0 + pkg-config@0.3.27 + plotters-backend@0.3.5 + plotters-svg@0.3.5 + plotters@0.3.5 + portable-atomic@1.4.3 + portable-atomic@1.5.1 + ppv-lite86@0.2.17 + proc-macro2@1.0.64 + proc-macro2@1.0.69 + pyo3-build-config@0.19.2 + pyo3-ffi@0.19.2 + pyo3-macros-backend@0.19.2 + pyo3-macros@0.19.2 + pyo3@0.19.2 + quote@1.0.29 + quote@1.0.33 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rawpointer@0.2.1 + rayon-cond@0.3.0 + rayon-core@1.12.0 + rayon@1.8.0 + redox_syscall@0.3.5 + redox_syscall@0.4.1 + redox_users@0.4.4 + regex-automata@0.3.3 + regex-automata@0.4.3 + regex-syntax@0.7.4 + regex-syntax@0.7.5 + regex-syntax@0.8.2 + regex@1.10.2 + regex@1.9.1 + ring@0.17.5 + rustc-hash@1.1.0 + rustix@0.38.13 + rustix@0.38.24 + rustls-webpki@0.101.7 + rustls@0.21.9 + ryu@1.0.14 + ryu@1.0.15 + same-file@1.0.6 + schannel@0.1.22 + scopeguard@1.1.0 + scopeguard@1.2.0 + sct@0.7.1 + security-framework-sys@2.9.1 + security-framework@2.9.2 + serde@1.0.171 + serde@1.0.192 + serde_derive@1.0.171 + serde_derive@1.0.192 + serde_json@1.0.102 + serde_json@1.0.108 + smallvec@1.11.0 + smallvec@1.11.2 + spin@0.9.8 + spm_precompiled@0.1.4 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.25 + syn@2.0.39 + target-lexicon@0.12.9 + tempfile@3.8.0 + tempfile@3.8.1 + termcolor@1.2.0 + thiserror-impl@1.0.49 + thiserror-impl@1.0.50 + thiserror@1.0.49 + thiserror@1.0.50 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.13 + unicode-ident@1.0.10 + unicode-ident@1.0.12 + unicode-normalization-alignments@0.1.12 + unicode-normalization@0.1.22 + unicode-segmentation@1.10.1 + unicode-width@0.1.11 + unicode_categories@0.1.1 + unindent@0.1.11 + untrusted@0.9.0 + ureq@2.8.0 + url@2.4.1 + utf8parse@0.2.1 + vcpkg@0.2.15 + walkdir@2.4.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.88 + wasm-bindgen-macro-support@0.2.88 + wasm-bindgen-macro@0.2.88 + wasm-bindgen-shared@0.2.88 + wasm-bindgen@0.2.88 + web-sys@0.3.65 + webpki-roots@0.25.2 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.45.0 + windows-sys@0.48.0 + windows-targets@0.42.2 + windows-targets@0.48.1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.48.0 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.48.0 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.48.0 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.48.0 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Implementation of today's most used tokenizers" +HOMEPAGE="https://github.com/huggingface/tokenizers" +SRC_URI=" + https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" + +BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="/usr/bin/cli .*/site-packages/tokenizers/.*gnu.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + default + cd bindings/python + distutils-r1_src_prepare +} + +src_configure() { + cd tokenizers + cargo_src_configure + cd ../bindings/python + distutils-r1_src_configure +} + +src_compile() { + cd tokenizers + cargo_src_compile + cd ../bindings/python + distutils-r1_src_compile +} + +src_test() { + cd tokenizers + # Tests do not work + #cargo_src_test + cd ../bindings/python + # Need dataset module + #distutils-r1_src_test +} + +src_install() { + cd tokenizers + cargo_src_install + cd ../bindings/python + distutils-r1_src_install +} diff --git a/sci-libs/tokenizers/tokenizers-0.14.1.ebuild b/sci-libs/tokenizers/tokenizers-0.14.1.ebuild deleted file mode 100644 index 35ecd71d5116..000000000000 --- a/sci-libs/tokenizers/tokenizers-0.14.1.ebuild +++ /dev/null @@ -1,335 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.10 - -EAPI=8 - -DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_EXT=1 - -CRATES=" - adler@1.0.2 - aho-corasick@1.1.1 - aho-corasick@1.1.2 - anes@0.1.6 - anstream@0.6.4 - anstyle-parse@0.2.2 - anstyle-query@1.0.0 - anstyle-wincon@3.0.1 - anstyle@1.0.4 - assert_approx_eq@1.1.0 - autocfg@1.1.0 - base64@0.13.1 - base64@0.21.5 - bit-set@0.5.3 - bit-vec@0.6.3 - bitflags@1.3.2 - bitflags@2.4.0 - bitflags@2.4.1 - bumpalo@3.14.0 - cast@0.3.0 - cc@1.0.79 - cc@1.0.83 - cfg-if@1.0.0 - ciborium-io@0.2.1 - ciborium-ll@0.2.1 - ciborium@0.2.1 - clap@4.4.6 - clap@4.4.8 - clap_builder@4.4.6 - clap_builder@4.4.8 - clap_derive@4.4.2 - clap_derive@4.4.7 - clap_lex@0.5.1 - clap_lex@0.6.0 - colorchoice@1.0.0 - console@0.15.7 - core-foundation-sys@0.8.4 - core-foundation@0.9.3 - crc32fast@1.3.2 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - darling@0.14.4 - darling_core@0.14.4 - darling_macro@0.14.4 - derive_builder@0.12.0 - derive_builder_core@0.12.0 - derive_builder_macro@0.12.0 - dirs-sys@0.4.1 - dirs@5.0.1 - either@1.8.1 - either@1.9.0 - encode_unicode@0.3.6 - env_logger@0.10.0 - errno-dragonfly@0.1.2 - errno@0.3.1 - errno@0.3.7 - esaxx-rs@0.1.10 - fancy-regex@0.11.0 - fastrand@2.0.1 - flate2@1.0.28 - fnv@1.0.7 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - form_urlencoded@1.2.0 - getrandom@0.2.10 - getrandom@0.2.11 - half@1.8.2 - heck@0.4.1 - hermit-abi@0.3.2 - hermit-abi@0.3.3 - hf-hub@0.3.2 - humantime@2.1.0 - ident_case@1.0.1 - idna@0.4.0 - indicatif@0.17.7 - indoc@1.0.9 - instant@0.1.12 - is-terminal@0.4.9 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.8 - itoa@1.0.9 - js-sys@0.3.65 - lazy_static@1.4.0 - libc@0.2.147 - libc@0.2.150 - libredox@0.0.1 - linux-raw-sys@0.4.11 - linux-raw-sys@0.4.8 - lock_api@0.4.10 - log@0.4.19 - log@0.4.20 - macro_rules_attribute-proc_macro@0.2.0 - macro_rules_attribute@0.2.0 - matrixmultiply@0.3.7 - memchr@2.5.0 - memchr@2.6.4 - memoffset@0.9.0 - minimal-lexical@0.2.1 - miniz_oxide@0.7.1 - monostate-impl@0.1.10 - monostate-impl@0.1.9 - monostate@0.1.10 - monostate@0.1.9 - native-tls@0.2.11 - ndarray@0.15.6 - nom@7.1.3 - num-complex@0.4.3 - num-integer@0.1.45 - num-traits@0.2.15 - num-traits@0.2.17 - number_prefix@0.4.0 - numpy@0.19.0 - once_cell@1.18.0 - onig@6.4.0 - onig_sys@69.8.1 - oorandom@11.1.3 - openssl-macros@0.1.1 - openssl-probe@0.1.5 - openssl-sys@0.9.95 - openssl@0.10.59 - option-ext@0.2.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - paste@1.0.14 - percent-encoding@2.3.0 - pkg-config@0.3.27 - plotters-backend@0.3.5 - plotters-svg@0.3.5 - plotters@0.3.5 - portable-atomic@1.4.3 - portable-atomic@1.5.1 - ppv-lite86@0.2.17 - proc-macro2@1.0.64 - proc-macro2@1.0.69 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.29 - quote@1.0.33 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.0 - rayon@1.8.0 - redox_syscall@0.3.5 - redox_syscall@0.4.1 - redox_users@0.4.4 - regex-automata@0.3.3 - regex-automata@0.4.3 - regex-syntax@0.7.4 - regex-syntax@0.7.5 - regex-syntax@0.8.2 - regex@1.10.2 - regex@1.9.1 - ring@0.17.5 - rustc-hash@1.1.0 - rustix@0.38.13 - rustix@0.38.24 - rustls-webpki@0.101.7 - rustls@0.21.9 - ryu@1.0.14 - ryu@1.0.15 - same-file@1.0.6 - schannel@0.1.22 - scopeguard@1.1.0 - scopeguard@1.2.0 - sct@0.7.1 - security-framework-sys@2.9.1 - security-framework@2.9.2 - serde@1.0.171 - serde@1.0.192 - serde_derive@1.0.171 - serde_derive@1.0.192 - serde_json@1.0.102 - serde_json@1.0.108 - smallvec@1.11.0 - smallvec@1.11.2 - spin@0.9.8 - spm_precompiled@0.1.4 - strsim@0.10.0 - syn@1.0.109 - syn@2.0.25 - syn@2.0.39 - target-lexicon@0.12.9 - tempfile@3.8.0 - tempfile@3.8.1 - termcolor@1.2.0 - thiserror-impl@1.0.49 - thiserror-impl@1.0.50 - thiserror@1.0.49 - thiserror@1.0.50 - tinytemplate@1.2.1 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - unicode-bidi@0.3.13 - unicode-ident@1.0.10 - unicode-ident@1.0.12 - unicode-normalization-alignments@0.1.12 - unicode-normalization@0.1.22 - unicode-segmentation@1.10.1 - unicode-width@0.1.11 - unicode_categories@0.1.1 - unindent@0.1.11 - untrusted@0.9.0 - ureq@2.8.0 - url@2.4.1 - utf8parse@0.2.1 - vcpkg@0.2.15 - walkdir@2.4.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.88 - wasm-bindgen-macro-support@0.2.88 - wasm-bindgen-macro@0.2.88 - wasm-bindgen-shared@0.2.88 - wasm-bindgen@0.2.88 - web-sys@0.3.65 - webpki-roots@0.25.2 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.5 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.45.0 - windows-sys@0.48.0 - windows-targets@0.42.2 - windows-targets@0.48.1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.48.0 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.48.0 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.48.0 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.48.0 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.48.0 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.48.0 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.48.0 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 - -DESCRIPTION="Implementation of today's most used tokenizers" -HOMEPAGE="https://github.com/huggingface/tokenizers" -SRC_URI=" - https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0 - Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="test" - -BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="/usr/bin/cli .*/site-packages/tokenizers/.*gnu.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - default - cd bindings/python - distutils-r1_src_prepare -} - -src_configure() { - cd tokenizers - cargo_src_configure - cd ../bindings/python - distutils-r1_src_configure -} - -src_compile() { - cd tokenizers - cargo_src_compile - cd ../bindings/python - distutils-r1_src_compile -} - -src_test() { - cd tokenizers - # Tests do not work - #cargo_src_test - cd ../bindings/python - # Need dataset module - #distutils-r1_src_test -} - -src_install() { - cd tokenizers - cargo_src_install - cd ../bindings/python - distutils-r1_src_install -} -- cgit v1.2.3