*/*: update for slotted Rust

Tidyups:

- $(cargo_crate_uris)
- Rust BDEPENDS come from the eclass except in very rare
  circumstances (RUST_OPTIONAL=1)
- RUST_M{AX,IN}_VER where required.
- Suboptimal crate separator (`-` -> `@`)

Signed-off-by: Matt Jolly <kangie@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39218
Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2024-11-09 16:25:41 +10:00
parent 0eb469f813
commit 01ba4dc619
392 changed files with 4880 additions and 5274 deletions
@@ -202,11 +202,8 @@ COMMON_DEPEND="
test? ( dev-python/pytest )
"
# rust-bin < 1.71 has an executable stack
# which is not supported on selinux #911589
BDEPEND="
virtual/pkgconfig
>=virtual/rust-1.71
doc? ( app-text/doxygen )
test? (
${PYTHON_DEPS}
@@ -204,11 +204,8 @@ COMMON_DEPEND="
test? ( dev-python/pytest )
"
# rust-bin < 1.71 has an executable stack
# which is not supported on selinux #911589
BDEPEND="
virtual/pkgconfig
>=virtual/rust-1.71
doc? ( app-text/doxygen )
test? (
${PYTHON_DEPS}
@@ -197,11 +197,9 @@ COMMON_DEPEND="
system-mspack? ( dev-libs/libmspack )
test? ( dev-python/pytest )
"
# rust-bin < 1.71 has an executable stack
# which is not supported on selinux #911589
BDEPEND="
virtual/pkgconfig
>=virtual/rust-1.71
doc? ( app-text/doxygen )
test? (
${PYTHON_DEPS}
@@ -206,11 +206,9 @@ COMMON_DEPEND="
system-mspack? ( dev-libs/libmspack )
test? ( dev-python/pytest )
"
# rust-bin < 1.71 has an executable stack
# which is not supported on selinux #911589
BDEPEND="
virtual/pkgconfig
>=virtual/rust-1.71
doc? ( app-text/doxygen )
test? (
${PYTHON_DEPS}
@@ -179,8 +179,6 @@ LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
BDEPEND=">=virtual/rust-1.70.0"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_prepare() {
@@ -4,75 +4,75 @@
EAPI=8
CRATES="
aho-corasick-0.7.18
anyhow-1.0.40
autocfg-1.0.1
base32-0.4.0
bitflags-1.2.1
cc-1.0.67
cfg-if-1.0.0
clap-2.33.3
directories-3.0.2
dirs-sys-0.3.6
envy-0.4.2
getrandom-0.1.16
getrandom-0.2.2
heck-0.3.2
lazy_static-1.4.0
libc-0.2.146
log-0.4.14
memchr-2.4.0
merge-0.1.0
merge_derive-0.1.0
nitrocli-0.4.1
nitrokey-0.9.0
nitrokey-sys-3.6.0
nitrokey-test-0.5.0
nitrokey-test-state-0.1.0
num-traits-0.2.14
numtoa-0.1.0
ppv-lite86-0.2.10
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-1.0.26
progressing-3.0.2
quote-1.0.9
rand-0.8.3
rand_chacha-0.3.0
rand_core-0.5.1
rand_core-0.6.2
rand_hc-0.3.0
redox_syscall-0.2.8
redox_termios-0.1.2
redox_users-0.4.0
regex-1.5.4
regex-syntax-0.6.25
remove_dir_all-0.5.3
serde-1.0.125
serde_derive-1.0.125
structopt-0.3.21
structopt-derive-0.4.14
syn-1.0.72
tempfile-3.2.0
termion-1.5.6
textwrap-0.11.0
toml-0.5.8
unicode-segmentation-1.7.1
unicode-width-0.1.8
unicode-xid-0.2.2
version_check-0.9.3
wasi-0.9.0+wasi-snapshot-preview1
wasi-0.10.2+wasi-snapshot-preview1
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
aho-corasick@0.7.18
anyhow@1.0.40
autocfg@1.0.1
base32@0.4.0
bitflags@1.2.1
cc@1.0.67
cfg-if@1.0.0
clap@2.33.3
directories@3.0.2
dirs-sys@0.3.6
envy@0.4.2
getrandom@0.1.16
getrandom@0.2.2
heck@0.3.2
lazy_static@1.4.0
libc@0.2.146
log@0.4.14
memchr@2.4.0
merge@0.1.0
merge_derive@0.1.0
nitrocli@0.4.1
nitrokey@0.9.0
nitrokey-sys@3.6.0
nitrokey-test@0.5.0
nitrokey-test-state@0.1.0
num-traits@0.2.14
numtoa@0.1.0
ppv-lite86@0.2.10
proc-macro-error@1.0.4
proc-macro-error-attr@1.0.4
proc-macro2@1.0.26
progressing@3.0.2
quote@1.0.9
rand@0.8.3
rand_chacha@0.3.0
rand_core@0.5.1
rand_core@0.6.2
rand_hc@0.3.0
redox_syscall@0.2.8
redox_termios@0.1.2
redox_users@0.4.0
regex@1.5.4
regex-syntax@0.6.25
remove_dir_all@0.5.3
serde@1.0.125
serde_derive@1.0.125
structopt@0.3.21
structopt-derive@0.4.14
syn@1.0.72
tempfile@3.2.0
termion@1.5.6
textwrap@0.11.0
toml@0.5.8
unicode-segmentation@1.7.1
unicode-width@0.1.8
unicode-xid@0.2.2
version_check@0.9.3
wasi@0.9.0+wasi-snapshot-preview1
wasi@0.10.2+wasi-snapshot-preview1
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
"
inherit bash-completion-r1 cargo
DESCRIPTION="A command line tool for interacting with Nitrokey devices"
HOMEPAGE="https://github.com/d-e-s-o/nitrocli"
SRC_URI="$(cargo_crate_uris)"
SRC_URI="${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0 BSD-2 CC0-1.0 GPL-3+ LGPL-3 MIT"
SLOT="0"
@@ -235,9 +235,10 @@ CRATES="
zeroize_derive@1.4.2
"
LLVM_MAX_SLOT=17
LLVM_COMPAT=( 17 )
RUST_NEEDS_LLVM=1
inherit cargo llvm
inherit llvm-r1 cargo
DESCRIPTION="Implementation of the RPM PGP interface using Sequoia"
HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia"
@@ -265,11 +266,16 @@ RDEPEND="${DEPEND}"
# Clang is required for bindgen
BDEPEND="
virtual/pkgconfig
nettle? ( <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)) )
nettle? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') )
"
QA_FLAGS_IGNORED="usr/lib.*/librpm_sequoia.so.1"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
llvm_check_deps() {
if use nettle; then
has_version -b "sys-devel/clang:${LLVM_SLOT}"
@@ -248,9 +248,11 @@ CRATES="
zerovec@0.10.4
"
LLVM_COMPAT=( {17..18} )
LLVM_COMPAT=( 17 18 )
RUST_MIN_VER="1.74.1"
RUST_NEEDS_LLVM=1
inherit cargo llvm-r1
inherit llvm-r1 cargo
DESCRIPTION="Implementation of the RPM PGP interface using Sequoia"
HOMEPAGE="https://sequoia-pgp.org/ https://github.com/rpm-software-management/rpm-sequoia"
@@ -282,12 +284,16 @@ RDEPEND="${DEPEND}"
# Clang is required for bindgen
BDEPEND="
virtual/pkgconfig
>=virtual/rust-1.73
nettle? ( $(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}') )
"
QA_FLAGS_IGNORED="usr/lib.*/librpm_sequoia.so.1"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_configure() {
local myfeatures=(
$(usev nettle crypto-nettle)
@@ -394,8 +394,10 @@ CRATES="
zerovec@0.10.2
"
LLVM_COMPAT=( {17..18} )
inherit cargo llvm-r1 xdg-utils
LLVM_COMPAT=( 17 18 )
RUST_NEEDS_LLVM=1
inherit llvm-r1 cargo xdg-utils
DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/"
@@ -429,11 +431,15 @@ BDEPEND="
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
')
>=virtual/rust-1.70
"
QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_test() {
local -x GNUPGHOME="${T}"/.gnupg
local -x REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
@@ -392,8 +392,10 @@ CRATES="
zerovec@0.10.3
"
LLVM_COMPAT=( {17..18} )
inherit cargo llvm-r1 xdg-utils
LLVM_COMPAT=( 17 18 )
RUST_NEEDS_LLVM=1
inherit llvm-r1 cargo xdg-utils
DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/"
@@ -427,11 +429,15 @@ BDEPEND="
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
')
>=virtual/rust-1.70
"
QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_test() {
local -x GNUPGHOME="${T}"/.gnupg
local -x REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
@@ -365,8 +365,10 @@ CRATES="
zeroize@1.7.0
"
LLVM_COMPAT=( {17..18} )
inherit cargo llvm-r1 xdg-utils
LLVM_COMPAT=( 17 18 )
RUST_NEEDS_LLVM=1
inherit llvm-r1 cargo xdg-utils
DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/"
@@ -400,11 +402,15 @@ BDEPEND="
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
')
>=virtual/rust-1.70
"
QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_test() {
local -x GNUPGHOME="${T}"/.gnupg
local -x REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
@@ -368,8 +368,10 @@ CRATES="
zeroize@1.7.0
"
LLVM_COMPAT=( {17..18} )
inherit cargo llvm-r1 xdg-utils
LLVM_COMPAT=( 17 18 )
RUST_NEEDS_LLVM=1
inherit llvm-r1 cargo xdg-utils
DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/"
@@ -403,11 +405,15 @@ BDEPEND="
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
')
>=virtual/rust-1.70
"
QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_test() {
local -x GNUPGHOME="${T}"/.gnupg
local -x REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
@@ -487,7 +487,7 @@ CRATES="
LLVM_COMPAT=( {16..17} )
inherit cargo shell-completion llvm-r1
inherit llvm-r1 cargo shell-completion
DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sq"
@@ -528,9 +528,13 @@ BDEPEND="
sys-devel/clang:${LLVM_SLOT}
')
virtual/pkgconfig
>=virtual/rust-1.70
"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_compile() {
# Set this here so that it doesn't change if we run tests
# and cause a recompilation.
@@ -491,7 +491,7 @@ CRATES="
LLVM_COMPAT=( {16..18} )
inherit cargo shell-completion llvm-r1
inherit llvm-r1 cargo shell-completion
DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sq"
@@ -532,9 +532,13 @@ BDEPEND="
sys-devel/clang:${LLVM_SLOT}
')
virtual/pkgconfig
>=virtual/rust-1.70
"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_compile() {
# Set this here so that it doesn't change if we run tests
# and cause a recompilation.
@@ -517,7 +517,7 @@ CRATES="
LLVM_COMPAT=( {16..18} )
inherit cargo shell-completion llvm-r1
inherit llvm-r1 cargo shell-completion
DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sq"
@@ -558,9 +558,13 @@ BDEPEND="
sys-devel/clang:${LLVM_SLOT}
')
virtual/pkgconfig
>=virtual/rust-1.70
"
pkg_setup() {
llvm_r1_pkg_setup
rust_pkg_setup
}
src_compile() {
# Set this here so that it doesn't change if we run tests
# and cause a recompilation.
@@ -251,8 +251,9 @@ CRATES="
"
LLVM_COMPAT=( {17..18} )
RUST_NEEDS_LLVM=1
inherit bash-completion-r1 cargo llvm-r1
inherit bash-completion-r1 llvm-r1 cargo
DESCRIPTION="A simple OpenPGP signature verification program"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sqv"
@@ -290,6 +291,11 @@ BDEPEND="
virtual/pkgconfig
"
pkg_setup() {
llvm-r1_pkg_setup
rust_pkg_setup
}
src_compile() {
# Set this here so that it doesn't change if we run tests
# and cause a recompilation.
@@ -311,6 +311,7 @@ pkg_setup() {
"
export HELIX_DEFAULT_RUNTIME="${EPREFIX}/usr/share/${PN}/runtime"
use grammar || export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1
rust_pkg_setup
}
src_install() {
@@ -31,8 +31,10 @@ declare -A GIT_CRATES=(
)
LLVM_COMPAT=( 18 )
RUST_MIN_VER="1.80.1"
RUST_NEEDS_LLVM=1
inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg
inherit llvm-r1 cargo check-reqs desktop flag-o-matic toolchain-funcs xdg
DESCRIPTION="The fast, collaborative code editor"
HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
@@ -74,7 +76,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"
BDEPEND="
>=virtual/rust-1.80.0
dev-util/vulkan-headers
sys-devel/gettext
sys-devel/mold
@@ -97,6 +98,8 @@ pkg_setup() {
export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-arg=-fuse-ld=mold -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
# linking error with llvm-18
export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
llvm-r1_pkg_setup
rust_pkg_setup
}
src_prepare() {
@@ -55,8 +55,10 @@ declare -A GIT_CRATES=(
)
LLVM_COMPAT=( 18 )
RUST_MIN_VER="1.80.1"
RUST_NEEDS_LLVM=1
inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg
inherit llvm-r1 cargo check-reqs desktop flag-o-matic toolchain-funcs xdg
DESCRIPTION="The fast, collaborative code editor"
HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
@@ -103,7 +105,6 @@ BDEPEND="
dev-util/vulkan-headers
sys-devel/gettext
sys-devel/mold
>=virtual/rust-1.80.0
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}=
sys-devel/llvm:${LLVM_SLOT}=
@@ -126,6 +127,8 @@ pkg_setup() {
if use gles; then
export RUSTFLAGS="${RUSTFLAGS} --cfg gles"
fi
llvm-r1_pkg_setup
rust_pkg_setup
}
src_prepare() {
@@ -55,8 +55,10 @@ declare -A GIT_CRATES=(
)
LLVM_COMPAT=( 18 )
RUST_MIN_VER="1.80.1"
RUST_NEEDS_LLVM=1
inherit cargo check-reqs desktop flag-o-matic llvm-r1 toolchain-funcs xdg
inherit llvm-r1 cargo check-reqs desktop flag-o-matic toolchain-funcs xdg
DESCRIPTION="The fast, collaborative code editor"
HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
@@ -103,7 +105,6 @@ BDEPEND="
dev-util/vulkan-headers
sys-devel/gettext
sys-devel/mold
>=virtual/rust-1.80.0
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}=
sys-devel/llvm:${LLVM_SLOT}=
@@ -126,6 +127,8 @@ pkg_setup() {
if use gles; then
export RUSTFLAGS="${RUSTFLAGS} --cfg gles"
fi
llvm-r1_pkg_setup
rust_pkg_setup
}
src_prepare() {
@@ -3,6 +3,8 @@
EAPI=8
RUST_MIN_VER="1.81.0"
inherit cargo desktop optfeature xdg
if [[ ${PV} == 9999 ]]; then
@@ -48,7 +50,6 @@ DEPEND="
BDEPEND="
virtual/jre:*
virtual/pkgconfig
>=virtual/rust-1.81
"
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
@@ -3,6 +3,8 @@
EAPI=8
RUST_MIN_VER="1.81.0"
inherit cargo desktop optfeature xdg
if [[ ${PV} == 9999 ]]; then
@@ -48,7 +50,6 @@ DEPEND="
BDEPEND="
virtual/jre:*
virtual/pkgconfig
>=virtual/rust-1.81
"
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
+2 -1
View File
@@ -3,6 +3,8 @@
EAPI=8
RUST_MIN_VERSION="1.81.0"
inherit cargo desktop optfeature xdg
if [[ ${PV} == 9999 ]]; then
@@ -48,7 +50,6 @@ DEPEND="
BDEPEND="
virtual/jre:*
virtual/pkgconfig
>=virtual/rust-1.81
"
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
@@ -0,0 +1,232 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
CRATES="
addr2line@0.21.0
adler@1.0.2
aho-corasick@1.0.5
atty@0.2.14
autocfg@1.1.0
backtrace@0.3.69
base64@0.21.4
bincode@1.3.3
bitflags@1.3.2
bitflags@2.4.0
block-buffer@0.10.4
bumpalo@3.14.0
bytes@1.5.0
cc@1.0.83
cfg-if@1.0.0
clap@3.2.25
clap_lex@0.2.4
core-foundation@0.9.3
core-foundation-sys@0.8.4
cpufeatures@0.2.9
crypto-common@0.1.6
daemonize@0.5.0
digest@0.10.7
encoding_rs@0.8.33
env_logger@0.7.1
errno@0.3.3
errno-dragonfly@0.1.2
error-chain@0.11.0
fastrand@2.0.0
fnv@1.0.7
foreign-types@0.3.2
foreign-types-shared@0.1.1
form_urlencoded@1.2.0
futures-channel@0.3.28
futures-core@0.3.28
futures-io@0.3.28
futures-sink@0.3.28
futures-task@0.3.28
futures-util@0.3.28
generic-array@0.14.7
getrandom@0.2.10
gimli@0.28.0
h2@0.3.21
hashbrown@0.12.3
hermit-abi@0.1.19
hermit-abi@0.3.2
http@0.2.9
http-body@0.4.5
httparse@1.8.0
httpdate@1.0.3
humantime@1.3.0
hyper@0.14.27
hyper-tls@0.5.0
idna@0.4.0
indexmap@1.9.3
ipnet@2.8.0
itoa@1.0.9
js-sys@0.3.64
json@0.12.4
lazy_static@1.4.0
libc@0.2.148
linux-raw-sys@0.4.7
log@0.4.20
memchr@2.6.3
mime@0.3.17
miniz_oxide@0.7.1
mio@0.8.8
native-tls@0.2.11
num_cpus@1.16.0
object@0.32.1
once_cell@1.18.0
openssl@0.10.57
openssl-macros@0.1.1
openssl-probe@0.1.5
openssl-sys@0.9.93
os_str_bytes@6.5.1
percent-encoding@2.3.0
pin-project-lite@0.2.13
pin-utils@0.1.0
pkg-config@0.3.27
ppv-lite86@0.2.17
proc-macro2@1.0.67
quick-error@1.2.3
quote@1.0.33
rand@0.8.5
rand_chacha@0.3.1
rand_core@0.6.4
redox_syscall@0.3.5
regex@1.9.5
regex-automata@0.3.8
regex-syntax@0.7.5
reqwest@0.11.20
rustc-demangle@0.1.23
rustc-hash@1.1.0
rustix@0.38.13
ryu@1.0.15
schannel@0.1.22
security-framework@2.9.2
security-framework-sys@2.9.1
serde@1.0.188
serde_derive@1.0.188
serde_json@1.0.107
serde_urlencoded@0.7.1
sha1@0.10.5
slab@0.4.9
socket2@0.4.9
socket2@0.5.4
strsim@0.10.0
syn@2.0.33
syslog@4.0.1
tempfile@3.8.0
termcolor@1.2.0
textwrap@0.16.0
thiserror@1.0.48
thiserror-impl@1.0.48
time@0.1.45
tinyvec@1.6.0
tinyvec_macros@0.1.1
tokio@1.32.0
tokio-native-tls@0.3.1
tokio-util@0.7.8
tower-service@0.3.2
tracing@0.1.37
tracing-core@0.1.31
try-lock@0.2.4
twoway@0.2.2
typenum@1.16.0
unchecked-index@0.2.2
unicode-bidi@0.3.13
unicode-ident@1.0.12
unicode-normalization@0.1.22
url@2.4.1
vcpkg@0.2.15
version_check@0.9.4
want@0.3.1
wasi@0.10.0+wasi-snapshot-preview1
wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen@0.2.87
wasm-bindgen-backend@0.2.87
wasm-bindgen-futures@0.4.37
wasm-bindgen-macro@0.2.87
wasm-bindgen-macro-support@0.2.87
wasm-bindgen-shared@0.2.87
web-sys@0.3.64
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.5
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.48.0
windows-targets@0.48.5
windows_aarch64_gnullvm@0.48.5
windows_aarch64_msvc@0.48.5
windows_i686_gnu@0.48.5
windows_i686_msvc@0.48.5
windows_x86_64_gnu@0.48.5
windows_x86_64_gnullvm@0.48.5
windows_x86_64_msvc@0.48.5
winreg@0.50.0
"
TESTDATA="${PN}-testdata-202110"
inherit cargo systemd
DESCRIPTION="Yet Another SKK server"
HOMEPAGE="https://github.com/wachikun/yaskkserv2"
SRC_URI="https://github.com/wachikun/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
test? ( https://dev.gentoo.org/~hattya/distfiles/${TESTDATA}.tar.xz )"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/openssl:0="
RDEPEND="${DEPEND}
app-i18n/skk-jisyo"
BDEPEND="test? (
app-emacs/ddskk
app-i18n/yaskkserv
)"
QA_FLAGS_IGNORED=".*"
src_prepare() {
default
sed -i "/^dictionary =/s|= .*|= ${EPREFIX}/usr/lib/${PN}/default.euc|" etc/${PN}.conf
export OPENSSL_NO_VENDOR=true
# skip network tests
sed -i "s/^fn ${PN}.*_google_/#[ignore]\n&/" src/skk/test_unix/${PN}.rs
}
src_test() {
export YASKKSERV2_TEST_DIRECTORY="${T}"/${PN}
mkdir -p "${YASKKSERV2_TEST_DIRECTORY}" || die
cp -r "${WORKDIR}"/${TESTDATA}/* "${YASKKSERV2_TEST_DIRECTORY}" || die
cargo_src_test
}
src_install() {
cargo_src_install
dodir /usr/sbin
mv "${ED}"/usr/{,s}bin/${PN} || die
rm "${ED}"/usr/bin/test_wrapper || die
einstalldocs
keepdir /usr/lib/${PN}
insinto /etc
doins etc/${PN}.conf
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_preinst() {
"${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.euc \
"${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die
"${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.utf8 \
--utf8 "${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die
}
-229
View File
@@ -1,229 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
CRATES="
addr2line-0.21.0
adler-1.0.2
aho-corasick-1.0.5
atty-0.2.14
autocfg-1.1.0
backtrace-0.3.69
base64-0.21.4
bincode-1.3.3
bitflags-1.3.2
bitflags-2.4.0
block-buffer-0.10.4
bumpalo-3.14.0
bytes-1.5.0
cc-1.0.83
cfg-if-1.0.0
clap-3.2.25
clap_lex-0.2.4
core-foundation-0.9.3
core-foundation-sys-0.8.4
cpufeatures-0.2.9
crypto-common-0.1.6
daemonize-0.5.0
digest-0.10.7
encoding_rs-0.8.33
env_logger-0.7.1
errno-0.3.3
errno-dragonfly-0.1.2
error-chain-0.11.0
fastrand-2.0.0
fnv-1.0.7
foreign-types-0.3.2
foreign-types-shared-0.1.1
form_urlencoded-1.2.0
futures-channel-0.3.28
futures-core-0.3.28
futures-io-0.3.28
futures-sink-0.3.28
futures-task-0.3.28
futures-util-0.3.28
generic-array-0.14.7
getrandom-0.2.10
gimli-0.28.0
h2-0.3.21
hashbrown-0.12.3
hermit-abi-0.1.19
hermit-abi-0.3.2
http-0.2.9
http-body-0.4.5
httparse-1.8.0
httpdate-1.0.3
humantime-1.3.0
hyper-0.14.27
hyper-tls-0.5.0
idna-0.4.0
indexmap-1.9.3
ipnet-2.8.0
itoa-1.0.9
js-sys-0.3.64
json-0.12.4
lazy_static-1.4.0
libc-0.2.148
linux-raw-sys-0.4.7
log-0.4.20
memchr-2.6.3
mime-0.3.17
miniz_oxide-0.7.1
mio-0.8.8
native-tls-0.2.11
num_cpus-1.16.0
object-0.32.1
once_cell-1.18.0
openssl-0.10.57
openssl-macros-0.1.1
openssl-probe-0.1.5
openssl-sys-0.9.93
os_str_bytes-6.5.1
percent-encoding-2.3.0
pin-project-lite-0.2.13
pin-utils-0.1.0
pkg-config-0.3.27
ppv-lite86-0.2.17
proc-macro2-1.0.67
quick-error-1.2.3
quote-1.0.33
rand-0.8.5
rand_chacha-0.3.1
rand_core-0.6.4
redox_syscall-0.3.5
regex-1.9.5
regex-automata-0.3.8
regex-syntax-0.7.5
reqwest-0.11.20
rustc-demangle-0.1.23
rustc-hash-1.1.0
rustix-0.38.13
ryu-1.0.15
schannel-0.1.22
security-framework-2.9.2
security-framework-sys-2.9.1
serde-1.0.188
serde_derive-1.0.188
serde_json-1.0.107
serde_urlencoded-0.7.1
sha1-0.10.5
slab-0.4.9
socket2-0.4.9
socket2-0.5.4
strsim-0.10.0
syn-2.0.33
syslog-4.0.1
tempfile-3.8.0
termcolor-1.2.0
textwrap-0.16.0
thiserror-1.0.48
thiserror-impl-1.0.48
time-0.1.45
tinyvec-1.6.0
tinyvec_macros-0.1.1
tokio-1.32.0
tokio-native-tls-0.3.1
tokio-util-0.7.8
tower-service-0.3.2
tracing-0.1.37
tracing-core-0.1.31
try-lock-0.2.4
twoway-0.2.2
typenum-1.16.0
unchecked-index-0.2.2
unicode-bidi-0.3.13
unicode-ident-1.0.12
unicode-normalization-0.1.22
url-2.4.1
vcpkg-0.2.15
version_check-0.9.4
want-0.3.1
wasi-0.10.0+wasi-snapshot-preview1
wasi-0.11.0+wasi-snapshot-preview1
wasm-bindgen-0.2.87
wasm-bindgen-backend-0.2.87
wasm-bindgen-futures-0.4.37
wasm-bindgen-macro-0.2.87
wasm-bindgen-macro-support-0.2.87
wasm-bindgen-shared-0.2.87
web-sys-0.3.64
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
windows-sys-0.48.0
windows-targets-0.48.5
windows_aarch64_gnullvm-0.48.5
windows_aarch64_msvc-0.48.5
windows_i686_gnu-0.48.5
windows_i686_msvc-0.48.5
windows_x86_64_gnu-0.48.5
windows_x86_64_gnullvm-0.48.5
windows_x86_64_msvc-0.48.5
winreg-0.50.0
"
TESTDATA="${PN}-testdata-202110"
inherit cargo systemd
DESCRIPTION="Yet Another SKK server"
HOMEPAGE="https://github.com/wachikun/yaskkserv2"
SRC_URI="https://github.com/wachikun/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris)
test? ( https://dev.gentoo.org/~hattya/distfiles/${TESTDATA}.tar.xz )"
RESTRICT="!test? ( test )"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND="dev-libs/openssl:0="
RDEPEND="${DEPEND}
app-i18n/skk-jisyo"
BDEPEND="test? (
app-emacs/ddskk
app-i18n/yaskkserv
)"
QA_FLAGS_IGNORED=".*"
src_prepare() {
default
sed -i "/^dictionary =/s|= .*|= ${EPREFIX}/usr/lib/${PN}/default.euc|" etc/${PN}.conf
export OPENSSL_NO_VENDOR=true
# skip network tests
sed -i "s/^fn ${PN}.*_google_/#[ignore]\n&/" src/skk/test_unix/${PN}.rs
}
src_test() {
export YASKKSERV2_TEST_DIRECTORY="${T}"/${PN}
mkdir -p "${YASKKSERV2_TEST_DIRECTORY}" || die
cp -r "${WORKDIR}"/${TESTDATA}/* "${YASKKSERV2_TEST_DIRECTORY}" || die
cargo_src_test
}
src_install() {
cargo_src_install
dodir /usr/sbin
mv "${ED}"/usr/{,s}bin/${PN} || die
rm "${ED}"/usr/bin/test_wrapper || die
einstalldocs
keepdir /usr/lib/${PN}
insinto /etc
doins etc/${PN}.conf
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_preinst() {
"${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.euc "${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die
"${ED}"/usr/bin/${PN}_make_dictionary --dictionary-filename "${ED}"/usr/lib/${PN}/default.utf8 --utf8 "${EPREFIX}"/usr/share/skk/SKK-JISYO.L || die
}
@@ -230,6 +230,11 @@ RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/tiny-dfr"
QA_PRESTRIPPED="usr/bin/tiny-dfr"
pkg_setup() {
linux-info_pkg_setup
rust_pkg_setup
}
pkg_pretend() {
local CONFIG_CHECK="~INPUT_UINPUT"
[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
@@ -0,0 +1,261 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick@1.0.5
anyhow@1.0.75
approx@0.5.1
autocfg@1.1.0
bitflags@1.3.2
bitflags@2.4.0
block@0.1.6
bytemuck@1.14.0
bytemuck_derive@1.5.0
byteorder@1.4.3
cairo-rs@0.18.5
cairo-sys-rs@0.18.0
cast@0.3.0
cc@1.0.83
cfg-expr@0.15.5
cfg-if@1.0.0
crossbeam-channel@0.5.8
crossbeam-deque@0.8.3
crossbeam-epoch@0.9.15
crossbeam-utils@0.8.16
cssparser@0.31.2
cssparser-macros@0.6.1
data-url@0.3.0
derive_more@0.99.17
drm@0.11.1
drm-ffi@0.7.1
drm-fourcc@2.2.0
drm-sys@0.6.1
dtoa@1.0.9
dtoa-short@0.3.4
either@1.9.0
encoding_rs@0.8.33
equivalent@1.0.1
errno@0.3.8
float-cmp@0.9.0
form_urlencoded@1.2.0
freetype-rs@0.32.0
freetype-sys@0.17.0
futf@0.1.5
futures-channel@0.3.28
futures-core@0.3.28
futures-executor@0.3.28
futures-io@0.3.28
futures-macro@0.3.28
futures-task@0.3.28
futures-util@0.3.28
fxhash@0.2.1
gdk-pixbuf@0.18.0
gdk-pixbuf-sys@0.18.0
getrandom@0.2.10
gio@0.18.1
gio-sys@0.18.1
glib@0.18.1
glib-macros@0.18.0
glib-sys@0.18.1
gobject-sys@0.18.0
hashbrown@0.14.0
heck@0.4.1
hermit-abi@0.3.2
idna@0.4.0
indexmap@2.0.0
input@0.8.3
input-linux@0.6.0
input-linux-sys@0.8.0
input-sys@1.17.0
io-lifetimes@1.0.11
itertools@0.11.0
itoa@1.0.9
language-tags@0.3.2
lazy_static@1.4.0
libc@0.2.152
librsvg@2.57.1
libudev-sys@0.1.4
linux-raw-sys@0.4.13
linux-raw-sys@0.6.4
locale_config@0.3.0
lock_api@0.4.10
log@0.4.20
mac@0.1.1
malloc_buf@0.0.6
markup5ever@0.11.0
matrixmultiply@0.3.7
memchr@2.6.3
memoffset@0.7.1
memoffset@0.9.0
nalgebra@0.32.3
nalgebra-macros@0.2.1
new_debug_unreachable@1.0.4
nix@0.26.4
nix@0.27.1
num-complex@0.4.4
num-integer@0.1.45
num-rational@0.4.1
num-traits@0.2.16
num_cpus@1.16.0
objc@0.2.7
objc-foundation@0.1.1
objc_id@0.1.1
once_cell@1.18.0
pango@0.18.0
pango-sys@0.18.0
pangocairo@0.18.0
pangocairo-sys@0.18.0
parking_lot@0.12.1
parking_lot_core@0.9.8
paste@1.0.14
percent-encoding@2.3.0
phf@0.10.1
phf_codegen@0.10.0
phf_generator@0.10.0
phf_macros@0.10.0
phf_shared@0.10.0
pin-project-lite@0.2.13
pin-utils@0.1.0
pkg-config@0.3.27
ppv-lite86@0.2.17
precomputed-hash@0.1.1
privdrop@0.5.4
proc-macro-crate@1.3.1
proc-macro-error@1.0.4
proc-macro-error-attr@1.0.4
proc-macro-hack@0.5.20+deprecated
proc-macro2@1.0.66
quote@1.0.33
rand@0.8.5
rand_chacha@0.3.1
rand_core@0.6.4
rawpointer@0.2.1
rayon@1.7.0
rayon-core@1.11.0
rctree@0.5.0
redox_syscall@0.3.5
regex@1.9.5
regex-automata@0.3.8
regex-syntax@0.7.5
rgb@0.8.36
rustix@0.38.30
safe_arch@0.7.1
scopeguard@1.2.0
selectors@0.25.0
serde@1.0.188
serde_derive@1.0.188
serde_spanned@0.6.4
servo_arc@0.3.0
simba@0.8.1
siphasher@0.3.11
slab@0.4.9
smallvec@1.11.0
stable_deref_trait@1.2.0
string_cache@0.8.7
string_cache_codegen@0.5.2
syn@1.0.109
syn@2.0.32
system-deps@6.1.1
target-lexicon@0.12.11
tendril@0.4.3
thiserror@1.0.48
thiserror-impl@1.0.48
tiny-dfr@0.3.0
tinyvec@1.6.0
tinyvec_macros@0.1.1
toml@0.7.8
toml@0.8.8
toml_datetime@0.6.5
toml_edit@0.19.15
toml_edit@0.21.0
typenum@1.16.0
udev@0.7.0
unicode-bidi@0.3.13
unicode-ident@1.0.11
unicode-normalization@0.1.22
url@2.4.1
utf-8@0.7.6
version-compare@0.1.1
version_check@0.9.4
wasi@0.11.0+wasi-snapshot-preview1
wide@0.7.11
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
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
winnow@0.5.15
xml5ever@0.17.0
"
inherit cargo udev systemd linux-info
DESCRIPTION="The most basic dynamic function row daemon possible"
HOMEPAGE="https://github.com/WhatAmISupposedToPutHere/tiny-dfr"
SRC_URI="
${CARGO_CRATE_URIS}
https://github.com/WhatAmISupposedToPutHere/tiny-dfr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~arm64"
DEPEND="
dev-libs/libinput
x11-libs/pango
x11-libs/gdk-pixbuf
"
RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/tiny-dfr"
QA_PRESTRIPPED="usr/bin/tiny-dfr"
pkg_setup() {
linux-info_pkg_setup
rust_pkg_setup
}
pkg_pretend() {
local CONFIG_CHECK="~INPUT_UINPUT"
[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
}
src_install() {
cargo_src_install
insinto /usr/share/tiny-dfr
doins share/tiny-dfr/*
udev_dorules etc/udev/rules.d/*
systemd_dounit etc/systemd/system/*
newinitd "${FILESDIR}"/${PN}.initd ${PN}
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
-256
View File
@@ -1,256 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick@1.0.5
anyhow@1.0.75
approx@0.5.1
autocfg@1.1.0
bitflags@1.3.2
bitflags@2.4.0
block@0.1.6
bytemuck@1.14.0
bytemuck_derive@1.5.0
byteorder@1.4.3
cairo-rs@0.18.5
cairo-sys-rs@0.18.0
cast@0.3.0
cc@1.0.83
cfg-expr@0.15.5
cfg-if@1.0.0
crossbeam-channel@0.5.8
crossbeam-deque@0.8.3
crossbeam-epoch@0.9.15
crossbeam-utils@0.8.16
cssparser@0.31.2
cssparser-macros@0.6.1
data-url@0.3.0
derive_more@0.99.17
drm@0.11.1
drm-ffi@0.7.1
drm-fourcc@2.2.0
drm-sys@0.6.1
dtoa@1.0.9
dtoa-short@0.3.4
either@1.9.0
encoding_rs@0.8.33
equivalent@1.0.1
errno@0.3.8
float-cmp@0.9.0
form_urlencoded@1.2.0
freetype-rs@0.32.0
freetype-sys@0.17.0
futf@0.1.5
futures-channel@0.3.28
futures-core@0.3.28
futures-executor@0.3.28
futures-io@0.3.28
futures-macro@0.3.28
futures-task@0.3.28
futures-util@0.3.28
fxhash@0.2.1
gdk-pixbuf@0.18.0
gdk-pixbuf-sys@0.18.0
getrandom@0.2.10
gio@0.18.1
gio-sys@0.18.1
glib@0.18.1
glib-macros@0.18.0
glib-sys@0.18.1
gobject-sys@0.18.0
hashbrown@0.14.0
heck@0.4.1
hermit-abi@0.3.2
idna@0.4.0
indexmap@2.0.0
input@0.8.3
input-linux@0.6.0
input-linux-sys@0.8.0
input-sys@1.17.0
io-lifetimes@1.0.11
itertools@0.11.0
itoa@1.0.9
language-tags@0.3.2
lazy_static@1.4.0
libc@0.2.152
librsvg@2.57.1
libudev-sys@0.1.4
linux-raw-sys@0.4.13
linux-raw-sys@0.6.4
locale_config@0.3.0
lock_api@0.4.10
log@0.4.20
mac@0.1.1
malloc_buf@0.0.6
markup5ever@0.11.0
matrixmultiply@0.3.7
memchr@2.6.3
memoffset@0.7.1
memoffset@0.9.0
nalgebra@0.32.3
nalgebra-macros@0.2.1
new_debug_unreachable@1.0.4
nix@0.26.4
nix@0.27.1
num-complex@0.4.4
num-integer@0.1.45
num-rational@0.4.1
num-traits@0.2.16
num_cpus@1.16.0
objc@0.2.7
objc-foundation@0.1.1
objc_id@0.1.1
once_cell@1.18.0
pango@0.18.0
pango-sys@0.18.0
pangocairo@0.18.0
pangocairo-sys@0.18.0
parking_lot@0.12.1
parking_lot_core@0.9.8
paste@1.0.14
percent-encoding@2.3.0
phf@0.10.1
phf_codegen@0.10.0
phf_generator@0.10.0
phf_macros@0.10.0
phf_shared@0.10.0
pin-project-lite@0.2.13
pin-utils@0.1.0
pkg-config@0.3.27
ppv-lite86@0.2.17
precomputed-hash@0.1.1
privdrop@0.5.4
proc-macro-crate@1.3.1
proc-macro-error@1.0.4
proc-macro-error-attr@1.0.4
proc-macro-hack@0.5.20+deprecated
proc-macro2@1.0.66
quote@1.0.33
rand@0.8.5
rand_chacha@0.3.1
rand_core@0.6.4
rawpointer@0.2.1
rayon@1.7.0
rayon-core@1.11.0
rctree@0.5.0
redox_syscall@0.3.5
regex@1.9.5
regex-automata@0.3.8
regex-syntax@0.7.5
rgb@0.8.36
rustix@0.38.30
safe_arch@0.7.1
scopeguard@1.2.0
selectors@0.25.0
serde@1.0.188
serde_derive@1.0.188
serde_spanned@0.6.4
servo_arc@0.3.0
simba@0.8.1
siphasher@0.3.11
slab@0.4.9
smallvec@1.11.0
stable_deref_trait@1.2.0
string_cache@0.8.7
string_cache_codegen@0.5.2
syn@1.0.109
syn@2.0.32
system-deps@6.1.1
target-lexicon@0.12.11
tendril@0.4.3
thiserror@1.0.48
thiserror-impl@1.0.48
tiny-dfr@0.3.0
tinyvec@1.6.0
tinyvec_macros@0.1.1
toml@0.7.8
toml@0.8.8
toml_datetime@0.6.5
toml_edit@0.19.15
toml_edit@0.21.0
typenum@1.16.0
udev@0.7.0
unicode-bidi@0.3.13
unicode-ident@1.0.11
unicode-normalization@0.1.22
url@2.4.1
utf-8@0.7.6
version-compare@0.1.1
version_check@0.9.4
wasi@0.11.0+wasi-snapshot-preview1
wide@0.7.11
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
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
winnow@0.5.15
xml5ever@0.17.0
"
inherit cargo udev systemd linux-info
DESCRIPTION="The most basic dynamic function row daemon possible"
HOMEPAGE="https://github.com/WhatAmISupposedToPutHere/tiny-dfr"
SRC_URI="
${CARGO_CRATE_URIS}
https://github.com/WhatAmISupposedToPutHere/tiny-dfr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~arm64"
DEPEND="
dev-libs/libinput
x11-libs/pango
x11-libs/gdk-pixbuf
"
RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/tiny-dfr"
QA_PRESTRIPPED="usr/bin/tiny-dfr"
pkg_pretend() {
local CONFIG_CHECK="~INPUT_UINPUT"
[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
}
src_install() {
cargo_src_install
insinto /usr/share/tiny-dfr
doins share/tiny-dfr/*
udev_dorules etc/udev/rules.d/*
systemd_dounit etc/systemd/system/*
newinitd "${FILESDIR}"/${PN}.initd ${PN}
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}
@@ -0,0 +1,159 @@
# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
[[ ${PV} == *_pre???????? ]] && \
COMMIT="19e53b05828a43b7062b67a9cc6c84836ca26439"
CRATES="
ansi_term@0.11.0
approx@0.5.0
async-trait@0.1.51
atty@0.2.14
autocfg@1.0.1
bitflags@1.3.2
bytes@0.5.6
bytes@1.1.0
cc@1.0.70
cfg-if@0.1.10
cfg-if@1.0.0
claim@0.5.0
clap@2.33.3
core-foundation@0.6.4
core-foundation-sys@0.6.2
domain@0.6.1
dtoa@0.4.8
fnv@1.0.7
foreign-types@0.3.2
foreign-types-shared@0.1.1
fuchsia-zircon@0.3.3
fuchsia-zircon-sys@0.3.3
futures-channel@0.3.17
futures-core@0.3.17
futures-sink@0.3.17
futures-task@0.3.17
futures-util@0.3.17
getrandom@0.2.3
h2@0.2.7
hashbrown@0.11.2
heck@0.3.3
hermit-abi@0.1.19
http@0.2.4
http-body@0.3.1
httparse@1.5.1
httpdate@0.3.2
hyper@0.13.10
indexmap@1.7.0
iovec@0.1.4
itoa@0.4.8
kernel32-sys@0.2.2
lazy_static@1.4.0
libc@0.2.102
log@0.4.14
memchr@2.4.1
mio@0.6.23
mio-uds@0.6.8
miow@0.2.2
net2@0.2.37
num-traits@0.2.14
once_cell@1.8.0
openssl@0.10.36
openssl-probe@0.1.4
openssl-sys@0.9.66
openssl-src@111.16.0+1.1.1l
pin-project@1.0.8
pin-project-internal@1.0.8
pin-project-lite@0.1.12
pin-project-lite@0.2.7
pin-utils@0.1.0
pkg-config@0.3.19
ppv-lite86@0.2.10
proc-macro-error@1.0.4
proc-macro-error-attr@1.0.4
proc-macro2@1.0.29
quote@1.0.9
rand@0.8.4
rand_chacha@0.3.1
rand_core@0.6.3
rand_hc@0.3.1
redox_syscall@0.2.10
remove_dir_all@0.5.3
schannel@0.1.19
security-framework@0.3.4
security-framework-sys@0.3.3
signal-hook-registry@1.4.0
simple_logger@1.13.0
slab@0.4.4
socket2@0.3.19
strsim@0.8.0
structopt@0.3.23
structopt-derive@0.4.16
syn@1.0.76
tempfile@3.2.0
textwrap@0.11.0
tokio@0.2.25
tokio-macros@0.2.6
tokio-tls@0.3.1
tokio-util@0.3.1
tower-service@0.3.1
tracing@0.1.28
tracing-core@0.1.20
tracing-futures@0.2.5
try-lock@0.2.3
unicode-segmentation@1.8.0
unicode-width@0.1.9
unicode-xid@0.2.2
vcpkg@0.2.15
vec_map@0.8.2
version_check@0.9.3
want@0.3.0
wasi@0.10.2+wasi-snapshot-preview1
winapi@0.2.8
winapi@0.3.9
winapi-build@0.1.1
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
ws2_32-sys@0.2.1
"
inherit cargo
RUST_NATIVE_TLS_COMMIT="255dd5493b446755a9e40be3a4638afedfe67b03"
DESCRIPTION="Prometheus exporter for Unbound DNS resolver"
HOMEPAGE="https://github.com/svartalf/unbound-telemetry"
SRC_URI="
https://github.com/svartalf/unbound-telemetry/archive/${COMMIT:-${PV}}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
https://github.com/Goirad/rust-native-tls/archive/${RUST_NATIVE_TLS_COMMIT}.tar.gz -> rust-native-tls-${RUST_NATIVE_TLS_COMMIT}.crate
"
S="${WORKDIR}/${PN}-${COMMIT:-${PV}}"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/unbound-telemetry
acct-user/unbound-telemetry
"
DOCS=(
README.md
)
src_prepare() {
# Ensure Cargo is satisfied with the manually downloaded rust-native-tls
# Upstream use a fork *and* a certain branch
sed -i -e '/pkcs8/d' Cargo.toml || die
default
}
src_install() {
cargo_src_install
dodoc "${DOCS[@]}"
newinitd "${FILESDIR}/initd" "${PN}"
newconfd "${FILESDIR}/confd" "${PN}"
}
@@ -1,159 +0,0 @@
# Copyright 2017-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
[[ ${PV} == *_pre???????? ]] && \
COMMIT="19e53b05828a43b7062b67a9cc6c84836ca26439"
CRATES="
ansi_term-0.11.0
approx-0.5.0
async-trait-0.1.51
atty-0.2.14
autocfg-1.0.1
bitflags-1.3.2
bytes-0.5.6
bytes-1.1.0
cc-1.0.70
cfg-if-0.1.10
cfg-if-1.0.0
claim-0.5.0
clap-2.33.3
core-foundation-0.6.4
core-foundation-sys-0.6.2
domain-0.6.1
dtoa-0.4.8
fnv-1.0.7
foreign-types-0.3.2
foreign-types-shared-0.1.1
fuchsia-zircon-0.3.3
fuchsia-zircon-sys-0.3.3
futures-channel-0.3.17
futures-core-0.3.17
futures-sink-0.3.17
futures-task-0.3.17
futures-util-0.3.17
getrandom-0.2.3
h2-0.2.7
hashbrown-0.11.2
heck-0.3.3
hermit-abi-0.1.19
http-0.2.4
http-body-0.3.1
httparse-1.5.1
httpdate-0.3.2
hyper-0.13.10
indexmap-1.7.0
iovec-0.1.4
itoa-0.4.8
kernel32-sys-0.2.2
lazy_static-1.4.0
libc-0.2.102
log-0.4.14
memchr-2.4.1
mio-0.6.23
mio-uds-0.6.8
miow-0.2.2
net2-0.2.37
num-traits-0.2.14
once_cell-1.8.0
openssl-0.10.36
openssl-probe-0.1.4
openssl-sys-0.9.66
openssl-src-111.16.0+1.1.1l
pin-project-1.0.8
pin-project-internal-1.0.8
pin-project-lite-0.1.12
pin-project-lite-0.2.7
pin-utils-0.1.0
pkg-config-0.3.19
ppv-lite86-0.2.10
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-1.0.29
quote-1.0.9
rand-0.8.4
rand_chacha-0.3.1
rand_core-0.6.3
rand_hc-0.3.1
redox_syscall-0.2.10
remove_dir_all-0.5.3
schannel-0.1.19
security-framework-0.3.4
security-framework-sys-0.3.3
signal-hook-registry-1.4.0
simple_logger-1.13.0
slab-0.4.4
socket2-0.3.19
strsim-0.8.0
structopt-0.3.23
structopt-derive-0.4.16
syn-1.0.76
tempfile-3.2.0
textwrap-0.11.0
tokio-0.2.25
tokio-macros-0.2.6
tokio-tls-0.3.1
tokio-util-0.3.1
tower-service-0.3.1
tracing-0.1.28
tracing-core-0.1.20
tracing-futures-0.2.5
try-lock-0.2.3
unicode-segmentation-1.8.0
unicode-width-0.1.9
unicode-xid-0.2.2
vcpkg-0.2.15
vec_map-0.8.2
version_check-0.9.3
want-0.3.0
wasi-0.10.2+wasi-snapshot-preview1
winapi-0.2.8
winapi-0.3.9
winapi-build-0.1.1
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
ws2_32-sys-0.2.1
"
inherit cargo
RUST_NATIVE_TLS_COMMIT="255dd5493b446755a9e40be3a4638afedfe67b03"
DESCRIPTION="Prometheus exporter for Unbound DNS resolver"
HOMEPAGE="https://github.com/svartalf/unbound-telemetry"
SRC_URI="
https://github.com/svartalf/unbound-telemetry/archive/${COMMIT:-${PV}}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})
https://github.com/Goirad/rust-native-tls/archive/${RUST_NATIVE_TLS_COMMIT}.tar.gz -> rust-native-tls-${RUST_NATIVE_TLS_COMMIT}.crate
"
S="${WORKDIR}/${PN}-${COMMIT:-${PV}}"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/unbound-telemetry
acct-user/unbound-telemetry
"
DOCS=(
README.md
)
src_prepare() {
# Ensure Cargo is satisfied with the manually downloaded rust-native-tls
# Upstream use a fork *and* a certain branch
sed -i -e '/pkcs8/d' Cargo.toml || die
default
}
src_install() {
cargo_src_install
dodoc "${DOCS[@]}"
newinitd "${FILESDIR}/initd" "${PN}"
newconfd "${FILESDIR}/confd" "${PN}"
}
@@ -774,7 +774,6 @@ BDEPEND="
>=app-arch/zstd-1.5.5:=
dev-libs/protobuf
virtual/pkgconfig
>=virtual/rust-1.75.0
doc? (
$(python_gen_cond_dep '
>=dev-python/sphinx-7.2.6[${PYTHON_USEDEP}]
@@ -827,6 +826,7 @@ pkg_setup() {
fi
fi
fi
rust_pkg_setup
}
src_prepare() {
@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.12.1
@@ -343,7 +343,6 @@ RDEPEND="
X? ( x11-libs/libxcb:= )
"
DEPEND="${RDEPEND}"
BDEPEND=">=virtual/rust-1.65"
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -343,7 +343,6 @@ RDEPEND="
X? ( x11-libs/libxcb:= )
"
DEPEND="${RDEPEND}"
BDEPEND=">=virtual/rust-1.65"
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -343,7 +343,6 @@ RDEPEND="
X? ( x11-libs/libxcb:= )
"
DEPEND="${RDEPEND}"
BDEPEND=">=virtual/rust-1.76"
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -330,6 +330,7 @@ zerocopy-derive@0.7.35
zune-inflate@0.2.54
"
RUST_MIN_VER="1.77.1"
inherit bash-completion-r1 cargo
DESCRIPTION="A new way to see and navigate directory trees"
@@ -348,7 +349,6 @@ RDEPEND="
X? ( x11-libs/libxcb:= )
"
DEPEND="${RDEPEND}"
BDEPEND=">=virtual/rust-1.76"
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -104,10 +104,6 @@ LICENSE+="
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
>=virtual/rust-1.64
"
QA_FLAGS_IGNORED="usr/bin/jaq"
QA_PRESTRIPPED="usr/bin/jaq"
@@ -103,10 +103,6 @@ LICENSE+="
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
>=virtual/rust-1.64
"
QA_FLAGS_IGNORED="usr/bin/jaq"
QA_PRESTRIPPED="usr/bin/jaq"
@@ -100,10 +100,6 @@ LICENSE+="
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
>=virtual/rust-1.64
"
QA_FLAGS_IGNORED="usr/bin/jaq"
QA_PRESTRIPPED="usr/bin/jaq"
@@ -1,4 +1,4 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.10
+1 -1
View File
@@ -6,6 +6,6 @@
<name>Matthew Smith</name>
</maintainer>
<upstream>
<remote-id type="github">googleprojectzero/weggli</remote-id>
<remote-id type="github">weggli-rs/weggli</remote-id>
</upstream>
</pkgmetadata>
+142
View File
@@ -0,0 +1,142 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick@0.7.18
ansi_term@0.12.1
assert_cmd@2.0.2
atty@0.2.14
autocfg@1.0.1
bitflags@1.3.2
bstr@0.2.17
bumpalo@3.9.1
cast@0.2.7
cc@1.0.72
cfg-if@0.1.10
cfg-if@1.0.0
chrono@0.4.19
clap@2.34.0
colored@2.0.0
criterion@0.3.5
criterion-plot@0.4.4
crossbeam-channel@0.5.2
crossbeam-deque@0.8.1
crossbeam-epoch@0.9.6
crossbeam-utils@0.8.6
csv@1.1.6
csv-core@0.1.10
ctor@0.1.21
difference@2.0.0
difflib@0.4.0
doc-comment@0.3.3
either@1.6.1
float-cmp@0.8.0
ghost@0.1.2
half@1.8.2
hermit-abi@0.1.19
indoc@0.3.6
indoc-impl@0.3.6
instant@0.1.12
inventory@0.1.11
inventory-impl@0.1.11
itertools@0.10.3
itoa@0.4.8
itoa@1.0.1
js-sys@0.3.55
lazy_static@1.4.0
libc@0.2.112
lock_api@0.4.5
log@0.4.14
memchr@2.4.1
memoffset@0.6.5
nix@0.17.0
normalize-line-endings@0.3.0
num-integer@0.1.44
num-traits@0.2.14
num_cpus@1.13.1
oorandom@11.1.3
parking_lot@0.11.2
parking_lot_core@0.8.5
paste@0.1.18
paste-impl@0.1.18
plotters@0.3.1
plotters-backend@0.3.2
plotters-svg@0.3.1
predicates@1.0.8
predicates@2.1.0
predicates-core@1.0.2
predicates-tree@1.0.4
proc-macro-hack@0.5.19
proc-macro2@1.0.36
pyo3@0.13.2
pyo3-macros@0.13.2
pyo3-macros-backend@0.13.2
quote@1.0.14
rayon@1.5.1
rayon-core@1.9.1
redox_syscall@0.2.10
regex@1.5.4
regex-automata@0.1.10
regex-syntax@0.6.25
rustc-hash@1.1.0
rustc_version@0.4.0
ryu@1.0.9
same-file@1.0.6
scopeguard@1.1.0
semver@1.0.4
serde@1.0.133
serde_cbor@0.11.2
serde_derive@1.0.133
serde_json@1.0.74
simplelog@0.10.2
smallvec@1.7.0
strsim@0.8.0
syn@1.0.85
termcolor@1.1.2
termtree@0.2.4
textwrap@0.11.0
time@0.1.44
tinytemplate@1.2.1
tree-sitter@0.20.2
unicode-width@0.1.9
unicode-xid@0.2.2
unindent@0.1.7
vec_map@0.8.2
void@1.0.2
wait-timeout@0.2.0
walkdir@2.3.2
wasi@0.10.0+wasi-snapshot-preview1
wasm-bindgen@0.2.78
wasm-bindgen-backend@0.2.78
wasm-bindgen-macro@0.2.78
wasm-bindgen-macro-support@0.2.78
wasm-bindgen-shared@0.2.78
web-sys@0.3.55
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.5
winapi-x86_64-pc-windows-gnu@0.4.0
"
# We can inherit distutils-r1 here and build the Python
# module. Unfortunately the Python module seems to not include the
# tree-sitter grammar. Patching the .so to need the system's
# libtree-sitter-cpp seems to work, but it is not correct because the
# weggli grammar has some minor modifications.
inherit cargo
DESCRIPTION="a fast and robust semantic search tool for C and C++ codebases"
HOMEPAGE="https://github.com/weggli-rs/weggli"
SRC_URI="
https://github.com/weggli-rs/weggli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
QA_FLAGS_IGNORED="usr/bin/${PN}"
-141
View File
@@ -1,141 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick-0.7.18
ansi_term-0.12.1
assert_cmd-2.0.2
atty-0.2.14
autocfg-1.0.1
bitflags-1.3.2
bstr-0.2.17
bumpalo-3.9.1
cast-0.2.7
cc-1.0.72
cfg-if-0.1.10
cfg-if-1.0.0
chrono-0.4.19
clap-2.34.0
colored-2.0.0
criterion-0.3.5
criterion-plot-0.4.4
crossbeam-channel-0.5.2
crossbeam-deque-0.8.1
crossbeam-epoch-0.9.6
crossbeam-utils-0.8.6
csv-1.1.6
csv-core-0.1.10
ctor-0.1.21
difference-2.0.0
difflib-0.4.0
doc-comment-0.3.3
either-1.6.1
float-cmp-0.8.0
ghost-0.1.2
half-1.8.2
hermit-abi-0.1.19
indoc-0.3.6
indoc-impl-0.3.6
instant-0.1.12
inventory-0.1.11
inventory-impl-0.1.11
itertools-0.10.3
itoa-0.4.8
itoa-1.0.1
js-sys-0.3.55
lazy_static-1.4.0
libc-0.2.112
lock_api-0.4.5
log-0.4.14
memchr-2.4.1
memoffset-0.6.5
nix-0.17.0
normalize-line-endings-0.3.0
num-integer-0.1.44
num-traits-0.2.14
num_cpus-1.13.1
oorandom-11.1.3
parking_lot-0.11.2
parking_lot_core-0.8.5
paste-0.1.18
paste-impl-0.1.18
plotters-0.3.1
plotters-backend-0.3.2
plotters-svg-0.3.1
predicates-1.0.8
predicates-2.1.0
predicates-core-1.0.2
predicates-tree-1.0.4
proc-macro-hack-0.5.19
proc-macro2-1.0.36
pyo3-0.13.2
pyo3-macros-0.13.2
pyo3-macros-backend-0.13.2
quote-1.0.14
rayon-1.5.1
rayon-core-1.9.1
redox_syscall-0.2.10
regex-1.5.4
regex-automata-0.1.10
regex-syntax-0.6.25
rustc-hash-1.1.0
rustc_version-0.4.0
ryu-1.0.9
same-file-1.0.6
scopeguard-1.1.0
semver-1.0.4
serde-1.0.133
serde_cbor-0.11.2
serde_derive-1.0.133
serde_json-1.0.74
simplelog-0.10.2
smallvec-1.7.0
strsim-0.8.0
syn-1.0.85
termcolor-1.1.2
termtree-0.2.4
textwrap-0.11.0
time-0.1.44
tinytemplate-1.2.1
tree-sitter-0.20.2
unicode-width-0.1.9
unicode-xid-0.2.2
unindent-0.1.7
vec_map-0.8.2
void-1.0.2
wait-timeout-0.2.0
walkdir-2.3.2
wasi-0.10.0+wasi-snapshot-preview1
wasm-bindgen-0.2.78
wasm-bindgen-backend-0.2.78
wasm-bindgen-macro-0.2.78
wasm-bindgen-macro-support-0.2.78
wasm-bindgen-shared-0.2.78
web-sys-0.3.55
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
"
# We can inherit distutils-r1 here and build the Python
# module. Unfortunately the Python module seems to not include the
# tree-sitter grammar. Patching the .so to need the system's
# libtree-sitter-cpp seems to work, but it is not correct because the
# weggli grammar has some minor modifications.
inherit cargo
DESCRIPTION="a fast and robust semantic search tool for C and C++ codebases"
HOMEPAGE="https://github.com/googleprojectzero/weggli"
SRC_URI="
https://github.com/googleprojectzero/weggli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris)
"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT MPL-2.0 Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -88,6 +88,8 @@ CRATES="
winnow@0.6.5
"
RUST_MIN_VER="1.71.1"
inherit cargo shell-completion
DESCRIPTION="A fast, accurate, ergonomic emerge.log parser"
@@ -106,8 +108,6 @@ LICENSE+="
SLOT="0"
KEYWORDS="amd64"
BDEPEND=">=virtual/rust-1.71.0"
# rust does not use *FLAGS from make.conf, silence portage warning
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -90,6 +90,8 @@ CRATES="
winnow@0.6.20
"
RUST_MIN_VER="1.71.1"
inherit cargo shell-completion
DESCRIPTION="A fast, accurate, ergonomic emerge.log parser"
@@ -108,8 +110,6 @@ LICENSE+="
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=virtual/rust-1.71.0"
# rust does not use *FLAGS from make.conf, silence portage warning
QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -454,6 +454,8 @@ CRATES="
zeroize_derive@1.4.2
"
RUST_MIN_VER="1.71.1"
inherit cargo greadme shell-completion systemd
DESCRIPTION="Shell history manager supporting encrypted synchronisation"
@@ -482,7 +484,6 @@ DEPEND="test? ( dev-db/postgresql )"
# protox with 9fa223eaaf0e ("chore(build): compile protobufs with protox (#2122)")
BDEPEND="
dev-libs/protobuf
>=virtual/rust-1.71.0
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
+115
View File
@@ -0,0 +1,115 @@
# Copyright 2017-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick@0.7.10
ansi_term@0.11.0
arrayref@0.3.6
arrayvec@0.5.1
atty@0.2.14
autocfg@1.0.0
base64@0.11.0
bitflags@1.2.1
blake2b_simd@0.5.10
bstr@0.2.12
byteorder@1.3.4
cc@1.0.52
cfg-if@0.1.10
chrono@0.4.19
clap@2.33.0
constant_time_eq@0.1.5
crossbeam-utils@0.7.2
csv@1.1.3
csv-core@0.1.10
dirs@2.0.2
dirs-sys@0.3.4
either@1.6.1
getrandom@0.1.14
hermit-abi@0.1.12
humantime@2.1.0
itertools@0.9.0
itoa@0.4.5
lazy_static@1.4.0
libc@0.2.69
libsqlite3-sys@0.10.0
linked-hash-map@0.5.3
lru-cache@0.1.2
memchr@2.3.3
num-integer@0.1.44
num-traits@0.2.14
numtoa@0.1.0
pkg-config@0.3.17
ppv-lite86@0.2.6
rand@0.7.3
rand_chacha@0.2.2
rand_core@0.5.1
rand_hc@0.2.0
redox_syscall@0.1.56
redox_termios@0.1.1
redox_users@0.3.4
regex@1.3.7
regex-automata@0.1.9
regex-syntax@0.6.17
relative-path@1.0.0
rusqlite@0.15.0
rust-argon2@0.7.0
ryu@1.0.4
serde@1.0.106
shellexpand@2.0.0
strsim@0.8.0
termion@1.5.5
textwrap@0.11.0
thread_local@1.0.1
time@0.1.43
unicode-segmentation@1.6.0
unicode-width@0.1.7
vcpkg@0.2.8
vec_map@0.8.2
wasi@0.9.0+wasi-snapshot-preview1
winapi@0.3.8
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
"
inherit cargo readme.gentoo-r1
DESCRIPTION="Context-aware bash history search replacement (ctrl-r)"
HOMEPAGE="https://github.com/cantino/mcfly"
SRC_URI="https://github.com/cantino/mcfly/archive/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 CC0-1.0 MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/mcfly"
src_install() {
cargo_src_install
insinto /usr/share/${PN}
doins ${PN}.{bash,fish,zsh}
# create README.gentoo
local DISABLE_AUTOFORMATTING="yes"
local DOC_CONTENTS=\
"To start using ${PN}, add the following to your shell:
~/.bashrc
eval \"\$(mcfly init bash)\"
~/.config/fish/config.fish
mcfly init fish | source
~/.zsh
eval \"\$(mcfly init zsh)\""
readme.gentoo_create_doc
einstalldocs
}
pkg_postinst() {
readme.gentoo_print_elog
}
-115
View File
@@ -1,115 +0,0 @@
# Copyright 2017-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick-0.7.10
ansi_term-0.11.0
arrayref-0.3.6
arrayvec-0.5.1
atty-0.2.14
autocfg-1.0.0
base64-0.11.0
bitflags-1.2.1
blake2b_simd-0.5.10
bstr-0.2.12
byteorder-1.3.4
cc-1.0.52
cfg-if-0.1.10
chrono-0.4.19
clap-2.33.0
constant_time_eq-0.1.5
crossbeam-utils-0.7.2
csv-1.1.3
csv-core-0.1.10
dirs-2.0.2
dirs-sys-0.3.4
either-1.6.1
getrandom-0.1.14
hermit-abi-0.1.12
humantime-2.1.0
itertools-0.9.0
itoa-0.4.5
lazy_static-1.4.0
libc-0.2.69
libsqlite3-sys-0.10.0
linked-hash-map-0.5.3
lru-cache-0.1.2
memchr-2.3.3
num-integer-0.1.44
num-traits-0.2.14
numtoa-0.1.0
pkg-config-0.3.17
ppv-lite86-0.2.6
rand-0.7.3
rand_chacha-0.2.2
rand_core-0.5.1
rand_hc-0.2.0
redox_syscall-0.1.56
redox_termios-0.1.1
redox_users-0.3.4
regex-1.3.7
regex-automata-0.1.9
regex-syntax-0.6.17
relative-path-1.0.0
rusqlite-0.15.0
rust-argon2-0.7.0
ryu-1.0.4
serde-1.0.106
shellexpand-2.0.0
strsim-0.8.0
termion-1.5.5
textwrap-0.11.0
thread_local-1.0.1
time-0.1.43
unicode-segmentation-1.6.0
unicode-width-0.1.7
vcpkg-0.2.8
vec_map-0.8.2
wasi-0.9.0+wasi-snapshot-preview1
winapi-0.3.8
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo readme.gentoo-r1
DESCRIPTION="Context-aware bash history search replacement (ctrl-r)"
HOMEPAGE="https://github.com/cantino/mcfly"
SRC_URI="https://github.com/cantino/mcfly/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris)"
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 CC0-1.0 MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/mcfly"
src_install() {
cargo_src_install
insinto /usr/share/${PN}
doins ${PN}.{bash,fish,zsh}
# create README.gentoo
local DISABLE_AUTOFORMATTING="yes"
local DOC_CONTENTS=\
"To start using ${PN}, add the following to your shell:
~/.bashrc
eval \"\$(mcfly init bash)\"
~/.config/fish/config.fish
mcfly init fish | source
~/.zsh
eval \"\$(mcfly init zsh)\""
readme.gentoo_create_doc
einstalldocs
}
pkg_postinst() {
readme.gentoo_print_elog
}
@@ -698,6 +698,7 @@ CRATES="
zstd@0.13.2
"
RUST_MIN_VER="1.79.0"
inherit cargo
DESCRIPTION="A new type of shell, written in Rust"
@@ -732,7 +733,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"
BDEPEND="
>=virtual/rust-1.79.0
virtual/pkgconfig
"
@@ -5,6 +5,7 @@ EAPI=8
CRATES=""
RUST_MIN_VER="1.74.1"
inherit cargo
DESCRIPTION="The minimal, blazing-fast, and infinitely customizable prompt for any shell"
@@ -26,7 +27,6 @@ KEYWORDS="amd64 arm64"
BDEPEND="
dev-build/cmake
>=virtual/rust-1.74.1
"
QA_FLAGS_IGNORED="usr/bin/starship"
@@ -395,6 +395,7 @@ CRATES="
zvariant_utils@2.1.0
"
RUST_MIN_VER="1.74.1"
inherit cargo
DESCRIPTION="The minimal, blazing-fast, and infinitely customizable prompt for any shell"
@@ -414,7 +415,6 @@ KEYWORDS="amd64 arm64"
BDEPEND="
dev-build/cmake
>=virtual/rust-1.74.1
"
QA_FLAGS_IGNORED="usr/bin/starship"
@@ -216,6 +216,11 @@ DEPEND="
"
RDEPEND="${DEPEND}"
pkg_setup() {
go_pkg_setup
rust_pkg_setup
}
src_unpack() {
cargo_src_unpack
}
@@ -4,14 +4,16 @@
EAPI=8
README_GENTOO_SUFFIX="-r3"
CRATES="dunce-0.1.1"
CRATES="dunce@0.1.1"
inherit autotools bash-completion-r1 cargo java-pkg-2 readme.gentoo-r1 xdg-utils
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
HOMEPAGE="https://github.com/AdoptOpenJDK/IcedTea-Web"
SRC_URI="https://github.com/AdoptOpenJDK/${PN}/archive/${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
${CARGO_CRATE_URIS}"
S="${WORKDIR}/IcedTea-Web-${P}"
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64"
@@ -25,7 +27,6 @@ BDEPEND="
app-arch/zip
app-alternatives/bc
virtual/pkgconfig
virtual/rust
doc? ( app-alternatives/bc )
"
@@ -58,10 +59,13 @@ RDEPEND="
>=virtual/jre-1.8:*
"
S="${WORKDIR}/IcedTea-Web-${P}"
QA_FLAGS_IGNORED="usr/bin/.*"
pkg_setup() {
java-pkg-2_pkg_setup
rust_pkg_setup
}
src_prepare() {
eapply_user
sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
+1 -1
View File
@@ -667,5 +667,5 @@ src_install() {
pkg_postinst() {
optfeature "Dafny GO language backend" dev-go/go-tools
optfeature "Dafny Rust language backend" virtual/rust
optfeature "Dafny Rust language backend" dev-lang/rust dev-lang/rust-bin
}
+1 -1
View File
@@ -668,5 +668,5 @@ src_install() {
pkg_postinst() {
optfeature "Dafny GO language backend" dev-go/go-tools
optfeature "Dafny Rust language backend" virtual/rust
optfeature "Dafny Rust language backend" dev-lang/rust dev-lang/rust-bin
}
+1 -1
View File
@@ -643,5 +643,5 @@ src_install() {
pkg_postinst() {
optfeature "Dafny GO language backend" dev-go/go-tools
optfeature "Dafny Rust language backend" virtual/rust
optfeature "Dafny Rust language backend" dev-lang/rust dev-lang/rust-bin
}
+1 -2
View File
@@ -39,6 +39,7 @@ inherit flag-o-matic toolchain-funcs toolchain
DESCRIPTION="GNAT Ada Compiler - GPL version"
HOMEPAGE="http://libre.adacore.com/"
S="${WORKDIR}"/${MYP}
LICENSE+=" GPL-2 GPL-3"
KEYWORDS="amd64 x86"
@@ -48,8 +49,6 @@ RESTRICT="test"
RDEPEND="!=sys-devel/gcc-${TOOLCHAIN_GCC_PV}*"
BDEPEND=sys-devel/binutils
S="${WORKDIR}"/${MYP}
pkg_pretend() {
toolchain_pkg_pretend
if tc-is-clang; then
@@ -3,28 +3,30 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -76,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
@@ -3,28 +3,30 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -76,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
@@ -3,28 +3,30 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -76,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
@@ -3,28 +3,30 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -76,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/011*.patch
@@ -3,21 +3,22 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
MY_P="${PN}-$(ver_cut 1-3)"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
@@ -25,7 +26,7 @@ RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -77,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/013*.patch
@@ -3,21 +3,22 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
MY_P="${PN}-$(ver_cut 1-3)"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
@@ -25,7 +26,7 @@ RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -77,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/013*.patch
@@ -3,21 +3,22 @@
EAPI=8
inherit autotools flag-o-matic multiprocessing
RUST_OPTIONAL="yes"
inherit autotools flag-o-matic multiprocessing rust
MY_P="${PN}-$(ver_cut 1-3)"
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="https://www.ruby-lang.org/"
MY_P="${PN}-$(ver_cut 1-3)"
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
S=${WORKDIR}/${MY_P}
LICENSE="|| ( Ruby-BSD BSD-2 )"
SLOT=$(ver_cut 1-2)
MY_SUFFIX=$(ver_rs 1 '' ${SLOT})
RUBYVERSION=${SLOT}.0
SRC_URI="https://cache.ruby-lang.org/pub/ruby/${SLOT}/${MY_P}.tar.xz"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs"
@@ -25,7 +26,7 @@ RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( sys-libs/gdbm:= )
jemalloc? ( dev-libs/jemalloc:= )
jit? ( >=virtual/rust-1.58.1 )
jit? ( ${RUST_DEPEND} )
ssl? (
dev-libs/openssl:0=
)
@@ -77,6 +78,10 @@ PDEPEND="
xemacs? ( app-xemacs/ruby-modes )
"
pkg_setup() {
use jit && rust_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/"${SLOT}"/010*.patch
eapply "${FILESDIR}"/"${SLOT}"/013*.patch
@@ -7,14 +7,16 @@ EAPI="8"
FIREFOX_PATCHSET="firefox-102esr-patches-13.tar.xz"
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-05j.tar.xz"
LLVM_MAX_SLOT=17
LLVM_COMPAT=( 17 )
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="ssl,xml(+)"
RUST_NEEDS_LLVM=1
WANT_AUTOCONF="2.1"
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing prefix python-any-r1 rust toolchain-funcs
MY_PN="mozjs"
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
@@ -71,41 +73,13 @@ IUSE="clang cpu_flags_arm_neon debug +jit lto test"
RESTRICT="!test? ( test )"
BDEPEND="${PYTHON_DEPS}
|| (
(
sys-devel/llvm:17
clang? (
sys-devel/clang:17
sys-devel/lld:17
virtual/rust:0/llvm-17
)
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
)
(
sys-devel/llvm:16
clang? (
sys-devel/clang:16
sys-devel/lld:16
virtual/rust:0/llvm-16
)
)
(
sys-devel/llvm:15
clang? (
sys-devel/clang:15
virtual/rust:0/llvm-15
lto? ( sys-devel/lld:15 )
)
)
(
sys-devel/llvm:14
clang? (
sys-devel/clang:14
virtual/rust:0/llvm-14
lto? ( sys-devel/lld:14 )
)
)
)
!clang? ( virtual/rust )
')
virtual/pkgconfig
test? (
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
@@ -130,11 +104,6 @@ llvm_check_deps() {
return 1
fi
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi
if use lto ; then
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
@@ -172,7 +141,8 @@ pkg_setup() {
check-reqs_pkg_setup
llvm_pkg_setup
llvm-r1_pkg_setup
rust_pkg_setup
if use clang && use lto ; then
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
@@ -7,14 +7,16 @@ EAPI="8"
FIREFOX_PATCHSET="firefox-115esr-patches-13.tar.xz"
SPIDERMONKEY_PATCHSET="spidermonkey-115-patches-02.tar.xz"
LLVM_MAX_SLOT=18
LLVM_COMPAT=( 18 )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="ncurses,ssl,xml(+)"
RUST_NEEDS_LLVM="1"
WANT_AUTOCONF="2.1"
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing prefix python-any-r1 rust toolchain-funcs
MY_PN="mozjs"
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
@@ -72,47 +74,13 @@ RESTRICT="!test? ( test )"
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig
|| (
(
sys-devel/llvm:18
clang? (
sys-devel/lld:18
sys-devel/clang:18
virtual/rust:0/llvm-18
)
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}
sys-devel/llvm:${LLVM_SLOT}
clang? (
sys-devel/lld:${LLVM_SLOT}
)
(
sys-devel/llvm:17
clang? (
sys-devel/lld:17
sys-devel/clang:17
virtual/rust:0/llvm-17
)
)
(
sys-devel/llvm:16
clang? (
sys-devel/lld:16
sys-devel/clang:16
virtual/rust:0/llvm-16
)
)
(
sys-devel/llvm:15
clang? (
sys-devel/lld:15
sys-devel/clang:15
virtual/rust:0/llvm-15
)
)
)
!clang? ( virtual/rust )
!elibc_glibc? (
|| (
dev-lang/rust
<dev-lang/rust-bin-1.73
)
)
')
test? (
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
)"
@@ -136,11 +104,6 @@ llvm_check_deps() {
return 1
fi
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi
if ! tc-ld-is-mold ; then
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
@@ -212,7 +175,8 @@ pkg_setup() {
check-reqs_pkg_setup
llvm_pkg_setup
llvm-r1_pkg_setup
rust_pkg_setup
if use clang && use lto && tc-ld-is-lld ; then
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
@@ -11,9 +11,11 @@ LLVM_COMPAT=( 17 18 19 )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="ncurses,ssl,xml(+)"
RUST_NEEDS_LLVM=1
WANT_AUTOCONF="2.1"
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing python-any-r1 toolchain-funcs
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing python-any-r1 rust toolchain-funcs
MY_PN="mozjs"
MY_PV="${PV/_pre*}"
@@ -73,11 +75,8 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/clang:${LLVM_SLOT}
sys-devel/lld:${LLVM_SLOT}
sys-devel/llvm:${LLVM_SLOT}
virtual/rust:0/llvm-${LLVM_SLOT}
)
')
!clang? ( virtual/rust )
!elibc_glibc? ( dev-lang/rust )
>=dev-util/cbindgen-0.26.0
virtual/pkgconfig
test? (
@@ -103,11 +102,6 @@ llvm_check_deps() {
return 1
fi
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi
if ! tc-ld-is-mold ; then
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
@@ -189,6 +183,7 @@ pkg_setup() {
check-reqs_pkg_setup
llvm-r1_pkg_setup
rust_pkg_setup
if use clang && use lto && tc-ld-is-lld ; then
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
@@ -13,7 +13,7 @@ PYTHON_REQ_USE="ncurses,ssl,xml(+)"
WANT_AUTOCONF="2.1"
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing python-any-r1 toolchain-funcs
inherit autotools check-reqs flag-o-matic llvm-r1 multiprocessing python-any-r1 rust toolchain-funcs
MY_PN="mozjs"
MY_PV="${PV/_pre*}"
@@ -73,11 +73,8 @@ BDEPEND="${PYTHON_DEPS}
sys-devel/clang:${LLVM_SLOT}
sys-devel/lld:${LLVM_SLOT}
sys-devel/llvm:${LLVM_SLOT}
virtual/rust:0/llvm-${LLVM_SLOT}
)
')
!clang? ( virtual/rust )
!elibc_glibc? ( dev-lang/rust )
>=dev-util/cbindgen-0.26.0
virtual/pkgconfig
test? (
@@ -103,11 +100,6 @@ llvm_check_deps() {
return 1
fi
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
return 1
fi
if ! tc-ld-is-mold ; then
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
@@ -189,6 +181,7 @@ pkg_setup() {
check-reqs_pkg_setup
llvm-r1_pkg_setup
rust_pkg_setup
if use clang && use lto && tc-ld-is-lld ; then
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')

Some files were not shown because too many files have changed in this diff Show More