# Copyright 2023 Gabriel Sanches # Distributed under the terms of the Zero-Clause BSD License # Auto-Generated by cargo-ebuild 0.5.4 EAPI=8 CRATES=" Inflector@0.11.4 addr2line@0.21.0 adler@1.0.2 aead@0.5.2 aead-gcm-stream@0.1.0 aes@0.8.3 aes-gcm@0.10.3 aes-kw@0.2.1 ahash@0.8.6 aho-corasick@1.1.2 alloc-no-stdlib@2.0.4 alloc-stdlib@0.2.2 allocator-api2@0.2.16 android_system_properties@0.1.5 anstream@0.3.2 anstyle@1.0.4 anstyle-parse@0.2.3 anstyle-query@1.0.1 anstyle-wincon@1.0.2 anyhow@1.0.75 arrayvec@0.7.4 ash@0.37.3+1.3.251 asn1-rs@0.5.2 asn1-rs-derive@0.4.0 asn1-rs-impl@0.1.0 ast_node@0.9.5 async-compression@0.4.5 async-stream@0.3.5 async-stream-impl@0.3.5 async-trait@0.1.74 asynchronous-codec@0.7.0 auto_impl@1.1.0 autocfg@1.1.0 backtrace@0.3.69 base16ct@0.2.0 base32@0.4.0 base64@0.13.1 base64@0.21.5 base64-simd@0.8.0 base64ct@1.6.0 bencher@0.1.5 better_scoped_tls@0.1.1 bincode@1.3.3 bit-set@0.5.3 bit-vec@0.6.3 bitflags@1.3.2 bitflags@2.4.1 block@0.1.6 block-buffer@0.10.4 block-padding@0.3.3 brotli@3.4.0 brotli-decompressor@2.5.1 bumpalo@3.14.0 byteorder@1.5.0 bytes@1.5.0 cache_control@0.2.0 cbc@0.1.2 cc@1.0.83 cfg-if@1.0.0 chrono@0.4.31 cipher@0.4.4 clap@4.3.3 clap_builder@4.3.3 clap_complete@4.3.1 clap_complete_fig@4.3.1 clap_lex@0.5.1 clipboard-win@5.0.0 cmake@0.1.50 codespan-reporting@0.11.1 colorchoice@1.0.0 comrak@0.19.0 console_static_text@0.8.1 const-oid@0.9.5 convert_case@0.4.0 cooked-waker@5.0.0 core-foundation@0.9.4 core-foundation-sys@0.8.6 core-graphics-types@0.1.3 cpufeatures@0.2.11 crc@2.1.0 crc-catalog@1.1.1 crc32fast@1.3.2 crossbeam-channel@0.5.8 crossbeam-queue@0.3.8 crossbeam-utils@0.8.16 crypto-bigint@0.5.5 crypto-common@0.1.6 ctr@0.9.2 curve25519-dalek@4.1.1 curve25519-dalek-derive@0.1.1 d3d12@0.7.0 darling@0.14.4 darling_core@0.14.4 darling_macro@0.14.4 dashmap@5.5.3 data-encoding@2.5.0 data-url@0.3.0 debugid@0.8.0 deno_ast@0.31.6 deno_cache_dir@0.6.1 deno_config@0.6.5 deno_core@0.238.0 deno_doc@0.75.1 deno_emit@0.32.0 deno_graph@0.62.2 deno_lint@0.52.2 deno_lockfile@0.17.2 deno_media_type@0.1.2 deno_native_certs@0.2.0 deno_npm@0.15.3 deno_ops@0.114.0 deno_semver@0.5.1 deno_task_shell@0.14.0 deno_unsync@0.1.1 deno_unsync@0.3.0 deno_whoami@0.1.0 denokv_proto@0.5.0 denokv_remote@0.5.0 denokv_sqlite@0.5.0 der@0.7.8 der-parser@8.2.0 deranged@0.3.10 derive_builder@0.12.0 derive_builder_core@0.12.0 derive_builder_macro@0.12.0 derive_more@0.99.17 deunicode@1.4.1 diff@0.1.13 digest@0.10.7 displaydoc@0.2.4 dissimilar@1.0.4 dlopen2@0.6.1 dlopen2_derive@0.4.0 dotenvy@0.15.7 dprint-core@0.63.3 dprint-plugin-json@0.19.1 dprint-plugin-jupyter@0.1.2 dprint-plugin-markdown@0.16.3 dprint-plugin-typescript@0.88.7 dprint-swc-ext@0.13.0 dsa@0.6.2 dyn-clone@1.0.16 dynasm@1.2.3 dynasmrt@1.2.3 ecb@0.1.2 ecdsa@0.16.9 either@1.9.0 elliptic-curve@0.13.8 encoding_rs@0.8.33 endian-type@0.1.2 entities@1.0.1 enum-as-inner@0.5.1 env_logger@0.10.0 equivalent@1.0.1 errno@0.2.8 errno@0.3.8 errno-dragonfly@0.1.2 error-code@3.0.0 escape8259@0.5.2 eszip@0.56.0 fallible-iterator@0.2.0 fallible-streaming-iterator@0.1.9 fancy-regex@0.10.0 fastrand@2.0.1 fastwebsockets@0.5.0 fd-lock@4.0.1 ff@0.13.0 fiat-crypto@0.2.5 filetime@0.2.23 fixedbitset@0.4.2 flaky_test@0.1.0 flate2@1.0.28 float-cmp@0.9.0 fnv@1.0.7 foreign-types@0.5.0 foreign-types-macros@0.2.3 foreign-types-shared@0.3.1 form_urlencoded@1.2.1 from_variant@0.1.6 fs3@0.5.0 fsevent-sys@4.1.0 fslock@0.1.8 futures@0.3.29 futures-channel@0.3.29 futures-core@0.3.29 futures-executor@0.3.29 futures-io@0.3.29 futures-macro@0.3.29 futures-sink@0.3.29 futures-task@0.3.29 futures-util@0.3.29 fwdansi@1.1.0 generic-array@0.14.7 getrandom@0.2.11 ghash@0.5.0 gimli@0.28.1 gl_generator@0.14.0 glibc_version@0.1.2 glob@0.3.1 glow@0.13.0 glutin_wgl_sys@0.5.0 gpu-alloc@0.6.0 gpu-alloc-types@0.3.0 gpu-allocator@0.23.0 gpu-descriptor@0.2.4 gpu-descriptor-types@0.1.2 group@0.13.0 h2@0.3.22 halfbrown@0.2.4 hashbrown@0.12.3 hashbrown@0.13.2 hashbrown@0.14.3 hashlink@0.8.4 heck@0.4.1 hermit-abi@0.3.3 hex@0.4.3 hexf-parse@0.2.1 hkdf@0.12.3 hmac@0.12.1 home@0.5.5 hostname@0.3.1 hstr@0.2.6 html-escape@0.2.13 http@0.2.11 http-body@0.4.5 http-body@1.0.0-rc.2 http-body-util@0.1.0-rc.3 httparse@1.8.0 httpdate@1.0.3 humantime@2.1.0 hyper@0.14.27 hyper@1.0.0-rc.4 hyper-rustls@0.24.2 ident_case@1.0.1 idna@0.2.3 idna@0.3.0 idna@0.4.0 if_chain@1.0.2 import_map@0.18.0 indexmap@1.9.3 indexmap@2.1.0 inotify@0.9.6 inotify-sys@0.1.5 inout@0.1.3 instant@0.1.12 ipconfig@0.3.2 ipnet@2.9.0 is-macro@0.3.1 is-terminal@0.4.9 itertools@0.10.5 itoa@1.0.9 jobserver@0.1.27 js-sys@0.3.66 jsonc-parser@0.23.0 junction@0.2.0 k256@0.13.2 khronos-egl@6.0.0 khronos_api@3.1.0 kqueue@1.0.8 kqueue-sys@1.0.4 lazy-regex@3.1.0 lazy-regex-proc_macros@3.1.0 lazy_static@1.4.0 lexical-core@0.8.5 lexical-parse-float@0.8.5 lexical-parse-integer@0.8.6 lexical-util@0.8.5 lexical-write-float@0.8.5 lexical-write-integer@0.8.5 libc@0.2.150 libffi@3.2.0 libffi-sys@2.3.0 libloading@0.7.4 libloading@0.8.1 libm@0.2.8 libsqlite3-sys@0.26.0 libz-sys@1.1.12 linked-hash-map@0.5.6 linux-raw-sys@0.4.12 lock_api@0.4.11 log@0.4.20 lru-cache@0.1.2 lsp-types@0.94.1 malloc_buf@0.0.6 match_cfg@0.1.0 matches@0.1.10 md-5@0.10.6 md4@0.10.2 memchr@2.6.4 memmap2@0.5.10 memmem@0.1.1 memoffset@0.7.1 metal@0.27.0 mime@0.3.17 minimal-lexical@0.2.1 miniz_oxide@0.7.1 mio@0.8.10 monch@0.4.3 multimap@0.8.3 naga@0.14.2 napi-build@1.2.1 napi-sys@2.2.2 netif@0.1.6 new_debug_unreachable@1.0.4 nextest-workspace-hack@0.1.0 nibble_vec@0.1.0 nix@0.26.2 nix@0.27.1 nom@5.1.3 nom@7.1.3 notify@5.0.0 ntapi@0.4.1 num-bigint@0.4.4 num-bigint-dig@0.8.4 num-integer@0.1.45 num-iter@0.1.43 num-traits@0.2.17 num_cpus@1.16.0 objc@0.2.7 objc_exception@0.1.2 object@0.32.1 oid-registry@0.6.1 once_cell@1.19.0 opaque-debug@0.3.0 openssl-probe@0.1.5 ordered-float@2.10.1 os_pipe@1.1.4 outref@0.5.1 p224@0.13.2 p256@0.13.2 p384@0.13.0 parking_lot@0.11.2 parking_lot@0.12.1 parking_lot_core@0.8.6 parking_lot_core@0.9.9 password-hash@0.5.0 paste@1.0.14 path-clean@0.1.0 path-dedot@3.1.1 pathdiff@0.2.1 pbkdf2@0.12.2 pem-rfc7468@0.7.0 percent-encoding@2.3.0 petgraph@0.6.4 phf@0.11.2 phf_generator@0.11.2 phf_macros@0.11.2 phf_shared@0.11.2 pin-project@1.1.3 pin-project-internal@1.1.3 pin-project-lite@0.2.13 pin-utils@0.1.0 pkcs1@0.7.5 pkcs8@0.10.2 pkg-config@0.3.27 platforms@3.2.0 pmutil@0.6.1 polyval@0.6.1 powerfmt@0.2.0 ppv-lite86@0.2.17 presser@0.3.1 pretty_assertions@1.4.0 prettyplease@0.1.25 primeorder@0.13.6 proc-macro-error@1.0.4 proc-macro-error-attr@1.0.4 proc-macro-rules@0.4.0 proc-macro-rules-macros@0.4.0 proc-macro2@1.0.70 profiling@1.0.11 prost@0.11.9 prost-build@0.11.9 prost-derive@0.11.9 prost-types@0.11.9 psm@0.1.21 pulldown-cmark@0.9.3 quick-error@1.2.3 quick-junit@0.3.5 quick-xml@0.31.0 quote@1.0.33 radix_fmt@1.0.0 radix_trie@0.2.1 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.6.4 range-alloc@0.1.3 raw-window-handle@0.5.2 redox_syscall@0.2.16 redox_syscall@0.4.1 ref-cast@1.0.20 ref-cast-impl@1.0.20 regex@1.10.2 regex-automata@0.4.3 regex-syntax@0.8.2 relative-path@1.9.0 reqwest@0.11.20 resolv-conf@0.7.0 rfc6979@0.4.0 ring@0.17.7 ripemd@0.1.3 ron@0.8.1 rsa@0.9.6 rusqlite@0.29.0 rustc-demangle@0.1.23 rustc-hash@1.1.0 rustc_version@0.2.3 rustc_version@0.4.0 rusticata-macros@4.1.0 rustix@0.38.27 rustls@0.21.10 rustls-native-certs@0.6.3 rustls-pemfile@1.0.4 rustls-tokio-stream@0.2.16 rustls-webpki@0.101.7 rustversion@1.0.14 rustyline@13.0.0 rustyline-derive@0.7.0 ryu@1.0.15 ryu-js@1.0.0 saffron@0.1.0 salsa20@0.10.2 same-file@1.0.6 schannel@0.1.22 scoped-tls@1.0.1 scopeguard@1.2.0 scrypt@0.11.0 sct@0.7.1 sec1@0.7.3 security-framework@2.9.2 security-framework-sys@2.9.1 semver@0.9.0 semver@1.0.14 semver-parser@0.7.0 serde@1.0.193 serde-value@0.7.0 serde_bytes@0.11.12 serde_derive@1.0.193 serde_json@1.0.108 serde_repr@0.1.16 serde_urlencoded@0.7.1 serde_v8@0.147.0 sha-1@0.10.0 sha1@0.10.6 sha2@0.10.8 shell-escape@0.1.5 signal-hook-registry@1.4.1 signature@2.2.0 simd-json@0.13.4 simdutf8@0.1.4 siphasher@0.3.11 slab@0.4.9 slotmap@1.0.7 slug@0.1.5 smallvec@1.11.2 smartstring@1.0.1 socket2@0.4.10 socket2@0.5.5 sourcemap@6.4.1 sourcemap@7.0.1 spin@0.5.2 spin@0.9.8 spirv@0.2.0+1.5.4 spki@0.7.3 stacker@0.1.15 static_assertions@1.1.0 string_enum@0.4.1 strip-ansi-escapes@0.2.0 strsim@0.10.0 strum@0.25.0 strum_macros@0.25.3 subtle@2.5.0 swc_atoms@0.6.4 swc_bundler@0.222.62 swc_common@0.33.9 swc_config@0.1.7 swc_config_macro@0.1.2 swc_ecma_ast@0.110.10 swc_ecma_codegen@0.146.32 swc_ecma_codegen_macros@0.7.3 swc_ecma_dep_graph@0.113.22 swc_ecma_loader@0.45.10 swc_ecma_parser@0.141.26 swc_ecma_transforms_base@0.134.42 swc_ecma_transforms_classes@0.123.43 swc_ecma_transforms_macros@0.5.3 swc_ecma_transforms_optimization@0.195.54 swc_ecma_transforms_proposal@0.168.52 swc_ecma_transforms_react@0.180.52 swc_ecma_transforms_typescript@0.185.52 swc_ecma_utils@0.124.32 swc_ecma_visit@0.96.10 swc_eq_ignore_macros@0.1.2 swc_fast_graph@0.21.9 swc_graph_analyzer@0.22.11 swc_macros_common@0.3.8 swc_visit@0.5.7 swc_visit_macros@0.5.8 syn@1.0.109 syn@2.0.39 synstructure@0.12.6 tar@0.4.40 tempfile@3.8.1 termcolor@1.4.0 text-size@1.1.0 text_lines@0.6.0 thiserror@1.0.50 thiserror-impl@1.0.50 time@0.3.30 time-core@0.1.2 time-macros@0.2.15 tinytemplate@1.2.1 tinyvec@1.6.0 tinyvec_macros@0.1.1 tokio@1.34.0 tokio-macros@2.2.0 tokio-metrics@0.3.1 tokio-rustls@0.24.1 tokio-socks@0.5.1 tokio-stream@0.1.14 tokio-util@0.7.10 toml@0.5.11 tower@0.4.13 tower-layer@0.3.2 tower-lsp@0.20.0 tower-lsp-macros@0.9.0 tower-service@0.3.2 tracing@0.1.40 tracing-attributes@0.1.27 tracing-core@0.1.32 trust-dns-client@0.22.0 trust-dns-proto@0.22.0 trust-dns-resolver@0.22.0 trust-dns-server@0.22.1 try-lock@0.2.5 twox-hash@1.6.3 typed-arena@2.0.1 typenum@1.17.0 unic-char-property@0.9.0 unic-char-range@0.9.0 unic-common@0.9.0 unic-ucd-ident@0.9.0 unic-ucd-version@0.9.0 unicase@2.7.0 unicode-bidi@0.3.14 unicode-id@0.3.4 unicode-ident@1.0.12 unicode-normalization@0.1.22 unicode-segmentation@1.10.1 unicode-width@0.1.11 unicode-xid@0.2.4 unicode_categories@0.1.1 universal-hash@0.5.1 untrusted@0.9.0 url@2.4.1 urlpattern@0.2.0 utf-8@0.7.6 utf8-width@0.1.7 utf8parse@0.2.1 uuid@1.6.1 v8@0.82.0 value-trait@0.8.0 vcpkg@0.2.15 version_check@0.9.4 vsimd@0.8.0 vte@0.11.1 vte_generate_state_changes@0.1.1 walkdir@2.3.2 want@0.3.1 wasi@0.11.0+wasi-snapshot-preview1 wasm-bindgen@0.2.89 wasm-bindgen-backend@0.2.89 wasm-bindgen-futures@0.4.39 wasm-bindgen-macro@0.2.89 wasm-bindgen-macro-support@0.2.89 wasm-bindgen-shared@0.2.89 wasm-streams@0.3.0 web-sys@0.3.66 webpki-roots@0.25.3 wgpu-core@0.18.1 wgpu-hal@0.18.1 wgpu-types@0.18.0 which@4.4.2 whoami@1.4.1 widestring@1.0.2 winapi@0.3.9 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.6 winapi-x86_64-pc-windows-gnu@0.4.0 windows@0.51.1 windows-core@0.51.1 windows-sys@0.48.0 windows-sys@0.52.0 windows-targets@0.48.5 windows-targets@0.52.0 windows_aarch64_gnullvm@0.48.5 windows_aarch64_gnullvm@0.52.0 windows_aarch64_msvc@0.48.5 windows_aarch64_msvc@0.52.0 windows_i686_gnu@0.48.5 windows_i686_gnu@0.52.0 windows_i686_msvc@0.48.5 windows_i686_msvc@0.52.0 windows_x86_64_gnu@0.48.5 windows_x86_64_gnu@0.52.0 windows_x86_64_gnullvm@0.48.5 windows_x86_64_gnullvm@0.52.0 windows_x86_64_msvc@0.48.5 windows_x86_64_msvc@0.52.0 winreg@0.50.0 winres@0.1.12 x25519-dalek@2.0.0 x509-parser@0.15.1 xattr@1.0.1 xml-rs@0.8.19 yansi@0.5.1 zerocopy@0.7.31 zerocopy-derive@0.7.31 zeroize@1.7.0 zeroize_derive@1.4.2 zeromq@0.3.4 zstd@0.12.4 zstd-safe@6.0.6 zstd-sys@2.0.9+zstd.1.5.5 " inherit cargo DESCRIPTION="A modern runtime for JavaScript and TypeScript" # Double check the homepage as the cargo_metadata crate # does not provide this value so instead repository is used HOMEPAGE="https://deno.land https://github.com/denoland/deno" _v8_commit="c6c15e7d902677c43e096fe1fcf841e79555c714" SRC_URI=" ${CARGO_CRATE_URIS} https://github.com/denoland/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/denoland/v8/archive/${_v8_commit}.tar.gz " # License set may be more restrictive as OR is not respected # use cargo-license for a more accurate license picture LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 BSD BSD-1 BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 MPL-2.0+ Unicode-DFS-2016 Unlicense ZLIB" SLOT="0" KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND}" BDEPEND=" >=dev-lang/python-3 dev-libs/glib:2 dev-build/ninja dev-build/gn sys-devel/clang " # rust does not use *FLAGS from make.conf, silence portage warning # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/${PN}" src_prepare() { default local rusty_v8_version=0.82.0 rm -rf ../cargo_home/gentoo/v8-${rusty_v8_version}/v8 cp -r ../v8-${_v8_commit} ../cargo_home/gentoo/v8-${rusty_v8_version}/v8 } src_configure() { export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=$(llvm-config --prefix) cargo_src_configure -vv } src_install() { cargo_src_install --path cli }