parent
5f2fb5dd50
commit
da995cb611
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST org-9.4.6.tar.gz 4729335 BLAKE2B b88edaf8098124b2048ce57d6005d2af0de34e9b8fa94c24eb041a42a6fca1fd6da7f242be89e6b0ca5e7b80d879096f9114dca0ba86b20a5d26d2a185baa537 SHA512 7e50d7e9e2073bc0f06d2c861f59d4c9b8af4cf63c98f730c810a3a8721e65829fe9ef7ba0ac99f49bf9da427a4d5ad1d028e05c1a8ab6a3bea2ff2020c0e61d
|
||||
DIST org-mode-release_9.5.5.tar.gz 2049730 BLAKE2B 382e6585f693fd30def29da740d1329a52b4565382df90a37e3646324ee44106f1a99c2ea0c0862d77721cc9bfbec0736cb03065b59b2fdea0a68d8f8ea37c9a SHA512 ce06bab17ae7944c1623f935bbad0379d06390c72c43633ba0de2bc04ad362e18d9aaae96103eeaa23f7ea9e4e00976a97a914da87fb7941a13746b1fa77f591
|
||||
DIST org-mode-release_9.6.2.tar.gz 2208663 BLAKE2B f76e48f058a2a32cb09c14041b6781c385e1267eb2c80e39d0c2b3432ff7555e27b21ce33e1e5e0c0a99ded31b6d3b3ed678e41ff00752f97d2feda8b0111911 SHA512 2dfbcaa8c720b628770ae3bee223c51c270220395b5d1659dc529bd60b20f7308091b565d90d53ebb9462edd6207a1652059623dc80b0bf8b2799b3beac5a2fe
|
||||
DIST org-mode-release_9.6.3.tar.gz 2208740 BLAKE2B 77d8e7de2230a3d4b5f3e85336519de1b2d55481522bedc206c5edb2cd56963f729d1e48fe483717fd4c295c6eb1b73e9335ab6a56c2903dd9ee54e15da0a8a0 SHA512 4a7040bab029c8384fa8689782672887baec7eea66ea99a32fd026eddb1659fa15e6c8ba99546fb7b8a16492d1fa476542acba3adef745079f583bd0e2b834e0
|
||||
DIST org-mode-release_9.6.4.tar.gz 2208733 BLAKE2B 4ac49b4af872750453dd29eb0fb7de75a140246defb98a1ee62b693fe5083b892eff32ffda6a87cdc4d22486c8246134bb7483e3ec335e23ee131e0f6894475d SHA512 fa117500e0618f20b55af6e7f3cee2d24bbcf396649fabc1420299d99599335c0697e865ac38e49a30d5f2cd00e6daf163f340364e51c306583a7198852df059
|
||||
DIST org-mode-release_9.6.5.tar.gz 2209154 BLAKE2B bce49c4cdf51550c83ad78b683e2cb400a4378ffa344e00201450fdbc403248b85ab7a69c64abb5edc45b64c7134bd286e4a7115c255c9f6ff4866425c303711 SHA512 89829a0ccd82a42ba4b612e3ee2208632a0b5d32419192ac47660f6e9ab05e9848a844b6625dab6426a27fc3009bf75925856574d0aab49fefe639b6f31cf2fc
|
||||
DIST org-mode-release_9.6.6.tar.gz 2209391 BLAKE2B fd88d0cf686007b7a4f90ad8870f614525efa2edcdf9198eb2576560e8a830ac69c05fe92d1080b191a0c10247669d2cc75306486a0c0ce1c9281ef56a779bd3 SHA512 a8e34bf6766204ac88ab3a0d2d20b5db911c66deef7b252e57691e7032cc0e34bee4d27b1fa4053d5b2011d08c9b1b1b556b5698109150d09018956095e42d5a
|
||||
|
Binary file not shown.
@ -0,0 +1,371 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
ahash-0.4.7
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.20
|
||||
android_system_properties-0.1.5
|
||||
ansi_colours-1.2.1
|
||||
anyhow-1.0.70
|
||||
argh-0.1.10
|
||||
argh_derive-0.1.10
|
||||
argh_shared-0.1.10
|
||||
arrayref-0.3.7
|
||||
arrayvec-0.7.2
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
base64-0.13.1
|
||||
base64-0.21.0
|
||||
bet-1.0.2
|
||||
bincode-1.3.3
|
||||
bit_field-0.10.2
|
||||
bitflags-1.3.2
|
||||
block-0.1.6
|
||||
bstr-1.4.0
|
||||
bumpalo-3.12.0
|
||||
bytemuck-1.13.1
|
||||
byteorder-1.4.3
|
||||
cc-1.0.79
|
||||
cfg-if-1.0.0
|
||||
char_reader-0.1.1
|
||||
chrono-0.4.24
|
||||
clap-3.2.23
|
||||
clap_complete-3.2.5
|
||||
clap_derive-3.2.18
|
||||
clap_lex-0.2.4
|
||||
cli-log-2.0.0
|
||||
clipboard-win-4.5.0
|
||||
clipboard_macos-0.1.0
|
||||
codespan-reporting-0.11.1
|
||||
color_quant-1.1.0
|
||||
coolor-0.5.0
|
||||
core-foundation-sys-0.8.3
|
||||
crc32fast-1.3.2
|
||||
crokey-0.4.3
|
||||
crokey-proc_macros-0.4.0
|
||||
crossbeam-0.8.2
|
||||
crossbeam-channel-0.5.7
|
||||
crossbeam-deque-0.8.3
|
||||
crossbeam-epoch-0.9.14
|
||||
crossbeam-queue-0.3.8
|
||||
crossbeam-utils-0.8.15
|
||||
crossterm-0.23.2
|
||||
crossterm_winapi-0.9.0
|
||||
crunchy-0.2.2
|
||||
csv-1.2.1
|
||||
csv-core-0.1.10
|
||||
csv2svg-0.1.8
|
||||
custom_error-1.9.2
|
||||
cxx-1.0.94
|
||||
cxx-build-1.0.94
|
||||
cxxbridge-flags-1.0.94
|
||||
cxxbridge-macro-1.0.94
|
||||
data-url-0.2.0
|
||||
deser-hjson-1.1.0
|
||||
directories-4.0.1
|
||||
directories-next-2.0.0
|
||||
dirs-sys-0.3.7
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
either-1.8.1
|
||||
errno-0.3.0
|
||||
errno-dragonfly-0.1.2
|
||||
error-code-2.3.1
|
||||
exr-1.6.3
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fastrand-1.9.0
|
||||
file-size-1.0.3
|
||||
flate2-1.0.25
|
||||
float-cmp-0.9.0
|
||||
flume-0.10.14
|
||||
fnv-1.0.7
|
||||
fontconfig-parser-0.5.2
|
||||
fontdb-0.10.0
|
||||
form_urlencoded-1.1.0
|
||||
futures-core-0.3.28
|
||||
futures-sink-0.3.28
|
||||
getrandom-0.2.8
|
||||
gif-0.11.4
|
||||
gif-0.12.0
|
||||
git2-0.14.4
|
||||
glassbench-0.3.4
|
||||
glob-0.3.1
|
||||
half-2.2.1
|
||||
hashbrown-0.12.3
|
||||
hashbrown-0.9.1
|
||||
hashlink-0.6.0
|
||||
heck-0.4.1
|
||||
hermit-abi-0.1.19
|
||||
hermit-abi-0.2.6
|
||||
hermit-abi-0.3.1
|
||||
iana-time-zone-0.1.55
|
||||
iana-time-zone-haiku-0.1.1
|
||||
id-arena-2.2.1
|
||||
idna-0.3.0
|
||||
image-0.24.6
|
||||
imagesize-0.10.1
|
||||
include_dir-0.7.3
|
||||
include_dir_macros-0.7.3
|
||||
indexmap-1.9.3
|
||||
instant-0.1.12
|
||||
io-lifetimes-1.0.9
|
||||
is_executable-1.0.1
|
||||
itoa-1.0.6
|
||||
jobserver-0.1.26
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.61
|
||||
kurbo-0.8.3
|
||||
lazy-regex-2.5.0
|
||||
lazy-regex-proc_macros-2.4.1
|
||||
lazy_static-1.4.0
|
||||
lebe-0.5.2
|
||||
lfs-core-0.11.1
|
||||
libc-0.2.140
|
||||
libgit2-sys-0.13.5+1.4.5
|
||||
libsqlite3-sys-0.20.1
|
||||
libz-sys-1.1.8
|
||||
line-wrap-0.1.1
|
||||
link-cplusplus-1.0.8
|
||||
linked-hash-map-0.5.6
|
||||
linux-raw-sys-0.3.0
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
malloc_buf-0.0.6
|
||||
memchr-2.5.0
|
||||
memmap2-0.5.10
|
||||
memoffset-0.6.5
|
||||
memoffset-0.8.0
|
||||
minimad-0.9.1
|
||||
minimad-0.11.0
|
||||
miniz_oxide-0.5.4
|
||||
miniz_oxide-0.6.2
|
||||
mio-0.8.6
|
||||
nanorand-0.7.0
|
||||
nix-0.22.3
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.15.0
|
||||
objc-0.2.7
|
||||
objc-foundation-0.1.1
|
||||
objc_id-0.1.1
|
||||
once_cell-1.17.1
|
||||
onig-6.4.0
|
||||
onig_sys-69.8.1
|
||||
open-1.7.1
|
||||
opener-0.5.2
|
||||
os_str_bytes-6.5.0
|
||||
parking_lot-0.12.1
|
||||
parking_lot_core-0.9.7
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.2.0
|
||||
phf-0.10.1
|
||||
phf_generator-0.10.0
|
||||
phf_macros-0.10.0
|
||||
phf_shared-0.10.0
|
||||
pico-args-0.5.0
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
pkg-config-0.3.26
|
||||
plist-1.4.3
|
||||
png-0.17.6
|
||||
ppv-lite86-0.2.17
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.20+deprecated
|
||||
proc-macro2-1.0.54
|
||||
proc-status-0.1.1
|
||||
qoi-0.4.1
|
||||
quick-xml-0.22.0
|
||||
quick-xml-0.28.1
|
||||
quote-1.0.26
|
||||
rand-0.8.5
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.4
|
||||
rayon-1.7.0
|
||||
rayon-core-1.11.0
|
||||
rctree-0.5.0
|
||||
redox_syscall-0.2.16
|
||||
redox_syscall-0.3.5
|
||||
redox_users-0.4.3
|
||||
regex-1.7.3
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.29
|
||||
resvg-0.28.0
|
||||
rgb-0.8.36
|
||||
roxmltree-0.15.1
|
||||
roxmltree-0.18.0
|
||||
rusqlite-0.24.2
|
||||
rustix-0.37.5
|
||||
rustybuzz-0.6.0
|
||||
ryu-1.0.13
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
scopeguard-1.1.0
|
||||
scratch-1.0.5
|
||||
secular-1.0.1
|
||||
serde-1.0.159
|
||||
serde_derive-1.0.159
|
||||
serde_json-1.0.95
|
||||
signal-hook-0.3.15
|
||||
signal-hook-mio-0.2.3
|
||||
signal-hook-registry-1.4.1
|
||||
simd-adler32-0.3.5
|
||||
simplecss-0.2.1
|
||||
siphasher-0.3.10
|
||||
smallvec-1.10.0
|
||||
snafu-0.7.4
|
||||
snafu-derive-0.7.4
|
||||
spin-0.9.7
|
||||
splitty-1.0.1
|
||||
str-buf-1.0.6
|
||||
strict-0.1.4
|
||||
strict-num-0.1.0
|
||||
strsim-0.10.0
|
||||
svg-0.8.2
|
||||
svg-0.10.0
|
||||
svgfilters-0.4.0
|
||||
svgtypes-0.8.2
|
||||
syn-1.0.109
|
||||
syn-2.0.11
|
||||
syntect-no-panic-4.6.1
|
||||
tempfile-3.5.0
|
||||
termcolor-1.2.0
|
||||
termimad-0.20.6
|
||||
termimad-0.22.0
|
||||
terminal-clipboard-0.4.0
|
||||
terminal-light-1.1.1
|
||||
termux-clipboard-0.1.0
|
||||
textwrap-0.16.0
|
||||
thiserror-1.0.40
|
||||
thiserror-impl-1.0.40
|
||||
tiff-0.8.1
|
||||
time-0.1.45
|
||||
time-0.3.20
|
||||
time-core-0.1.0
|
||||
time-macros-0.2.8
|
||||
tiny-skia-0.8.3
|
||||
tiny-skia-path-0.8.3
|
||||
tinyvec-1.6.0
|
||||
tinyvec_macros-0.1.1
|
||||
toml-0.5.11
|
||||
ttf-parser-0.17.1
|
||||
umask-2.1.0
|
||||
unicode-bidi-0.3.13
|
||||
unicode-bidi-mirroring-0.1.0
|
||||
unicode-ccc-0.1.2
|
||||
unicode-general-category-0.6.0
|
||||
unicode-ident-1.0.8
|
||||
unicode-normalization-0.1.22
|
||||
unicode-script-0.5.5
|
||||
unicode-vo-0.1.0
|
||||
unicode-width-0.1.10
|
||||
url-2.3.1
|
||||
users-0.11.0
|
||||
usvg-0.28.0
|
||||
usvg-text-layout-0.28.0
|
||||
vcpkg-0.2.15
|
||||
version_check-0.9.4
|
||||
walkdir-2.3.3
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
weezl-0.1.7
|
||||
which-4.4.0
|
||||
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-0.47.0
|
||||
windows-sys-0.45.0
|
||||
windows-targets-0.42.2
|
||||
windows-targets-0.47.0
|
||||
windows_aarch64_gnullvm-0.42.2
|
||||
windows_aarch64_gnullvm-0.47.0
|
||||
windows_aarch64_msvc-0.42.2
|
||||
windows_aarch64_msvc-0.47.0
|
||||
windows_i686_gnu-0.42.2
|
||||
windows_i686_gnu-0.47.0
|
||||
windows_i686_msvc-0.42.2
|
||||
windows_i686_msvc-0.47.0
|
||||
windows_x86_64_gnu-0.42.2
|
||||
windows_x86_64_gnu-0.47.0
|
||||
windows_x86_64_gnullvm-0.42.2
|
||||
windows_x86_64_gnullvm-0.47.0
|
||||
windows_x86_64_msvc-0.42.2
|
||||
windows_x86_64_msvc-0.47.0
|
||||
x11-clipboard-0.5.3
|
||||
xcb-0.10.1
|
||||
xmlparser-0.13.5
|
||||
xterm-query-0.1.0
|
||||
xterm-query-0.2.0
|
||||
yaml-rust-0.4.5
|
||||
zune-inflate-0.2.53
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.65"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST pdftk-v3.3.3.tar.gz 2380289 BLAKE2B b370777f5b87706ed811e424214db23b5622ef4e2420fe00c7e5e7d03fb51314589e7a1588d911c0734c075612adab9af17a1ad4ddcaac7a5dfc407c1aa28392 SHA512 2fd8dce8787856955984d6396ccb9a57d4e7a255cd74f10b31a7d87c84fac80143c0067d76bf6d8c0ec1a55dfb7d1e90f4898706e8ae26ccdf657b38d88e6cd6
|
||||
DIST pdftk-v3.3.3.tar.bz2 2205902 BLAKE2B 7802554cef4389670392ca2fda3dc4c041943ad21ecf47cfcd333dc1f0899796fabf9538388586f4e64a8a1fa5d7278a93f9e88c19a1ec510b24b85027888ad4 SHA512 48173d0c4698bc984221b56dff3e6434df7cf144dddfdbf684f8fa28b9eacfd0ebf9ebca0b87df3f9534a1ed13caa4c0866bd3e7a8cd06a21b46dfaedda9ea21
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST go1.19.8.src.tar.gz 26553006 BLAKE2B db085e575f1bc978502cc5d9e45206542cdf9c6edd6769b1918f07a6be7afb4a387cb18ffb7cb37f5de936bb970c703504cbb6bf88c597dc30aab4d80eeb8820 SHA512 d7ecbae3034211d7c64df4c0fce6894bae3e7e8de20bd2aa9f24b39cc040fa64d8a3bea311582cf4455a981dc3c8f319141f7f357db4eebd27d4451fee05727a
|
||||
DIST go1.19.9.src.tar.gz 26556330 BLAKE2B 2eb6bfd4456b4f4c7f3bcd794bc40015e1d7dc4f443082b559d81621f428828cba03c63bf24e51e57f258dae8e7c9d4b2c85e2b6acaafce3c3b80a131b0b6d90 SHA512 548525fc33b0d0c6e5e175190b3235a3bfe2046607a87e3b890735bae4f6279f77a15122cfd432c7971c829a631883a1ed2e39399e23c9b8fa96f86502a8c02e
|
||||
DIST go1.20.3.src.tar.gz 26184364 BLAKE2B faa9cf8c141d013955d3582d5cf1a43ac0d89c2a7ceb7ab00e10aeacedc3bf1c324d62cd17dc6299057cc9acd347ec7672c7f9acafc1b926855d953ef2bac8d6 SHA512 47ebb3925956a3facef9e5e6f4efec3058e55632020ea247844c55b160d23e2be3880ea24dec2f73382a7c7858259896cbb7de1bb764c481c176bed479676029
|
||||
DIST go1.20.4.src.tar.gz 26185429 BLAKE2B 74ddecc43d53ae9ba9429ec7797061d96b114e24c7cd3bd60546c1161362ad449dadfa3ab53a0783737a4cb36e6724b66977ed554e7f724c8bfe2f3a083b02c7 SHA512 43898325bab48c24e533f360a2c7de356a8a56946602e727b5bcd4a62ff4f64fd750e2650032f7e0525b0699e40e506d79446e16838f097e6bdc2a16f10d81be
|
||||
|
@ -0,0 +1,208 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://go.dev"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND="
|
||||
arm? ( sys-devel/binutils[gold] )
|
||||
arm64? ( sys-devel/binutils[gold] )"
|
||||
BDEPEND="|| (
|
||||
dev-lang/go
|
||||
dev-lang/go-bootstrap )"
|
||||
|
||||
# the *.syso files have writable/executable stacks
|
||||
QA_EXECSTACK='*.syso'
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
||||
# https://bugs.gentoo.org/794046
|
||||
QA_PREBUILT='.*'
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
PATENTS
|
||||
README.md
|
||||
SECURITY.md
|
||||
)
|
||||
|
||||
go_arch() {
|
||||
# By chance most portage arch names match Go
|
||||
local tc_arch=$(tc-arch $@)
|
||||
case "${tc_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
loong) echo loong64;;
|
||||
mips) if use abi_mips_o32; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips || echo mipsle
|
||||
elif use abi_mips_n64; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips64 || echo mips64le
|
||||
fi ;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
riscv) echo riscv64 ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${tc_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm() {
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os() {
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple() {
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile() {
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if has_version -b dev-lang/go; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
||||
elif has_version -b dev-lang/go-bootstrap; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
||||
else
|
||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
||||
die "Should not be here, please report a bug"
|
||||
fi
|
||||
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="${PWD}"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
use arm && export GOARM=$(go_arm)
|
||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
||||
|
||||
cd src
|
||||
bash -x ./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
|
||||
# https://github.com/golang/go/issues/42005
|
||||
rm cmd/link/internal/ld/fallocate_test.go || true
|
||||
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
cd ..
|
||||
rm -fr pkg/*_race || die
|
||||
rm -fr pkg/obj/go-build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# The use of cp is deliberate in order to retain permissions
|
||||
# [1] https://golang.org/issue/2775
|
||||
dodir /usr/lib/go
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
einstalldocs
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
||||
|
||||
local bin_path
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
local f x
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
|
||||
# install the @golang-rebuild set for Portage
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
||||
elog "due to the static linking nature of go."
|
||||
elog "If this is not done, the packages compiled with the older"
|
||||
elog "version of the compiler will not be updated until they are"
|
||||
elog "updated individually, which could mean they will have"
|
||||
elog "vulnerabilities."
|
||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
||||
}
|
@ -0,0 +1,208 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://go.dev"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND="
|
||||
arm? ( sys-devel/binutils[gold] )
|
||||
arm64? ( sys-devel/binutils[gold] )"
|
||||
BDEPEND="|| (
|
||||
dev-lang/go
|
||||
dev-lang/go-bootstrap )"
|
||||
|
||||
# the *.syso files have writable/executable stacks
|
||||
QA_EXECSTACK='*.syso'
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
||||
# https://bugs.gentoo.org/794046
|
||||
QA_PREBUILT='.*'
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
PATENTS
|
||||
README.md
|
||||
SECURITY.md
|
||||
)
|
||||
|
||||
go_arch() {
|
||||
# By chance most portage arch names match Go
|
||||
local tc_arch=$(tc-arch $@)
|
||||
case "${tc_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
loong) echo loong64;;
|
||||
mips) if use abi_mips_o32; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips || echo mipsle
|
||||
elif use abi_mips_n64; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips64 || echo mips64le
|
||||
fi ;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
riscv) echo riscv64 ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${tc_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm() {
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os() {
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple() {
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile() {
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if has_version -b dev-lang/go; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
||||
elif has_version -b dev-lang/go-bootstrap; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
||||
else
|
||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
||||
die "Should not be here, please report a bug"
|
||||
fi
|
||||
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="${PWD}"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
use arm && export GOARM=$(go_arm)
|
||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
||||
|
||||
cd src
|
||||
bash -x ./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
|
||||
# https://github.com/golang/go/issues/42005
|
||||
rm cmd/link/internal/ld/fallocate_test.go || true
|
||||
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
cd ..
|
||||
rm -fr pkg/*_race || die
|
||||
rm -fr pkg/obj/go-build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# The use of cp is deliberate in order to retain permissions
|
||||
# [1] https://golang.org/issue/2775
|
||||
dodir /usr/lib/go
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
einstalldocs
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
||||
|
||||
local bin_path
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
local f x
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
|
||||
# install the @golang-rebuild set for Portage
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
||||
elog "due to the static linking nature of go."
|
||||
elog "If this is not done, the packages compiled with the older"
|
||||
elog "version of the compiler will not be updated until they are"
|
||||
elog "updated individually, which could mean they will have"
|
||||
elog "vulnerabilities."
|
||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST c-blosc-1.21.3.gh.tar.gz 1532077 BLAKE2B ff8ad36e4e34b245062025c5820655bb52fea40276e88a748253d5079c3b5f8662079f177835ab38aa6e58d87e7849a93d7e1289346fcc53c077ef85b7382462 SHA512 e9542aa2d1ebae9f6dcc12916d7ac3b920d771281ab96e2b2d59c2951e5f51d02d2684859b8823643d43d320613fb9dd8a3ea411ade34e66e323fcefa8165a91
|
||||
DIST c-blosc-1.21.4.gh.tar.gz 2458878 BLAKE2B 5b58e5069ed99e67adaef832871d45e4e3b88dede169833b07bb1800d35d6d43909c59645f79c003f9a80604e432c81f7d5da35fd19899fbb0378e81f015b0fa SHA512 cbe8406dc88318a582b6ea5e5ba1a25b66814f741743dd512b1a61664691977bfe0896baf24d2e998cdbb209a3ba83c6eb79e86bc1e7a2eb5ef2cde697e8eb65
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Blocking, shuffling and lossless compression library"
|
||||
HOMEPAGE="
|
||||
https://www.blosc.org/
|
||||
https://github.com/Blosc/c-blosc/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Blosc/c-blosc/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+lz4 +snappy test zlib zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
lz4? ( >=app-arch/lz4-1.7.5:= )
|
||||
snappy? ( app-arch/snappy:= )
|
||||
zlib? ( sys-libs/zlib:= )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# remove bundled libs (just in case)
|
||||
rm -rf internal-complibs || die
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC=OFF
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_FUZZERS=OFF
|
||||
-DDEACTIVATE_LZ4=$(usex !lz4)
|
||||
-DDEACTIVATE_SNAPPY=$(usex !snappy)
|
||||
-DDEACTIVATE_ZLIB=$(usex !zlib)
|
||||
-DDEACTIVATE_ZSTD=$(usex !zstd)
|
||||
-DPREFER_EXTERNAL_LZ4=ON
|
||||
# snappy is always external
|
||||
-DPREFER_EXTERNAL_ZLIB=ON
|
||||
-DPREFER_EXTERNAL_ZSTD=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST c-blosc2-2.6.1.gh.tar.gz 2365300 BLAKE2B a3fdc8798eb70e97791b7b708ef872142d38b9c4fdb8efc6d5da2010149fa61f4115f27af630a43edd5f351cb8693fbb79457f19ccf1a518f057902b93196b3d SHA512 9f5daa59d5191784ee91deb18ed15a3b36504b05061ca8b1532eaf8e402c793944059894b277843e8da19f00af05615e0865d9fdb80decd83aa07867b0e661a0
|
||||
DIST c-blosc2-2.9.1.gh.tar.gz 2793299 BLAKE2B 1853611566f081f5c6236ade1882b07aa6d596f65bb303823f418faaf0e971c1850e3e78ca501650880d4611110200c302896e81a5b13cdf05bc43c81b81dd3a SHA512 9430c026f9d7a98e38915e3d308402989073aa6fa1e8e1d5b9bdb155c70c5cc24ca118cdb5b3584647f72ae80a13be0a8467250af7ef336a1ac72eb8ec8a67f5
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Blocking, shuffling and lossless compression library"
|
||||
HOMEPAGE="
|
||||
https://www.blosc.org/c-blosc2/c-blosc2.html
|
||||
https://github.com/Blosc/c-blosc2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test zlib zstd"
|
||||
REQUIRED_USE="test? ( zlib zstd )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/lz4-1.7.5:=
|
||||
zlib? ( sys-libs/zlib:= )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# remove bundled libs (just in case)
|
||||
rm -rf internal-complibs || die
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC=OFF
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_FUZZERS=OFF
|
||||
-DDEACTIVATE_ZLIB=$(usex !zlib)
|
||||
-DDEACTIVATE_ZSTD=$(usex !zstd)
|
||||
-DPREFER_EXTERNAL_LZ4=ON
|
||||
-DPREFER_EXTERNAL_ZLIB=ON
|
||||
-DPREFER_EXTERNAL_ZSTD=ON
|
||||
|
||||
# upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} defaults
|
||||
# from applying, https://github.com/Blosc/c-blosc2/issues/433
|
||||
-DCMAKE_C_FLAGS="${CFLAGS}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432
|
||||
MAKEOPTS=-j1 cmake_src_test
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST csexp-1.3.2.tbz 9775 BLAKE2B b1afea15558a5520abab214874653e9768ebbb22e064b51dab2f5bd5543460e357f9e1cba964341bcb24c5d53d8477de5458186e4d83db21d99a8ca45009d818 SHA512 ff1bd6a7c6bb3a73ca9ab0506c9ec1f357657deaa9ecc7eb32955817d9b0f266d976af3e2b8fc34c621cb0caf1fde55f9a609dd184e2054f500bf09afeb83026
|
||||
DIST csexp-1.5.1.tbz 10082 BLAKE2B 71d6844d5ae37d64c4b29ed8e2479869bda23bc8b352acc17a83a061acb6bb2dc223e3e9aba444c87949137123a716450a0c665c2c109bd98dcd702931e4a2be SHA512 d785bbabaff9f6bf601399149ef0a42e5e99647b54e27f97ef1625907793dda22a45bf83e0e8a1eba2c63634c5484b54739ff0904ef556f5fc592efa38af7505
|
||||
DIST csexp-1.5.2.tbz 11447 BLAKE2B 2c0481fa1e713e86f0146acdae132b645374deb813c085e0c65881c1edcee45ebfc863d13b9e5fa15d236f1a5634c4549248fe986afff71edf47ab9d648aa552 SHA512 be281018bcfc20d4db14894ef51c4b836d6338d2fdfe22e63d46f405f8dea7349e16f1c0ecd65f73d4c85a2a80e618cdbb8c9dafcbb9f229f04f1adca5b1973c
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Parsing and printing of S-expressions in Canonical form"
|
||||
HOMEPAGE="https://github.com/ocaml-dune/csexp/"
|
||||
SRC_URI="https://github.com/ocaml-dune/csexp/releases/download/${PV}/${P}.tbz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=dev-ml/result-1.5:=[ocamlopt=]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="test? ( dev-ml/ppx_expect )"
|
@ -1,2 +1,3 @@
|
||||
DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778
|
||||
DIST mtime-1.4.0.tbz 15909 BLAKE2B 3c49deaf72d3873c8447f4a6d8ce89d55f3df60df108132ec078d81702a6fb9d532266efdf5290fe396d57a84de2d1912b48ad92f84db6d573d977492407b95b SHA512 0492fa5f5187b909fe2b0550363c7dcb8cffef963d51072272ef3d876b51e1ddf8de4c4e221cffb0144658fccf6a0dc584a5c8094a4b2208156e43bad5b269d4
|
||||
DIST mtime-2.0.0.tbz 16284 BLAKE2B de653a8ce5d53c53520f755f706d7eea8c13a53b0dcd27146d19b273b03bbc1582c77698f8e7b2148b4d1a3af63a37698978547945b06814fe9333c963619c08 SHA512 2ebec45218901c08f73420aa3318c506f155b6c0df713e9856682e59d3246696821ea477ce3682af0bf4cafd0491b1d66904f8c0256e2cf831e93a0aea322f04
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo opam
|
||||
|
||||
DESCRIPTION="OCaml module to access monotonic wall-clock time"
|
||||
HOMEPAGE="https://erratique.ch/software/mtime/
|
||||
https://github.com/dbuenzli/mtime/"
|
||||
SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-ml/topkg
|
||||
dev-ml/ocamlbuild
|
||||
dev-ml/findlib
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
edo ocaml pkg/pkg.ml build \
|
||||
--tests $(usex test true false)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
edo ocaml pkg/pkg.ml test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST yojson-1.7.0.tar.gz 29704 BLAKE2B edbd7f66d69a85880fc8ee9bb25a993744a310887024f7af63665ba8f5067f1b9383ec4d6dd5f4ca3376d698665a8f605c078f7597ddd4e71857c1a20143c2e5 SHA512 25eedb64e4bf7c7e8d5a5a115812cd502540afbdeb7c947da3a14e5968aa0a7db8ab402425662571d8935b9cd6a19796ce81dd80a65dc614f156626c60e7036e
|
||||
DIST yojson-2.0.2.tar.gz 46731 BLAKE2B adca246c055efe04b63e694b7735fc81a714ae3b3ab164152797cc1eff1e483976b80ff31d0ac90f9d4ac234304ec805abb118bb231d0479bc738ddeb56a236c SHA512 61e8084d66d62d05a7802ee82a414807a76959ce6e0b14fd01f1c9c71ea69976d8a2cf3d5718e4059da4161786136a08624cd8470693ef2893b862efa7d6ffd2
|
||||
DIST yojson-2.1.0.tar.gz 48316 BLAKE2B 49634800de95035624803883b7f44eda1dd4ba8c050efc52ba31246aba7c37b57d717ebc6d487a9c99ba55ab416a5b196974b0bac09bc6a74992356840e4ae52 SHA512 d52e4fcac41165f9fb74e922d35dd247e1622674f74d6e80978fbc1f42b45f45797965e41129e7acd049451ef5fcec48021ca7c866e36a4e8c4c51e78bab9d7f
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="JSON parsing and pretty-printing library for OCaml"
|
||||
HOMEPAGE="https://github.com/ocaml-community/yojson"
|
||||
SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples +ocamlopt test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.07:=[ocamlopt?]
|
||||
!!<dev-ml/seq-0.3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-ml/cppo-1.6.1
|
||||
test? ( dev-ml/alcotest )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.0.2-dune-seq.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# let's not build this
|
||||
rm bench/dune yojson-bench.opam || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST guile-gnutls-3.7.11.tar.gz 684772 BLAKE2B 518d46fdc6f24cae03216205ffd010e45a9c38c6f8d0f6b7021df74308bb24706772174b6e8078057d20b06f7c81a4fe42b388c309ce463ad044f194ea33cbc6 SHA512 bdd7e0dc97939ef792facde0038062ffc4f6a8d2495eb57d08b774b774a4edd7259de46d3a86de2a36c0ed5027889ffa91f2edce2289e5932f16a421870693d7
|
||||
DIST guile-gnutls-3.7.12.tar.bz2 159199 BLAKE2B 1d44344d98231d2dcceedc87f8959c301024a1cb20a7e055dcf477e79b166405673d2447080e6579022435c546f8f34223320718d03ecc3612f9c6c10607dcac SHA512 c75ed619fd2eb79718ac5634c24a589308e371f83cac941fafcec297ea2877cb793760c4bfa0ca9f7396ca591daa781aebc0622636fc904f58f544193a655e3d
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library"
|
||||
HOMEPAGE="https://gnutls.gitlab.io/guile/manual/
|
||||
https://gitlab.com/gnutls/guile/"
|
||||
SRC_URI="https://gitlab.com/gnutls/guile/-/archive/v${PV}/guile-v${PV}.tar.bz2
|
||||
-> ${P}.tar.bz2"
|
||||
S="${WORKDIR}"/guile-v${PV}
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-scheme/guile-2.0.0:=
|
||||
net-libs/gnutls:=[-guile(-)]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# guile generates ELF files without use of C or machine code
|
||||
# It's a portage's false positive. bug #677600
|
||||
QA_PREBUILT='*[.]go'
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
|
||||
find "${S}" -name "*.scm" -exec touch {} + || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-srp-authentication # bug #894050
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
|
||||
# Workaround llvm-strip problem of mangling guile ELF debug
|
||||
# sections: https://bugs.gentoo.org/905898
|
||||
dostrip -x "/usr/$(get_libdir)/guile"
|
||||
}
|
Binary file not shown.
@ -1,10 +1,4 @@
|
||||
DIST gitlab-cli-1.24.1-deps.tar.xz 34979684 BLAKE2B 238ac4e1a4182cc2dd83a4a49f9306e2e76635a43297df21e022b9990eb20dc0eb3b06b16d0132f1b813fc7440ddcaf6335ef77afc3c79e4d0a7d4b3443fdbd1 SHA512 e96423b82812fce4621fb4467ea6f861e87d9b897b5f1a6512a860880e22a8ae1ec08ae6a4e874e3ba33456bc93c3f0e1117a2705c911056f55f6f7aaef318c5
|
||||
DIST gitlab-cli-1.24.1.tar.bz2 16630772 BLAKE2B 61f618ef8cee468904457d8ac8a992ce45dd0e354296e24e4176c9f22acc26d33d9672e47542b017bdd515fb9c17bb11b9ba17cafabe66d739b9c6414a640a34 SHA512 aa92f3edbc490fe3fede9a65dda9267475f0f15a3265de31a00dc62719f7ba36d75573a7cee807e013b9218ea3497c3b6e8663bcb1a872e91a15000a2d16f386
|
||||
DIST gitlab-cli-1.25.3-deps.tar.xz 35966236 BLAKE2B 63fbcccacd6df665219d5196983cb7082424f7e87c4e58f962b73d185983a5b2a73e267fd2837a39c11eb9765f63f749a9dd61cdf901e90f0b648fd4d13faa20 SHA512 b2d73f16529ada87804ec948e7dc014c0c3309fa4ebd260e94ffd24a40f58fd1bf327c652adf74a4503bd63d685b1506b90c53230f75586107d5ec559320d47b
|
||||
DIST gitlab-cli-1.25.3.tar.bz2 16771835 BLAKE2B e36003e41649b3fc5289033892525130f9965a02095e30baf93dc7179a61ee336e12b57a3892c94259acb68717bb9fea3074985a29cf51afd28596cfcc3d864d SHA512 f916ab28d10e851a0fa389487fca4650bd0ea5b612213a26497838d45c77efcfcccbd6dc6500debedc8cd869afec0c3f0b2bf95cf3d5151ecbd0b9c793af1063
|
||||
DIST gitlab-cli-1.26.0-deps.tar.xz 35962880 BLAKE2B 895a442b5a8d259fccb58a04374d8abe88792392744ad748bf448ae5cbf5cb5927ad69dee6def59afc781ce6aa477c84d3ea219f79f069b98b09140f11cfccd2 SHA512 69e16358c60a0a71564943a2095b2055a11d6028021a77734f8b06b5348ac848a6a4bdf1f08b8b7af5bf344a66042fa7d8c9fa0061212b3cc4c1b2802c36f551
|
||||
DIST gitlab-cli-1.26.0.tar.bz2 16777071 BLAKE2B 51cab57139b11ea1d4b1834b1c9efdb061099c494441243e8acc2608f05cd17d7968d6602d46c4a8aa6e8cb6ef2ae3c9cbf03019214fe77d593bce8c9a030540 SHA512 70f02bf28c01a47dacc5282d9a20211f686a8f099579be10b6f180002ff5bd4e53c70cd25828eb148c190b0f58e1569625535fe842f70a919059350187352e65
|
||||
DIST gitlab-cli-1.27.1-deps.tar.xz 36052928 BLAKE2B afc415014e36bf5ccc0f454cff85719a2c7376c6a145471e3718ba7353fd5a5180473c55b9a802f369ac3a6d8afabf131bd49eeecdb54fa2b1eb7182f0951c79 SHA512 05bb6fc81e603aac2ea10d4ffb0669562988166c95a0e8d331845aeefbce2e324e3383e27b9908c92fde6c41bfa527bab975411d6067cad4579c5bbd3ae7a08f
|
||||
DIST gitlab-cli-1.27.1.tar.bz2 16780511 BLAKE2B d0baba9a6269deec6b98dd620e47c21eaa821fe3ef608478edb3e599ef13576f00e8f80424fa1ac42f894bf9d8c456f9e75d3d83899ac99754acec8e597c290a SHA512 74413f538b4983cbcdfa4a9197e38d6d52d4c675e708bc459d4460e61af4663394b2776d6568a294f1249fe7de21b882a95a68130100769fceb29ba725458d07
|
||||
DIST gitlab-cli-1.28.1-deps.tar.xz 36252544 BLAKE2B 8c7d4ef554bec4c7e8216bffd8ff138dfaa4aca5ede0d8e68d9291f296121f77bb0e607629dbeadd854ddc767ece394e8e22100f52776d704bd1908e1f0ac5e6 SHA512 6e6d2283a19ef1160ac933399cc497ea92075d7fc0bbc2bc998614b5c077b0331796a224f472139a4f6f273a2e1271ac70ea5ab7c0a479bb749055980e31e2e9
|
||||
DIST gitlab-cli-1.28.1.tar.bz2 16781342 BLAKE2B 0b59e60d0f8b7f1e95bbdf1aff8c22017dbf54eae2a72848a5416c35bee893341c1606249eeeaee1ffff1aa72500a8fe91389358abdf066339d9218a6ecdc648 SHA512 57b9d6e2b527bcaf227d8c07101129749a80203db061ac757adc84bda72576e35f6404d80972ffcecb6fecd2e9b644b0e5c9a06b6135a7e3a68c46af82de69b1
|
||||
DIST gitlab-cli-1.29.4-deps.tar.xz 38656412 BLAKE2B fcbb787a1fb893ae8d3452919e9e540f011ce0d35827a383f083e1492018a335f80089f2f87315329afb42bebdd1014ef6dc59e6673b930d4397edfa57384513 SHA512 12382eb22cf71cf11ebdfacf834dbcd08d6dc5fb02f7f705772240d896b907e8054a1847976a1ba9105b765df194eb5581dbd8d77fc191ac01b63257f1e76370
|
||||
DIST gitlab-cli-1.29.4.tar.bz2 16787326 BLAKE2B d0cc93c92cfb9ae01b9acfec04341c1e06a1bce36f666abec46c6bd0eab6700e2b6ea4f8cc27606da499b8246795c145a402dbf32c8f94074c0feaae34b8ec8a SHA512 a212f73fb06849c1d197efac1a7cf33a09fc94a3b8d954de1d442462deb59e52ff1a89c68e6ce4deb0a1472367890947ccabebfd459fd6e172142a9931c68df1
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
GIT_COMMIT=e02b30c6e3ff7801f22d37ed63850211ca0c7bb6
|
||||
|
||||
DESCRIPTION="the official gitlab command line interface"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/cli"
|
||||
SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# tests communicate with gitlab.com and require a personal access token
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
GLAB_VERSION=v${PV} \
|
||||
build manpage
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/glab
|
||||
dodoc README.md
|
||||
doman share/man/man1/*
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
GIT_COMMIT=7ab3ef14820c565a9430fa0da58a491048699638
|
||||
|
||||
DESCRIPTION="the official gitlab command line interface"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/cli"
|
||||
SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# tests communicate with gitlab.com and require a personal access token
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
GLAB_VERSION=v${PV} \
|
||||
build manpage
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/glab
|
||||
dodoc README.md
|
||||
doman share/man/man1/*
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
GIT_COMMIT=ef363646f539ed785d29e2b07c20b5f8f00c4d45
|
||||
|
||||
DESCRIPTION="the official gitlab command line interface"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/cli"
|
||||
SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# tests communicate with gitlab.com and require a personal access token
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/cli-${GIT_COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
GLAB_VERSION=v${PV} \
|
||||
build manpage
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/glab
|
||||
dodoc README.md
|
||||
doman share/man/man1/*
|
||||
}
|
@ -0,0 +1,477 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.20
|
||||
anyhow-1.0.71
|
||||
autocfg-1.1.0
|
||||
base64-0.13.1
|
||||
base64-0.21.0
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.4
|
||||
bstr-1.4.0
|
||||
bumpalo-3.12.1
|
||||
byteorder-1.4.3
|
||||
bytes-1.4.0
|
||||
bytesize-1.2.0
|
||||
bzip2-0.4.4
|
||||
bzip2-sys-0.1.11+1.0.8
|
||||
cab-0.4.1
|
||||
camino-1.1.4
|
||||
cargo-config2-0.1.7
|
||||
cargo-options-0.6.0
|
||||
cargo-platform-0.1.2
|
||||
cargo-xwin-0.14.2
|
||||
cargo-zigbuild-0.16.8
|
||||
cargo_metadata-0.15.4
|
||||
cbindgen-0.24.3
|
||||
cc-1.0.79
|
||||
cfb-0.7.3
|
||||
cfg-expr-0.15.1
|
||||
cfg-if-1.0.0
|
||||
charset-0.1.3
|
||||
chumsky-0.9.2
|
||||
clap-4.1.10
|
||||
clap_complete-4.1.6
|
||||
clap_complete_command-0.5.1
|
||||
clap_complete_fig-4.1.2
|
||||
clap_complete_nushell-0.1.10
|
||||
clap_derive-4.1.9
|
||||
clap_lex-0.3.3
|
||||
cli-table-0.4.7
|
||||
concolor-0.0.11
|
||||
concolor-query-0.1.0
|
||||
configparser-3.0.2
|
||||
console-0.15.5
|
||||
content_inspector-0.2.4
|
||||
core-foundation-0.9.3
|
||||
core-foundation-sys-0.8.4
|
||||
cpufeatures-0.2.7
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.8
|
||||
crossbeam-deque-0.8.3
|
||||
crossbeam-epoch-0.9.14
|
||||
crossbeam-utils-0.8.15
|
||||
crypto-common-0.1.6
|
||||
ctor-0.1.26
|
||||
data-encoding-2.3.3
|
||||
dialoguer-0.10.4
|
||||
diff-0.1.13
|
||||
digest-0.10.6
|
||||
dirs-4.0.0
|
||||
dirs-sys-0.3.7
|
||||
dunce-1.0.4
|
||||
either-1.8.1
|
||||
encode_unicode-0.3.6
|
||||
encoding_rs-0.8.32
|
||||
errno-0.2.8
|
||||
errno-dragonfly-0.1.2
|
||||
fastrand-1.9.0
|
||||
fat-macho-0.4.6
|
||||
filetime-0.2.19
|
||||
flate2-1.0.26
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.1.0
|
||||
fs-err-2.9.0
|
||||
generic-array-0.14.7
|
||||
getrandom-0.2.9
|
||||
glob-0.3.1
|
||||
globset-0.4.10
|
||||
goblin-0.6.1
|
||||
hashbrown-0.12.3
|
||||
heck-0.4.1
|
||||
hermit-abi-0.2.6
|
||||
home-0.5.4
|
||||
humantime-2.1.0
|
||||
humantime-serde-1.1.1
|
||||
idna-0.3.0
|
||||
ignore-0.4.20
|
||||
indexmap-1.9.3
|
||||
indicatif-0.17.3
|
||||
indoc-2.0.1
|
||||
instant-0.1.12
|
||||
io-lifetimes-1.0.4
|
||||
is-terminal-0.4.2
|
||||
itertools-0.10.5
|
||||
itoa-1.0.6
|
||||
js-sys-0.3.61
|
||||
keyring-2.0.2
|
||||
lazy_static-1.4.0
|
||||
lddtree-0.3.2
|
||||
libc-0.2.144
|
||||
linux-keyutils-0.2.3
|
||||
linux-raw-sys-0.1.4
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
lzxd-0.1.4
|
||||
mailparse-0.13.8
|
||||
matchers-0.1.0
|
||||
memchr-2.5.0
|
||||
memoffset-0.8.0
|
||||
mime-0.3.17
|
||||
mime_guess-2.0.4
|
||||
minijinja-0.32.1
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.7.1
|
||||
msi-0.5.1
|
||||
multipart-0.18.0
|
||||
native-tls-0.2.11
|
||||
nom-7.1.3
|
||||
normalize-line-endings-0.3.0
|
||||
normpath-1.0.1
|
||||
nu-ansi-term-0.46.0
|
||||
num_cpus-1.15.0
|
||||
number_prefix-0.4.0
|
||||
once_cell-1.17.1
|
||||
openssl-0.10.52
|
||||
openssl-macros-0.1.0
|
||||
openssl-probe-0.1.5
|
||||
openssl-src-111.25.2+1.1.1t
|
||||
openssl-sys-0.9.87
|
||||
os_pipe-1.1.2
|
||||
os_str_bytes-6.5.0
|
||||
output_vt100-0.1.3
|
||||
overload-0.1.1
|
||||
parking_lot-0.12.1
|
||||
parking_lot_core-0.9.6
|
||||
path-slash-0.2.1
|
||||
pep440_rs-0.3.6
|
||||
pep508_rs-0.1.5
|
||||
percent-encoding-2.2.0
|
||||
pin-project-lite-0.2.9
|
||||
pkg-config-0.3.27
|
||||
plain-0.2.3
|
||||
platform-info-1.0.2
|
||||
portable-atomic-0.3.19
|
||||
ppv-lite86-0.2.17
|
||||
pretty_assertions-1.3.0
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.57
|
||||
psm-0.1.21
|
||||
pyproject-toml-0.6.0
|
||||
python-pkginfo-0.5.5
|
||||
quote-1.0.26
|
||||
quoted_printable-0.4.8
|
||||
rand-0.8.5
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.4
|
||||
rayon-1.7.0
|
||||
rayon-core-1.11.0
|
||||
redox_syscall-0.2.16
|
||||
redox_users-0.4.3
|
||||
regex-1.7.3
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.29
|
||||
rfc2047-decoder-0.2.2
|
||||
ring-0.16.20
|
||||
rustc_version-0.4.0
|
||||
rustix-0.36.7
|
||||
rustls-0.20.8
|
||||
rustls-pemfile-1.0.2
|
||||
rustversion-1.0.12
|
||||
ryu-1.0.13
|
||||
same-file-1.0.6
|
||||
schannel-0.1.21
|
||||
scopeguard-1.1.0
|
||||
scroll-0.11.0
|
||||
scroll_derive-0.11.0
|
||||
sct-0.7.0
|
||||
security-framework-2.9.0
|
||||
security-framework-sys-2.9.0
|
||||
semver-1.0.17
|
||||
serde-1.0.155
|
||||
serde_derive-1.0.155
|
||||
serde_json-1.0.95
|
||||
serde_spanned-0.6.1
|
||||
sha2-0.10.6
|
||||
sharded-slab-0.1.4
|
||||
shell-escape-0.1.5
|
||||
shell-words-1.1.0
|
||||
shlex-1.1.0
|
||||
similar-2.2.1
|
||||
smallvec-1.10.0
|
||||
smawk-0.3.1
|
||||
snapbox-0.4.4
|
||||
snapbox-macros-0.3.1
|
||||
socks-0.3.4
|
||||
spin-0.5.2
|
||||
stacker-0.1.15
|
||||
static_assertions-1.1.0
|
||||
strsim-0.10.0
|
||||
syn-1.0.109
|
||||
tar-0.4.38
|
||||
target-lexicon-0.12.7
|
||||
tempfile-3.4.0
|
||||
termcolor-1.2.0
|
||||
terminal_size-0.2.3
|
||||
textwrap-0.16.0
|
||||
thiserror-1.0.39
|
||||
thiserror-impl-1.0.39
|
||||
thread_local-1.1.7
|
||||
time-0.3.20
|
||||
time-core-0.1.0
|
||||
time-macros-0.2.8
|
||||
tinyvec-1.6.0
|
||||
tinyvec_macros-0.1.1
|
||||
toml-0.5.11
|
||||
toml-0.7.3
|
||||
toml_datetime-0.6.1
|
||||
toml_edit-0.19.8
|
||||
tracing-0.1.37
|
||||
tracing-attributes-0.1.23
|
||||
tracing-core-0.1.31
|
||||
tracing-log-0.1.3
|
||||
tracing-serde-0.1.3
|
||||
tracing-subscriber-0.3.17
|
||||
trycmd-0.14.11
|
||||
twox-hash-1.6.3
|
||||
typenum-1.16.0
|
||||
unicase-2.6.0
|
||||
unicode-bidi-0.3.13
|
||||
unicode-ident-1.0.8
|
||||
unicode-linebreak-0.1.4
|
||||
unicode-normalization-0.1.22
|
||||
unicode-width-0.1.10
|
||||
untrusted-0.7.1
|
||||
ureq-2.6.2
|
||||
url-2.3.1
|
||||
uuid-1.3.3
|
||||
valuable-0.1.0
|
||||
vcpkg-0.2.15
|
||||
version_check-0.9.4
|
||||
versions-4.1.0
|
||||
wait-timeout-0.2.0
|
||||
walkdir-2.3.3
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
web-sys-0.3.61
|
||||
webpki-0.22.0
|
||||
webpki-roots-0.22.6
|
||||
which-4.4.0
|
||||
wild-2.1.0
|
||||
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.42.0
|
||||
windows_aarch64_gnullvm-0.42.2
|
||||
windows_aarch64_msvc-0.42.2
|
||||
windows_i686_gnu-0.42.2
|
||||
windows_i686_msvc-0.42.2
|
||||
windows_x86_64_gnu-0.42.2
|
||||
windows_x86_64_gnullvm-0.42.2
|
||||
windows_x86_64_msvc-0.42.2
|
||||
winnow-0.4.6
|
||||
xattr-0.2.3
|
||||
xwin-0.2.12
|
||||
yansi-0.5.1
|
||||
zeroize-1.6.0
|
||||
zip-0.6.6"
|
||||
# additional crates used by test-crates/* test packages,
|
||||
# `grep test-crates tests/run.rs` to see which are needed
|
||||
CRATES_TEST="
|
||||
anyhow-1.0.69
|
||||
askama-0.11.1
|
||||
askama_derive-0.11.2
|
||||
askama_escape-0.10.3
|
||||
askama_shared-0.12.2
|
||||
bincode-1.3.3
|
||||
camino-1.1.2
|
||||
cargo_metadata-0.15.3
|
||||
cc-1.0.73
|
||||
cc-1.0.74
|
||||
getrandom-0.2.8
|
||||
goblin-0.6.0
|
||||
indoc-1.0.7
|
||||
itoa-1.0.5
|
||||
libc-0.2.134
|
||||
libc-0.2.137
|
||||
libc-0.2.141
|
||||
mime-0.3.16
|
||||
once_cell-1.15.0
|
||||
once_cell-1.16.0
|
||||
once_cell-1.17.0
|
||||
parking_lot_core-0.9.3
|
||||
parking_lot_core-0.9.4
|
||||
parking_lot_core-0.9.7
|
||||
paste-1.0.11
|
||||
proc-macro2-1.0.46
|
||||
proc-macro2-1.0.47
|
||||
proc-macro2-1.0.51
|
||||
pyo3-0.18.1
|
||||
pyo3-0.18.3
|
||||
pyo3-build-config-0.18.1
|
||||
pyo3-build-config-0.18.3
|
||||
pyo3-ffi-0.18.1
|
||||
pyo3-ffi-0.18.3
|
||||
pyo3-macros-0.18.1
|
||||
pyo3-macros-backend-0.18.1
|
||||
python3-dll-a-0.2.6
|
||||
quote-1.0.21
|
||||
quote-1.0.23
|
||||
ryu-1.0.12
|
||||
semver-1.0.16
|
||||
serde-1.0.152
|
||||
serde_derive-1.0.152
|
||||
serde_json-1.0.93
|
||||
siphasher-0.3.10
|
||||
syn-1.0.102
|
||||
syn-1.0.103
|
||||
syn-1.0.107
|
||||
thiserror-1.0.38
|
||||
thiserror-impl-1.0.38
|
||||
unicode-ident-1.0.5
|
||||
unicode-ident-1.0.6
|
||||
uniffi-0.23.0
|
||||
uniffi_bindgen-0.23.0
|
||||
uniffi_build-0.23.0
|
||||
uniffi_checksum_derive-0.23.0
|
||||
uniffi_core-0.23.0
|
||||
uniffi_macros-0.23.0
|
||||
uniffi_meta-0.23.0
|
||||
uniffi_testing-0.23.0
|
||||
unindent-0.1.10
|
||||
weedle2-4.0.0
|
||||
windows-sys-0.36.1
|
||||
windows-sys-0.45.0
|
||||
windows-targets-0.42.2
|
||||
windows_aarch64_gnullvm-0.42.0
|
||||
windows_aarch64_msvc-0.36.1
|
||||
windows_aarch64_msvc-0.42.0
|
||||
windows_i686_gnu-0.36.1
|
||||
windows_i686_gnu-0.42.0
|
||||
windows_i686_msvc-0.36.1
|
||||
windows_i686_msvc-0.42.0
|
||||
windows_x86_64_gnu-0.36.1
|
||||
windows_x86_64_gnu-0.42.0
|
||||
windows_x86_64_gnullvm-0.42.0
|
||||
windows_x86_64_msvc-0.36.1
|
||||
windows_x86_64_msvc-0.42.0"
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{9..11} )
|
||||
inherit bash-completion-r1 cargo distutils-r1 edo flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings"
|
||||
HOMEPAGE="https://www.maturin.rs/"
|
||||
SRC_URI="
|
||||
https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
$(cargo_crate_uris)
|
||||
test? ( $(cargo_crate_uris ${CRATES_TEST}) )"
|
||||
|
||||
# note: ring is unused, so SSLeay+openssl licenses can be skipped
|
||||
LICENSE="
|
||||
0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC
|
||||
MIT MPL-2.0 Unicode-DFS-2016 doc? ( CC-BY-4.0 OFL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc +ssl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.{9..10})"
|
||||
DEPEND="ssl? ( dev-libs/openssl:= )"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
||||
doc? ( app-text/mdbook )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*')
|
||||
dev-python/boltons[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
RDEPEND+=" ${DEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
if use test; then
|
||||
# used to prevent use of network during tests
|
||||
cat > "${T}"/pip.conf <<-EOF || die
|
||||
[install]
|
||||
no-index = yes
|
||||
no-dependencies = yes
|
||||
EOF
|
||||
|
||||
# used by *git_sdist_generator tests
|
||||
git init -q || die
|
||||
git config --global user.email "larry@gentoo.org" || die
|
||||
git config --global user.name "Larry the Cow" || die
|
||||
git add . || die
|
||||
git commit -qm init || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-lto # TODO: cleanup after bug #893658
|
||||
|
||||
local cargoargs=(
|
||||
# TODO: try switching to `--profile gentoo` then should be able to
|
||||
# remove all `use debug` checks and --release in tests, but needs:
|
||||
# https://github.com/gentoo/gentoo/pull/29510
|
||||
$(usev debug '--profile dev')
|
||||
--no-default-features
|
||||
# like release.yml + native-tls for better platform support than rustls
|
||||
--features full,password-storage$(usev ssl ,native-tls)
|
||||
)
|
||||
|
||||
export MATURIN_SETUP_ARGS=${cargoargs[*]} # --no-default-features if empty
|
||||
export OPENSSL_NO_VENDOR=1
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use !doc || mdbook build -d html guide || die
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
local maturin=target/$(usex debug{,} release)/maturin
|
||||
${maturin} completions bash > "${T}"/${PN} || die
|
||||
${maturin} completions fish > "${T}"/${PN}.fish || die
|
||||
${maturin} completions zsh > "${T}"/_${PN} || die
|
||||
else
|
||||
ewarn "shell completion files were skipped due to cross-compilation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x COLUMNS=100 # what tests/cmd was generated for
|
||||
local -x MATURIN_TEST_PYTHON=${EPYTHON}
|
||||
local -x PIP_CONFIG_FILE=${T}/pip.conf
|
||||
local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1
|
||||
|
||||
local skip=(
|
||||
# avoid need for wasm over a single hello world test
|
||||
--skip integration_wasm_hello_world
|
||||
# fragile depending on rust version, also wants libpypy*-c.so for pypy
|
||||
--skip pyo3_no_extension_module
|
||||
)
|
||||
|
||||
edo cargo test $(usev !debug --release) ${MATURIN_SETUP_ARGS} -- "${skip[@]}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc Changelog.md README.md
|
||||
use doc && dodoc -r guide/html
|
||||
|
||||
if ! tc-is-cross-compiler; then
|
||||
dobashcomp "${T}"/${PN}
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins "${T}"/${PN}.fish
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins "${T}"/_${PN}
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST fotoxx-23.2-source.tar.gz 9233622 BLAKE2B 425c6f20210c62d08ee14f53436f3256e829a6fa3453047fe07ee0357fa277cdfe37340a6c19d0c39c2885b5ab6478d4791eb00631447f0b8d6ee53436750d5b SHA512 6193c99f11034609fdc052cf29184835644c76fd37270d8a8e9a76524d7bec7ea6ddc8e0c0ad7874d6997eba5c8c81f0f1a355a06a1220600380931aab10759b
|
||||
DIST fotoxx-23.32-source.tar.gz 9273650 BLAKE2B 20d159e25ba280ff4f264da1a99f2af729bf881b5f2b140faaa278c924934aa5443b3d56144685be835184531972f8caa7cb550d418d41ad48c2e56b87ba7bf3 SHA512 484939d48e6bdfc15075718fcc26ae07e8b91462f00f447dfb97a7019931fe524d0fda89e07eec711ea03ad05913073ae253f166ebe39643e2a4b0f2caccee28
|
||||
DIST fotoxx-23.50-source.tar.gz 9344552 BLAKE2B cb634e24b034bdb6e52bb2824fc549cfc1321516f4af8d8b34df4828122476fd46ca0234c6009616ad96a5d003818d403ef8ae6be115ac0a33db94e2eb8bd03e SHA512 629c7da961fcaff26916765a7b494b4596b8a9b62397901946c39c92bbc54694a2d3b9378a653f4144a191f74015e1067f0a414bfd4df00bc16982a922b52400
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 16 May 2023 09:39:59 +0000
|
||||
Tue, 16 May 2023 18:40:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 16 May 2023 09:39:59 +0000
|
||||
Tue, 16 May 2023 18:40:00 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue