mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST FORD-6.1.10.tar.gz 5847455 BLAKE2B b575be88434b129289c5098fc3da0216190fa2a953a4ed2bfcc1275a22cc37d8c096dad6fb45ff2606a87ffa179ce31b172ff0a641cf40444f151b30c2cb3bc0 SHA512 2116bb28a3d678216d3b61d53955ef6f199e50d2286491d0d9e867a2f8d53a8c7b5a1cace1671390380a21bdaa86814a3d9625d3919bdce03a22b25b02e06757
|
||||
DIST FORD-6.1.11.tar.gz 5848224 BLAKE2B f8092b678ab1621f3d295e77b8a308d2f4787baa77b989a0dc07a9b23c0723945a97bca81bda879d7929b8910eb49b635bd052304b3b6d1ba25f8dbb552b676e SHA512 325e8c05b5df6435c164adf24871d9743d2927d862010b005ba87dafd0e44cf1f52dae50d1b2bec5a5f39f935859286e0c9ba5156b24843bc58dc1335c5e1913
|
||||
DIST FORD-6.1.12.tar.gz 5849020 BLAKE2B e72937b1930cd774abc444c5a87371525b494caf7dc60f26b6bbae562abb1406fba725c82b4de3b7353251a17bd8c2b4e725e008699a492cce5b7b3e05ca98a4 SHA512 8aed12eb0471db4c92b955509ede9d44d9cf1e8c906fbe32089f473b148d9b368256c23b56b8ce7dcef19dddecb555d649404a847e0318f0749b234347c55cce
|
||||
|
||||
48
app-doc/ford/ford-6.1.12.ebuild
Normal file
48
app-doc/ford/ford-6.1.12.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 toolchain-funcs
|
||||
|
||||
MY_PN="FORD"
|
||||
DESCRIPTION="FORD, automatic documentation generator for modern Fortran programs"
|
||||
HOMEPAGE="https://github.com/Fortran-FOSS-Programmers/ford"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/graphviz[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-python/markdown-include[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/python-markdown-math[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
dev-python/toposort[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/"cpp /"'"$(tc-getCPP)"' /' ford/__init__.py || die # bug: 839300
|
||||
}
|
||||
|
||||
python_test(){
|
||||
# The 'test/test_projects' tests use subprocess, i.e. require FORD to be installed.
|
||||
distutils_install_for_testing
|
||||
distutils-r1_python_test
|
||||
}
|
||||
@@ -510,6 +510,7 @@ DIST watchexec-1.18.12.tar.gz 245324 BLAKE2B e4279f062471c231dd0995bba2f9e17260e
|
||||
DIST watchexec-1.19.0.tar.gz 246191 BLAKE2B de98c2abbbb2f0b7c95862324d98c581695a35b92a3cea22b6c5b76182682251e763346b8f6e8d462f29c5cf31b6ad20be223cc77a520f3d8d4c6cedb9625d50 SHA512 84184353673a4834d7089ccaca117bf9acfd7382b9fea7ca0cbedefb2ff8980de3f3b2ef233ba850f3a2cd4219dce454a9e66f823af16830c6be8aaf96adb7eb
|
||||
DIST watchexec-1.20.0.tar.gz 265026 BLAKE2B 254adddd9410256faaa77eed95c30aaf34ae840700ffe21477fce70c23b544b4861da52c58e6e9c79a4e030b995474bb97c146b5f2d156cf8d0531bce678c7f7 SHA512 761440fe13c3180431bea8e82c0e6b5e63c745eb514e06d017d714c419383f8e96871e643a02c4714ee15b816f95401b3bb294043c2b10a0ded6730df2a3cd80
|
||||
DIST watchexec-1.20.1.tar.gz 265472 BLAKE2B eb4ca4b6024b3a683b7d1124eb196d4d4a2b4af76e964bc1601bc6cebe89ca3f2000473433350b6142c24b65be29995c5e6fbbe725112bc3bc26e1b87b1ccac0 SHA512 8040074d63396ffc8f1d0cf4e803b970341407fd050ec56f0bcbe4f349b8decd174ebd23010cead1c017c7cacc78396f7dc397d6cb21f78f395234235aca94dc
|
||||
DIST watchexec-1.20.2.tar.gz 265553 BLAKE2B a57c20c007769cfcaea46dde3389cb072a5a0e6ad852773a69b3b1bc8e13c5e2bcab63fdb68c9f12af5950347cb4927ba312c7c5d36d561b5000395a73a89016 SHA512 c15d32f2a50b4d3549c20e64895d10e556852559d18d134fa9e991775cf6191efa16ebcac5499f8a1fe5269b925229e9701d790d3a249dd20918ae94e5116ae4
|
||||
DIST wepoll-ffi-0.1.2.crate 31309 BLAKE2B cd1b01c9fdb6482baff3ab12a9926c1a5a9b6e430e4609890a94b13480f8223de166558724b4d6926d6e9dd7f466926c783df54f9beabc75d646edf4f3429a73 SHA512 f0f5c379d08642aee9c6ef36175b9d858ee1cb7d444b832d6e7ad194167a4db2de5aaee3b2356ca42ef9f48a9872928c61b456305c05dd40cc53e5204686b8a7
|
||||
DIST which-4.1.0.crate 7684 BLAKE2B 4d8eb0a263c14b506f446fa808d9326c6e4e781cc2d79a1f6efcf7b9bb9a294d3266a2f3de4526ac0ec08ca65a18622ac064e9ae1e86dd1b325b122f684371f8 SHA512 4fffd3dd4ac73f5c232ee8a53bbc948a7295a2a51ec3f792d5d0aa84ceb6c2322fc11b35d29f5d3181c763b34c434c5ea2807ae6cc3393cd30d68b0fd44c7a22
|
||||
DIST which-4.2.4.crate 9259 BLAKE2B 0371c0c04843ba3c72b4bae2df5ae4539a4750e0d2da0105e370350b7a8985e7fc7a57815dcfe6b3a48ea7c0161b5ca5db3c03b9bf65bd8252adde77fb8055a5 SHA512 9ca2bbec727040197fc12efdc7cd70bc94bd1b4abd03bf86f6043fd960de73053b84c7d101d897563583b8d6d85377025e1e7213640987ebdfdd54fa629e3b80
|
||||
|
||||
338
app-misc/watchexec/watchexec-1.20.2.ebuild
Normal file
338
app-misc/watchexec/watchexec-1.20.2.ebuild
Normal file
@@ -0,0 +1,338 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.2-dev
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
addr2line-0.17.0
|
||||
adler-1.0.2
|
||||
aho-corasick-0.7.18
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.57
|
||||
assert_cmd-2.0.4
|
||||
async-broadcast-0.4.0
|
||||
async-channel-1.6.1
|
||||
async-executor-1.4.1
|
||||
async-io-1.7.0
|
||||
async-lock-2.5.0
|
||||
async-priority-channel-0.1.0
|
||||
async-recursion-0.3.2
|
||||
async-recursion-1.0.0
|
||||
async-stream-0.3.3
|
||||
async-stream-impl-0.3.3
|
||||
async-task-4.2.0
|
||||
async-trait-0.1.56
|
||||
atomic-take-1.0.0
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
axum-0.5.7
|
||||
axum-core-0.2.5
|
||||
backtrace-0.3.65
|
||||
base64-0.13.0
|
||||
bitflags-1.3.2
|
||||
block-0.1.6
|
||||
bstr-0.2.17
|
||||
byteorder-1.4.3
|
||||
bytes-1.1.0
|
||||
cache-padded-1.2.0
|
||||
cc-1.0.73
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
clap-3.1.18
|
||||
clap_lex-0.2.0
|
||||
clearscreen-1.0.10
|
||||
command-group-1.0.8
|
||||
concurrent-queue-1.2.2
|
||||
console-0.15.0
|
||||
console-api-0.3.0
|
||||
console-subscriber-0.1.6
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.4
|
||||
crossbeam-utils-0.8.8
|
||||
derivative-2.2.0
|
||||
difflib-0.4.0
|
||||
dirs-2.0.2
|
||||
dirs-4.0.0
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.7
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
dunce-1.0.2
|
||||
easy-parallel-3.2.0
|
||||
either-1.6.1
|
||||
embed-resource-1.7.2
|
||||
encode_unicode-0.3.6
|
||||
enumflags2-0.7.5
|
||||
enumflags2_derive-0.7.4
|
||||
event-listener-2.5.2
|
||||
failure-0.1.8
|
||||
failure_derive-0.1.8
|
||||
fastrand-1.7.0
|
||||
filetime-0.2.16
|
||||
flate2-1.0.24
|
||||
fnv-1.0.7
|
||||
fsevent-sys-4.1.0
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-lite-1.12.0
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.6
|
||||
gimli-0.26.1
|
||||
git-config-0.2.1
|
||||
git-features-0.20.0
|
||||
git-hash-0.9.5
|
||||
globset-0.4.9
|
||||
h2-0.3.13
|
||||
hashbrown-0.11.2
|
||||
hdrhistogram-7.5.0
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
http-0.2.8
|
||||
http-body-0.4.5
|
||||
http-range-header-0.3.0
|
||||
httparse-1.7.1
|
||||
httpdate-1.0.2
|
||||
humantime-2.1.0
|
||||
hyper-0.14.19
|
||||
hyper-timeout-0.4.1
|
||||
ignore-0.4.18
|
||||
indexmap-1.8.2
|
||||
inotify-0.9.6
|
||||
inotify-sys-0.1.5
|
||||
insta-1.14.1
|
||||
instant-0.1.12
|
||||
is_ci-1.1.1
|
||||
itertools-0.10.3
|
||||
itoa-1.0.2
|
||||
kqueue-1.0.6
|
||||
kqueue-sys-1.0.3
|
||||
lazy_static-1.4.0
|
||||
libc-0.2.126
|
||||
libmimalloc-sys-0.1.25
|
||||
linked-hash-map-0.5.4
|
||||
lock_api-0.4.7
|
||||
log-0.4.17
|
||||
mac-notification-sys-0.5.0
|
||||
malloc_buf-0.0.6
|
||||
matchers-0.1.0
|
||||
matchit-0.5.0
|
||||
memchr-2.5.0
|
||||
memoffset-0.6.5
|
||||
miette-4.7.1
|
||||
miette-derive-4.7.1
|
||||
mimalloc-0.1.29
|
||||
mime-0.3.16
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.5.3
|
||||
mio-0.8.3
|
||||
nix-0.22.3
|
||||
nix-0.23.1
|
||||
nix-0.24.1
|
||||
nom-5.1.2
|
||||
nom-7.1.1
|
||||
notify-5.0.0-pre.15
|
||||
notify-rust-4.5.8
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.13.1
|
||||
num_threads-0.1.6
|
||||
objc-0.2.7
|
||||
objc-foundation-0.1.1
|
||||
objc_id-0.1.1
|
||||
object-0.28.4
|
||||
once_cell-1.12.0
|
||||
ordered-stream-0.0.1
|
||||
os_str_bytes-6.1.0
|
||||
owo-colors-3.4.0
|
||||
parking-2.0.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
percent-encoding-2.1.0
|
||||
phf-0.8.0
|
||||
phf_codegen-0.8.0
|
||||
phf_generator-0.8.0
|
||||
phf_shared-0.8.0
|
||||
pin-project-1.0.10
|
||||
pin-project-internal-1.0.10
|
||||
pin-project-lite-0.2.9
|
||||
pin-utils-0.1.0
|
||||
polling-2.2.0
|
||||
ppv-lite86-0.2.16
|
||||
predicates-2.1.1
|
||||
predicates-core-1.0.3
|
||||
predicates-tree-1.0.5
|
||||
proc-macro-crate-1.1.3
|
||||
proc-macro2-1.0.39
|
||||
prost-0.10.4
|
||||
prost-derive-0.10.1
|
||||
prost-types-0.10.1
|
||||
pwd-1.3.1
|
||||
quick-error-2.0.1
|
||||
quote-1.0.18
|
||||
rand-0.7.3
|
||||
rand-0.8.5
|
||||
rand_chacha-0.2.2
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.5.1
|
||||
rand_core-0.6.3
|
||||
rand_hc-0.2.0
|
||||
rand_pcg-0.2.1
|
||||
redox_syscall-0.2.13
|
||||
redox_users-0.4.3
|
||||
regex-1.5.6
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.26
|
||||
remove_dir_all-0.5.3
|
||||
rustc-demangle-0.1.21
|
||||
rustc_version-0.4.0
|
||||
ryu-1.0.10
|
||||
same-file-1.0.6
|
||||
scopeguard-1.1.0
|
||||
semver-1.0.10
|
||||
serde-1.0.137
|
||||
serde_derive-1.0.137
|
||||
serde_json-1.0.81
|
||||
serde_repr-0.1.8
|
||||
serde_yaml-0.8.24
|
||||
sha1-0.6.1
|
||||
sha1_smol-1.0.0
|
||||
sharded-slab-0.1.4
|
||||
signal-hook-registry-1.4.0
|
||||
similar-2.1.0
|
||||
siphasher-0.3.10
|
||||
slab-0.4.6
|
||||
smallvec-1.8.0
|
||||
smawk-0.3.1
|
||||
socket2-0.4.4
|
||||
static_assertions-1.1.0
|
||||
strsim-0.10.0
|
||||
strum-0.22.0
|
||||
strum_macros-0.22.0
|
||||
supports-color-1.3.0
|
||||
supports-hyperlinks-1.2.0
|
||||
supports-unicode-1.0.2
|
||||
syn-1.0.96
|
||||
sync_wrapper-0.1.1
|
||||
synstructure-0.12.6
|
||||
tempfile-3.3.0
|
||||
termcolor-1.1.3
|
||||
terminal_size-0.1.17
|
||||
terminfo-0.7.3
|
||||
termtree-0.2.4
|
||||
textwrap-0.15.0
|
||||
thiserror-1.0.31
|
||||
thiserror-impl-1.0.31
|
||||
thread_local-1.1.4
|
||||
time-0.3.9
|
||||
tokio-1.19.2
|
||||
tokio-io-timeout-1.2.0
|
||||
tokio-macros-1.8.0
|
||||
tokio-stream-0.1.9
|
||||
tokio-util-0.7.3
|
||||
toml-0.5.9
|
||||
tonic-0.7.2
|
||||
tower-0.4.12
|
||||
tower-http-0.3.4
|
||||
tower-layer-0.3.1
|
||||
tower-service-0.3.1
|
||||
tracing-0.1.35
|
||||
tracing-attributes-0.1.21
|
||||
tracing-core-0.1.27
|
||||
tracing-futures-0.2.5
|
||||
tracing-log-0.1.3
|
||||
tracing-serde-0.1.3
|
||||
tracing-subscriber-0.3.11
|
||||
try-lock-0.2.3
|
||||
uds_windows-1.0.2
|
||||
unicase-2.6.0
|
||||
unicode-bom-1.1.4
|
||||
unicode-ident-1.0.0
|
||||
unicode-linebreak-0.1.2
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.3
|
||||
valuable-0.1.0
|
||||
version_check-0.9.4
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.1
|
||||
wait-timeout-0.2.0
|
||||
waker-fn-1.1.0
|
||||
walkdir-2.3.2
|
||||
want-0.3.0
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wepoll-ffi-0.1.2
|
||||
which-4.2.5
|
||||
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.24.0
|
||||
windows-sys-0.36.1
|
||||
windows_aarch64_msvc-0.36.1
|
||||
windows_i686_gnu-0.24.0
|
||||
windows_i686_gnu-0.36.1
|
||||
windows_i686_msvc-0.24.0
|
||||
windows_i686_msvc-0.36.1
|
||||
windows_x86_64_gnu-0.24.0
|
||||
windows_x86_64_gnu-0.36.1
|
||||
windows_x86_64_msvc-0.24.0
|
||||
windows_x86_64_msvc-0.36.1
|
||||
winreg-0.10.1
|
||||
winrt-notification-0.5.1
|
||||
xml-rs-0.8.4
|
||||
yaml-rust-0.4.5
|
||||
zbus-2.2.0
|
||||
zbus_macros-2.2.0
|
||||
zbus_names-2.1.0
|
||||
zvariant-3.2.1
|
||||
zvariant_derive-3.2.1
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="Executes commands in response to file modifications"
|
||||
HOMEPAGE="https://github.com/watchexec/watchexec"
|
||||
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/cli-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" $(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD CC0-1.0 CC-PD ISC MIT WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${PN}-cli-v${PV}"
|
||||
DOCS=( README.md )
|
||||
HTML_DOCS=( doc/watchexec.1.html )
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/watchexec"
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --manifest-path=crates/cli/Cargo.toml
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
|
||||
cargo_src_test --manifest-path crates/cli/Cargo.toml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path crates/cli
|
||||
|
||||
einstalldocs
|
||||
doman doc/watchexec.1
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins completions/zsh _watchexec
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
DIST pkgload_1.2.4.tar.gz 62827 BLAKE2B db2c636b953b43bc34abd47246b28d47cbd48e1f146a686384c27c88386b97238b95c2e1f3fbe9aeadc5b51a598c3a89e776efca8d1567d7ac92f278eed3933e SHA512 5cc6c790c3fd77e938d5aacb841a2a416666ae8fdee09e5eefb54bd87fac1c912beecf8f3239f1dc3258103f90c2e4d5fcb8f27402a60fe280da70bb99892661
|
||||
DIST pkgload_1.3.0.tar.gz 76008 BLAKE2B 48be7f398c929b21db56bf12231e32032a48f5f320610eed044c8668810e36d2cbbf9241e3c34ee8b41e6be45f4ff4f4791e316f2fe219ea84cd615e5dfdcdc6 SHA512 b20c205d18004598d4bc8ba704949496a8c34fa33ed8a7e93e1dd9a192ce78f4cb35f15ccb60745cca94bcfe327ecd1b3ff0b92fd4b4c9e9f38fdedba4e57d3b
|
||||
|
||||
@@ -6,24 +6,36 @@ EAPI=7
|
||||
inherit R-packages
|
||||
|
||||
DESCRIPTION='Simulate Package Installation and Attach'
|
||||
HOMEPAGE="
|
||||
https://cran.r-project.org/package=pkgload
|
||||
https://github.com/r-lib/pkgload
|
||||
https://pkgload.r-lib.org/
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='GPL-3'
|
||||
|
||||
DEPEND="
|
||||
dev-R/cli
|
||||
>=dev-R/cli-3.3.0
|
||||
dev-R/desc
|
||||
dev-R/crayon
|
||||
dev-R/fs
|
||||
dev-R/glue
|
||||
dev-R/rprojroot
|
||||
dev-R/rlang
|
||||
>=dev-R/rlang-1.0.3
|
||||
dev-R/rstudioapi
|
||||
dev-R/withr
|
||||
>=dev-R/withr-2.4.3
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/bitops
|
||||
dev-R/mathjaxr
|
||||
dev-R/pak
|
||||
dev-R/covr
|
||||
dev-R/pkgbuild
|
||||
dev-R/Rcpp
|
||||
dev-R/testthat
|
||||
>=dev-R/testthat-3.1.0
|
||||
dev-R/remotes
|
||||
dev-R/rstudioapi
|
||||
"
|
||||
@@ -1 +1 @@
|
||||
DIST processx_3.6.0.tar.gz 148342 BLAKE2B ba3c6e8953674611357113a37ee68dd56a04415307d387d6f63e8a776052b1b33fe09bb9433c5b0895104720636e0fb0e25254d78298456457ea6ed78723e646 SHA512 2236937978a1c5f8a0f6e34ea2c40a83d48792fbc6d7c4ade1107c57f5969eeaadb1459bb4287a5dfe3f55974e1f139ea34451a10bbc45ae1eb68d49bd73bdb8
|
||||
DIST processx_3.6.1.tar.gz 148517 BLAKE2B caf8fea7f65530e5a1aac64796685192b79b82ed62a013f78686756927f6b253a26fbc0af98c2c3e8d6cac680191db690e379d20e89a6aa23e27720eb56d7a8f SHA512 309e9b34525b1824097f1811c1194292ec86bf9f232ef88ef1b4ae19e14154c8023be334bf9b763d3762555857c0856ce07803efa57ffad17905a906c9b01175
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST ps_1.7.0.tar.gz 125455 BLAKE2B e10b3c93c586d4e2d7e054a74b64d45506409ed79cd6c5b0eebacafa0f319d70ed7a0ab39a0df42420cf23c6e27790ed52706952d9d5c823ce91945a00975179 SHA512 69b53c22f39e5feab6834f81c48b0fe2e4772f6b400ead7a46a4bd07adb8fe2de8a9bafa8001ef7c6038f2fb1f9c0037905bbf8fe12a19b7b5b2c9627acbb910
|
||||
DIST ps_1.7.1.tar.gz 128664 BLAKE2B f229e82897e65bce85e46e4b256c6610f24cf3241f52c4979bf9be9e0acf0eabf9caa8e31d44b95b35a2e5f0b0662cd8bcc94ad3ad3e659be4cf97618da33e0e SHA512 0a8fbec74a8f4efa374d091a70db68418c969c987af8211e73b6077a947634c8acdbc9768edda7c52332aec2ef9a7aabd4828df987c30cdc65698959f0104962
|
||||
|
||||
@@ -17,7 +17,7 @@ LICENSE='MIT'
|
||||
DEPEND=">=dev-lang/R-3.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fPIE.patch" )
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.7.0-fPIE.patch" )
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/callr
|
||||
@@ -1 +1 @@
|
||||
DIST rlang_1.0.2.tar.gz 724829 BLAKE2B f48c096162e01b37f73534d79d8c526ba3eea4f2a9a3f05dc95b39fb0540d01d95afb3673a621bf7e941693789c93f787a8d4ed4b04109ace128f8949fbeec56 SHA512 b68ab77d01d0effa2bbf97558336738eba7584bfbdb90ae5fb90a1290f11a8521d58522aab759d9a8ce1984567b876c6f2d328b7b9c94ca72b0957a1ee3296f3
|
||||
DIST rlang_1.0.3.tar.gz 740744 BLAKE2B 378aa0e58582f0c3c7d149146a26fded9be1c2b7df4f41748c82b0bc5dc38d8a73b082f0e914050f7c25d1294b33d1fa5fc1493025ee6225ae6a409e4eac15fc SHA512 9f98d0c65dff2dd7ac59a910cbf81298acdf415c9b60a582f9d24c6714912786fd7b169188fee77426488fd0cdc14b7d410e8288d6ffc320546fa153bdc44d44
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745
|
||||
DIST parallel-hashmap-1.34.tar.gz 2043028 BLAKE2B 30629288656a22cfd56da9485458f604487383cc5951e230a833b182cbbcc706b78d0b8a45fb76c4fca6da930f49cdb79b2ca63926ca8cd60cc7445b58c8edbd SHA512 3747422e80406aa77b009adee3c16325640dd1044560882fb881dac5ef4109f7d165d26ed7e64002c9285275f95962725ce20c918da12c0c113999c8ca3c7429
|
||||
DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
@@ -10,20 +10,25 @@ HOMEPAGE="
|
||||
https://greg7mdp.github.io/parallel-hashmap/
|
||||
https://github.com/greg7mdp/parallel-hashmap
|
||||
"
|
||||
SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/greg7mdp/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples"
|
||||
IUSE="examples test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
CDEPEND="dev-libs/cereal"
|
||||
DEPEND="test? ( ${CDEPEND} )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
#TODO: explore the various cmake options (if any)
|
||||
#TODO: tests
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_compile() {
|
||||
mycmakeargs=(
|
||||
PHMAP_BUILD_EXAMPLES=$(usex examples)
|
||||
PHMAP_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
@@ -3,18 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
EANT_BUILD_TARGET="all.no_junit"
|
||||
EANT_BUILD_XML="make/build.xml"
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_EXTRA_ARGS="-Dc.strip.libraries=false"
|
||||
EANT_GENTOO_CLASSPATH="antlr,ant-core,jsr305"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar"
|
||||
EANT_NEEDS_TOOLS="yes"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
EANT_TEST_TARGET="junit.run"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 toolchain-funcs
|
||||
|
||||
@@ -60,6 +49,17 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-remove-static-lib.patch"
|
||||
"${FILESDIR}/${P}-respect-flags.patch"
|
||||
)
|
||||
EANT_BUILD_TARGET="all.no_junit"
|
||||
EANT_BUILD_XML="make/build.xml"
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_EXTRA_ARGS="-Dc.strip.libraries=false"
|
||||
EANT_GENTOO_CLASSPATH="antlr,ant-core,jsr305"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar"
|
||||
EANT_NEEDS_TOOLS="yes"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
EANT_TEST_TARGET="junit.run"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
|
||||
@@ -42,8 +42,14 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install
|
||||
mv "${ED}/usr/share/doc/${PN}/example" "${ED}/usr/share/doc/${PF}/examples" || die
|
||||
MAKEOPTS="-j1" DESTDIR="${D}" emake install
|
||||
docinto examples
|
||||
dodoc -r "${ED}"/usr/share/doc/${PN}/example/*
|
||||
docinto html/tools-dev
|
||||
dodoc -r "${ED}"/usr/share/doc/${PF}/tools-dev/html/*
|
||||
java-pkg_dojar "${ED}/usr/share/java/CubeReader.jar"
|
||||
|
||||
rm -r "${ED}/usr/share/doc/${PF}/tools-dev" || die
|
||||
rm -r "${ED}/usr/share/doc/${PN}" || die
|
||||
rm -r "${ED}/usr/share/java/CubeReader.jar" || die
|
||||
}
|
||||
@@ -3,16 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
EANT_BUILD_TARGET="init build.nativewindow build.jogl build.newt build.oculusvr one.dir tag.build"
|
||||
EANT_BUILD_XML="make/build.xml"
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_GENTOO_CLASSPATH="gluegen-${SLOT},antlr,ant-core,swt-3.7"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}/*.jar:${S}/build/nativewindow/*.jar"
|
||||
EANT_NEEDS_TOOLS="yes"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_PKG_BSFIX_NAME+=" build-jogl.xml build-nativewindow.xml build-newt.xml"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
@@ -29,13 +20,13 @@ KEYWORDS="~amd64"
|
||||
IUSE="cg"
|
||||
|
||||
CDEPEND="
|
||||
~dev-java/gluegen-${PV}:${SLOT}
|
||||
dev-java/antlr:0
|
||||
dev-java/ant-core:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXxf86vm
|
||||
~dev-java/gluegen-${PV}:${SLOT}
|
||||
dev-java/swt:3.7
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXxf86vm
|
||||
cg? ( media-gfx/nvidia-cg-toolkit )
|
||||
"
|
||||
RDEPEND="
|
||||
@@ -46,6 +37,17 @@ DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
BDEPEND="dev-vcs/git"
|
||||
|
||||
EANT_BUILD_TARGET="init build.nativewindow build.jogl build.newt build.oculusvr one.dir tag.build"
|
||||
EANT_BUILD_XML="make/build.xml"
|
||||
EANT_DOC_TARGET=""
|
||||
EANT_GENTOO_CLASSPATH="gluegen-${SLOT},antlr,ant-core,swt-3.7"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}/*.jar:${S}/build/nativewindow/*.jar"
|
||||
EANT_NEEDS_TOOLS="yes"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_PKG_BSFIX_NAME+=" build-jogl.xml build-nativewindow.xml build-newt.xml"
|
||||
WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
|
||||
|
||||
# upstream has a crude way to call the junit tests, which cause a lot of trouble to pass
|
||||
# our test classpath...
|
||||
@@ -53,8 +55,8 @@ RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#we keep make/lib/plugin3/plugin3-public.jar
|
||||
find -name 'make/lib/swt/*.jar' -delete -print || die
|
||||
rm -r make/lib || die
|
||||
java-pkg_clean
|
||||
|
||||
# Empty filesets are never out of date!
|
||||
sed -i -e 's/<outofdate>/<outofdate force="true">/' make/build*xml || die
|
||||
@@ -65,6 +67,14 @@ src_prepare() {
|
||||
EANT_EXTRA_ARGS+=" -Dgluegen-rt.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen-rt.jar)"
|
||||
|
||||
use cg && EANT_EXTRA_ARGS+=" -Djogl.cg=1 -Dx11.cg.lib=/usr/lib"
|
||||
export EANT_EXTRA_ARGS
|
||||
|
||||
#it want a git repo
|
||||
git init || die
|
||||
git config --global user.email "you@example.com" || die
|
||||
git config --global user.name "Your Name" || die
|
||||
git add . || die
|
||||
git commit -m 'init' || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_${PV}.tar.gz
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="openssl"
|
||||
S="${WORKDIR}/${PN}-RELEASE_${PV}"
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST xapi-stdext-4.18.0.tar.gz 52297 BLAKE2B f0f4e0f2453b9d98a0fcbd90437cc173771164f18dca3dcc7a05afe1ddccb14a08f192184ab9bddbcfca14f8687cd935000c0ad26ea4adceece51df712cf5579 SHA512 11267f9adc7676724ef7e0a0e1eb670c7234216d45d9566eb09fafe09728c9da5d1ac065afa5aec73895c81d6e62f1c16cabc48c7c6473002e0d58fd7dbc97ee
|
||||
DIST xapi-stdext-4.19.0.gh.tar.gz 50348 BLAKE2B d8a9111e7470c0dfc4ab4489dca47ba4c6836fa5da168c2555065db558e5e601795350dabcceac0dbdb44f428d13c7897001517585a5a435fa0df179df57f7e9 SHA512 fa77b8603658af7b10604f5fbf08b573c2e179c58d7a309a5f3badd6b048ef01e5a0e29a0d0ff2e2df8f1e4b3e4214f4a7379c7c4fdc4c29a426273e823a4d67
|
||||
|
||||
44
dev-ml/xapi-stdext/xapi-stdext-4.19.0.ebuild
Normal file
44
dev-ml/xapi-stdext/xapi-stdext-4.19.0.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Citrix's (deprecated) extensions to the ocaml standard library"
|
||||
HOMEPAGE="
|
||||
https://xapi-project.github.io/stdext/
|
||||
https://github.com/xapi-project/stdext
|
||||
"
|
||||
SRC_URI="https://github.com/xapi-project/stdext/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/stdext-${PV}"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/astring:=
|
||||
>=dev-ml/fd-send-recv-2.0.0:=
|
||||
dev-ml/logs:=
|
||||
dev-ml/ptime:=
|
||||
dev-ml/xapi-backtrace:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/alcotest )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_install() {
|
||||
dune_src_install xapi-stdext-date
|
||||
dune_src_install xapi-stdext-encodings
|
||||
dune_src_install xapi-stdext-pervasives
|
||||
dune_src_install xapi-stdext-std
|
||||
dune_src_install xapi-stdext-threads
|
||||
dune_src_install xapi-stdext-unix
|
||||
dune_src_install xapi-stdext-zerocheck
|
||||
dune_src_install xapi-stdext
|
||||
}
|
||||
1
dev-nim/balls/Manifest
Normal file
1
dev-nim/balls/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST balls-3.7.0.tar.gz 41064 BLAKE2B 9757a26c6ab1368ec93fc27080637a40908c7ce7a02f4664375894a9162a1f93167224270d786c7145255187cc32892645614471be0c5418639fc1db84077438 SHA512 1d935b09354435543320acaa243e26adf0a9aa7ebd37b3792393c5c7b1a65468c7bc521469b9601a6747c1727bc263e74b3dd45ef0c627d18f6af1efb904848c
|
||||
26
dev-nim/balls/balls-3.7.0.ebuild
Normal file
26
dev-nim/balls/balls-3.7.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo nimble
|
||||
|
||||
DESCRIPTION="A unittest macro to save the world, or at least your Sunday"
|
||||
HOMEPAGE="https://github.com/disruptek/balls"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
=dev-nim/grok-0*
|
||||
=dev-nim/sync-1*
|
||||
=dev-nim/ups-0*
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/disruptek/balls"
|
||||
|
||||
src_test() {
|
||||
edo "${BUILD_DIR}"/${PN}
|
||||
}
|
||||
13
dev-nim/balls/metadata.xml
Normal file
13
dev-nim/balls/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">disruptek/balls</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/balls/issues</bugs-to>
|
||||
<doc>https://disruptek.github.io/balls/balls.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-nim/frosty/Manifest
Normal file
1
dev-nim/frosty/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST frosty-3.0.0.tar.gz 14573 BLAKE2B 8f9e7647a15840b1f92032fa6961ed417b928fc21604eec61cb67a98cdcfacba8dbfaea94941e83af323300d34a7971ace556147b69eb06679a2005a526f6303 SHA512 83cc18dca29da8df288ed29779394f016fc81772273939d0ca3d184440f5d9b75c00e69c34f6c330e8672244fdee6213b6eaf3f68fa840093166d07d6478ad98
|
||||
28
dev-nim/frosty/frosty-3.0.0.ebuild
Normal file
28
dev-nim/frosty/frosty-3.0.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo nimble
|
||||
|
||||
DESCRIPTION="Serialize native Nim types to strings, streams, sockets, or anything else"
|
||||
HOMEPAGE="https://github.com/disruptek/frosty"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? (
|
||||
>dev-nim/balls-2.0.0
|
||||
<dev-nim/balls-4.0.0
|
||||
)"
|
||||
|
||||
set_package_url "https://github.com/disruptek/frosty"
|
||||
|
||||
src_test() {
|
||||
edo balls
|
||||
}
|
||||
13
dev-nim/frosty/metadata.xml
Normal file
13
dev-nim/frosty/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">disruptek/frosty</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/frosty/issues</bugs-to>
|
||||
<doc>https://disruptek.github.io/frosty/frosty.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-nim/grok/Manifest
Normal file
1
dev-nim/grok/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST grok-0.5.3.tar.gz 5226 BLAKE2B 1e1f73fdb1e995e42c116bfb517909d7f449eb0a4351ed604516854b35351198f2ed5f9bea03ab6fc888f0f46dfd309d59d5d3cd83cfb8db795e2267472339d3 SHA512 8cab53d0586a486dab087d0d2dac1acbbe93d63b6f5046378cd0fae45f26c4da6a9f3e12735f81d1d6b44398eadc029f288b1fa09dd8aa992c7d64588999268f
|
||||
16
dev-nim/grok/grok-0.5.3.ebuild
Normal file
16
dev-nim/grok/grok-0.5.3.ebuild
Normal file
@@ -0,0 +1,16 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Macro library for Nim"
|
||||
HOMEPAGE="https://github.com/disruptek/grok"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/disruptek/grok"
|
||||
12
dev-nim/grok/metadata.xml
Normal file
12
dev-nim/grok/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">disruptek/grok</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/grok/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
10
dev-nim/metadata.xml
Normal file
10
dev-nim/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<catmetadata>
|
||||
<longdescription lang="en">
|
||||
The dev-nim category contains packages whose primary purpose
|
||||
is to provide Nim modules, extensions and bindings, as well
|
||||
as tools and utilities useful for development in the Nim
|
||||
programming language.
|
||||
</longdescription>
|
||||
</catmetadata>
|
||||
1
dev-nim/nimbus/Manifest
Normal file
1
dev-nim/nimbus/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nimbus-0.1.4.tar.gz 24797 BLAKE2B 79efed84fc0e592e3c8275cfc468a041ae460413772a754ea86e97fbb471b2aa49ae1f11d6aa2085853a12381ac9d4b04bff1c8ac9022c2d9e9145e4d2144743 SHA512 6b946d8354f6719eb3ae65aad316cee74f4ddeb275e3de704907f70c7e01df41fa50016b4f444688d72047dd7137e10bb22c5d7fa25f867ecb4300da992e8035
|
||||
8
dev-nim/nimbus/metadata.xml
Normal file
8
dev-nim/nimbus/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
40
dev-nim/nimbus/nimbus-0.1.4.ebuild
Normal file
40
dev-nim/nimbus/nimbus-0.1.4.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nim-utils
|
||||
|
||||
DESCRIPTION="A Nim build system"
|
||||
HOMEPAGE="https://git.sysrq.in/nimbus/about/"
|
||||
SRC_URI="https://git.sysrq.in/${PN}/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-lang/nim"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
ETESTAMENT_DESELECT=(
|
||||
tests/installerscript/test_{binary,source,source_whitelist}.nim
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
nim_gen_config
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
enim c src/${PN}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
etestament all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
|
||||
doman ${PN}.1
|
||||
einstalldocs
|
||||
}
|
||||
1
dev-nim/npeg/Manifest
Normal file
1
dev-nim/npeg/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST npeg-0.26.0.tar.gz 8455023 BLAKE2B 2ae848d08442d9a165905c7918f0cf5b593c3bccfc825357428df4a04db4d1f4c79a89a47f2a5c7fbde44e77b1af502d7bda4505fe9221006eb8c7d668f00944 SHA512 e19fc1ea8f43f8b0c8cd169622671609d0d93b51f83de05c06ab8fbc666c45da4d3364148f48746f980f6a0d2888a5fb71f4678f2af30629b7e3502ca43a5143
|
||||
13
dev-nim/npeg/metadata.xml
Normal file
13
dev-nim/npeg/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">zevv/npeg</remote-id>
|
||||
<bugs-to>https://github.com/zevv/npeg/issues</bugs-to>
|
||||
<doc>https://nimble.directory/docs/npeg</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
22
dev-nim/npeg/npeg-0.26.0.ebuild
Normal file
22
dev-nim/npeg/npeg-0.26.0.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="a PEG library for Nim"
|
||||
HOMEPAGE="https://github.com/zevv/npeg https://nimble.directory/pkg/npeg"
|
||||
SRC_URI="https://github.com/zevv/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=( {Changelog,INTERNALS,README}.md )
|
||||
|
||||
set_package_url "https://github.com/zevv/npeg"
|
||||
|
||||
src_test() {
|
||||
nimble_build testc
|
||||
}
|
||||
1
dev-nim/sync/Manifest
Normal file
1
dev-nim/sync/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sync-1.5.0.tar.gz 75216 BLAKE2B 9de2415cd591d0094b7bdbb0a988a3547434d099e97f41eaca225e33bbd31a3d3d253f802d60f01455e21d91f192d604e4060824f9e7da12e507cc9236ef4480 SHA512 4943afff8e219283042001c43e7e47297197c598c5885dd958f29d42d96ee911582aff56a519305a9ffa87e2e8dffa8f2d1586d94fe9758c2aab08f6743480ab
|
||||
13
dev-nim/sync/metadata.xml
Normal file
13
dev-nim/sync/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">planetis-m/sync</remote-id>
|
||||
<bugs-to>https://github.com/planetis-m/sync/issues</bugs-to>
|
||||
<doc>https://planetis-m.github.io/sync/index.html</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
29
dev-nim/sync/sync-1.5.0.ebuild
Normal file
29
dev-nim/sync/sync-1.5.0.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Useful synchronization primitives"
|
||||
HOMEPAGE="https://github.com/planetis-m/sync https://nimble.directory/pkg/sync"
|
||||
SRC_URI="https://github.com/planetis-m/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
set_package_url "https://github.com/planetis-m/sync"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove failing tests
|
||||
rm tests/tspsc1.nim || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for file in tests/t*.nim; do
|
||||
enim --hints:off --threads:on r "${file}"
|
||||
done
|
||||
}
|
||||
1
dev-nim/ups/Manifest
Normal file
1
dev-nim/ups/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ups-0.0.7.tar.gz 17748 BLAKE2B 97860035c5b7f121a6cc08702dd1eabbd6960e94439642bc969c3ffc3fcf0d5c9920fdac62182f63db7e8461a485924664c3d40650286d402dde00969b71f691 SHA512 9325f6cf3e1e3cfc9889e51ae10db92356260deaa432c51671c2c27b09b7b9d574690eeacaab7597a1f706bc5a913a7e4067dd005f3658a1e86cd8151ef68239
|
||||
12
dev-nim/ups/metadata.xml
Normal file
12
dev-nim/ups/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">disruptek/ups</remote-id>
|
||||
<bugs-to>https://github.com/disruptek/ups/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-nim/ups/ups-0.0.7.ebuild
Normal file
31
dev-nim/ups/ups-0.0.7.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo nimble
|
||||
|
||||
DESCRIPTION="a package handler"
|
||||
HOMEPAGE="https://github.com/disruptek/ups"
|
||||
SRC_URI="https://github.com/disruptek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="=dev-nim/npeg-0*"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-nim/balls
|
||||
)
|
||||
"
|
||||
|
||||
set_package_url "https://github.com/disruptek/ups"
|
||||
|
||||
src_test() {
|
||||
edo balls
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST annobin-10.68.tar.xz 846704 BLAKE2B 6a997f123d3b9c84141858c3ce3ad215f6e44bcb1348bd19e750006072e4509b4c30ce3e6ef2739ddf95baa4adca5b7200f7054a84a20f635cda2f424e765c09 SHA512 0e3a12e173f6f77443c81e44f6be565b8392e6fcba002c8482f3edd13c56620acd5f528a00f10a9f81b9c8aeedf008103850458b2829cecbd89be98649879acc
|
||||
DIST annobin-10.73.tar.xz 846840 BLAKE2B cb905febf5ddeb811a4a41c5ef88f1e2f627c80a68fe2e7d6640b8aaa1cadb56907f3d162902ca260af4f9c335cf94b3267f17193dba83c38564a54cb4419a39 SHA512 264bd43279526095b4bc11accc0c6a9e8a6fdaa9adf9b8a12076b0d55f34ecc7df0c4653ec48210aff7cefabac208fcab52922babb9e404f22db809976a6a3e8
|
||||
DIST annobin-10.76.tar.xz 848204 BLAKE2B efc7f655001f93ba5bcfc4e4ee6d05752b1f7b6daa719aa20bf5304955b097787a2b73aee3938e9d411308f3422774350c1d994b388b476cd141246b9bb9abf3 SHA512 53b7d16c1b4c7d480ead2ec844a1895c39c441bdf60ed4b00205247a12ea190bfaa14591f8da629587c86d6ab2932571fed4ab9c9b8aa86fa29dda6ba43a2e06
|
||||
|
||||
115
eclass/nim-utils.eclass
Normal file
115
eclass/nim-utils.eclass
Normal file
@@ -0,0 +1,115 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: nim-utils.eclass
|
||||
# @MAINTAINER:
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in>
|
||||
# @AUTHOR:
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @BLURB: utility functions for Nim packages
|
||||
# @DESCRIPTION:
|
||||
# A utility eclass providing functions to call and configure Nim.
|
||||
#
|
||||
# This eclass does not set any metadata variables nor export any phase
|
||||
# functions. It can be inherited safely.
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI} unsupported."
|
||||
esac
|
||||
|
||||
if [[ ! ${_NIM_UTILS_ECLASS} ]]; then
|
||||
|
||||
# @ECLASS_VARIABLE: NIMFLAGS
|
||||
# @USER_VARIABLE
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# Flags for the Nim compiler.
|
||||
|
||||
# @ECLASS_VARIABLE: TESTAMENT_DISABLE_MEGATEST
|
||||
# @USER_VARIABLE
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# If set, pass '--megatest:off' to testament.
|
||||
|
||||
# @VARIABLE: ETESTAMENT_DESELECT
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# Specifies an array of test files to be deselected via testament's --skipFrom
|
||||
# parameter, when calling etestament.
|
||||
|
||||
inherit multiprocessing toolchain-funcs xdg-utils
|
||||
|
||||
# @FUNCTION: enim
|
||||
# @USAGE: [<args>...]
|
||||
# @DESCRIPTION:
|
||||
# Call nim, passing the supplied arguments.
|
||||
# This function dies if nim fails. It also supports being called via 'nonfatal'.
|
||||
# If you need to call nim directly in your ebuilds, this is the way it should
|
||||
# be done.
|
||||
enim() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
set -- nim "${@}"
|
||||
echo "$@" >&2
|
||||
"$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
# @FUNCTION: etestament
|
||||
# @USAGE: [<args>...]
|
||||
# @DESCRIPTION:
|
||||
# Call testament, passing the supplied arguments.
|
||||
# This function dies if testament fails.
|
||||
etestament() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local -a testament_args=()
|
||||
[[ ${TESTAMENT_DISABLE_MEGATEST} ]] && \
|
||||
testament_args+=( --megatest:off )
|
||||
|
||||
[[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && \
|
||||
testament_args+=( --colors:off )
|
||||
|
||||
if [[ ${ETESTAMENT_DESELECT} ]]; then
|
||||
local skipfile="${T}"/testament.skipfile
|
||||
for t in "${ETESTAMENT_DESELECT[@]}"; do
|
||||
echo "${t}" >> "${skipfile}"
|
||||
done
|
||||
testament_args+=( --skipFrom:"${skipfile}" )
|
||||
fi
|
||||
|
||||
set -- testament "${testament_args[@]}" "${@}"
|
||||
echo "$@" >&2
|
||||
"$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
# @FUNCTION: nim_gen_config
|
||||
# @USAGE:
|
||||
# @DESCRIPTION:
|
||||
# Generate the ${WORKDIR}/nim.cfg to respect user's toolchain and preferences.
|
||||
nim_gen_config() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
cat > "${WORKDIR}/nim.cfg" <<- EOF || die "Failed to create Nim config"
|
||||
cc:"gcc"
|
||||
gcc.exe:"$(tc-getCC)"
|
||||
gcc.linkerexe:"$(tc-getCC)"
|
||||
gcc.cpp.exe:"$(tc-getCXX)"
|
||||
gcc.cpp.linkerexe:"$(tc-getCXX)"
|
||||
gcc.options.always:"${CFLAGS} ${CPPFLAGS}"
|
||||
gcc.options.linker:"${LDFLAGS}"
|
||||
gcc.cpp.options.always:"${CFLAGS} ${CPPFLAGS}"
|
||||
gcc.cpp.options.linker:"${LDFLAGS}"
|
||||
|
||||
$([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
|
||||
-d:"release"
|
||||
--parallelBuild:"$(makeopts_jobs)"
|
||||
$(printf "%s\n" ${NIMFLAGS})
|
||||
EOF
|
||||
}
|
||||
|
||||
_NIM_UTILS_ECLASS=1
|
||||
fi
|
||||
169
eclass/nimble.eclass
Normal file
169
eclass/nimble.eclass
Normal file
@@ -0,0 +1,169 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: nimble.eclass
|
||||
# @MAINTAINER:
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in>
|
||||
# @AUTHOR:
|
||||
# Anna Vyalkova <cyber+gentoo@sysrq.in>
|
||||
# @SUPPORTED_EAPIS: 8
|
||||
# @PROVIDES: nim-utils
|
||||
# @BLURB: eclass to build Nim packages that use nimble as a build system
|
||||
# @EXAMPLE:
|
||||
# Typical ebuild for a Nim application:
|
||||
#
|
||||
# EAPI=8
|
||||
#
|
||||
# inherit nimble
|
||||
#
|
||||
# ...
|
||||
#
|
||||
# src_compile() {
|
||||
# nimble_src_compile
|
||||
# nimble_build scss
|
||||
# }
|
||||
#
|
||||
# ...
|
||||
#
|
||||
#
|
||||
# Typical ebuild for a Nim library:
|
||||
#
|
||||
# EAPI=8
|
||||
#
|
||||
# inherit nimble
|
||||
#
|
||||
# ...
|
||||
# SLOT=${PV}
|
||||
#
|
||||
# set_package_url "https://github.com/example/example"
|
||||
|
||||
|
||||
case ${EAPI} in
|
||||
8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI} unsupported."
|
||||
esac
|
||||
|
||||
if [[ ! ${_NIMBLE_ECLASS} ]]; then
|
||||
|
||||
# @ECLASS_VARIABLE: BUILD_DIR
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# Build directory, location where all generated files should be placed.
|
||||
# If this isn't set, it defaults to ${WORKDIR}/${P}-build.
|
||||
|
||||
inherit edo nim-utils ninja-utils
|
||||
|
||||
BDEPEND="${NINJA_DEPEND}
|
||||
dev-lang/nim
|
||||
dev-nim/nimbus
|
||||
"
|
||||
|
||||
# @FUNCTION: set_package_url
|
||||
# @USAGE: <url>
|
||||
# @DESCRIPTION:
|
||||
# If this function is called, nimbus will generate and install a nimblemeta.json
|
||||
# file. Some packages specify their dependencies using URLs and nimbus is
|
||||
# unable to find them unless a metadata file exists.
|
||||
set_package_url() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
(( $# == 1 )) || \
|
||||
die "${FUNCNAME} takes exactly one argument"
|
||||
|
||||
_PACKAGE_URL="${1}"
|
||||
}
|
||||
|
||||
# @FUNCTION: get_package_url
|
||||
# @USAGE:
|
||||
# @INTERNAL
|
||||
# @RETURN: package URL
|
||||
get_package_url() {
|
||||
echo "${_PACKAGE_URL}"
|
||||
}
|
||||
|
||||
# @FUNCTION: nimble_src_configure
|
||||
# @USAGE:
|
||||
# @DESCRIPTION:
|
||||
# Configure the package with nimbus. This will start an out-of-source build.
|
||||
# Passes arguments to Nim by reading from an optionally pre-defined local
|
||||
# mynimargs bash array.
|
||||
# @CODE
|
||||
# src_configure() {
|
||||
# local mynimargs=(
|
||||
# --threads:on
|
||||
# )
|
||||
# nimble_src_configure
|
||||
# }
|
||||
# @CODE
|
||||
nimble_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
[[ -n "${NINJA_DEPEND}" ]] || \
|
||||
ewarn "Unknown value '${NINJA}' for \${NINJA}"
|
||||
|
||||
BUILD_DIR="${BUILD_DIR:-${WORKDIR}/${P}-build}"
|
||||
|
||||
[[ -z ${mynimargs} ]] && local -a mynimargs=()
|
||||
local mynimargstype=$(declare -p mynimargs 2>&-)
|
||||
if [[ "${mynimargstype}" != "declare -a mynimargs="* ]]; then
|
||||
die "mynimargs must be declared as array"
|
||||
fi
|
||||
|
||||
nim_gen_config
|
||||
|
||||
local nimbusargs=(
|
||||
--nimbleDir:"${EPREFIX}"/opt/nimble
|
||||
--binDir:"${EPREFIX}"/usr/bin
|
||||
--url:"$(get_package_url)"
|
||||
"${mynimargs[@]}"
|
||||
)
|
||||
|
||||
edo nimbus "${nimbusargs[@]}" "${S}" "${BUILD_DIR}"
|
||||
}
|
||||
|
||||
# @FUNCTION: nimble_build
|
||||
# @USAGE: [ninja args...]
|
||||
# @DESCRIPTION:
|
||||
# Function for building the package. All arguments are passed to eninja.
|
||||
nimble_build() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
eninja -C "${BUILD_DIR}" "${@}"
|
||||
}
|
||||
|
||||
# @FUNCTION: nimble_src_compile
|
||||
# @USAGE: [ninja args...]
|
||||
# @DESCRIPTION:
|
||||
# Build the package with Ninja. All arguments are passed to nimble_build.
|
||||
nimble_src_compile() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
nimble_build "${@}"
|
||||
}
|
||||
|
||||
# @FUNCTION: nimble_src_test
|
||||
# @USAGE: [ninja args...]
|
||||
# @DESCRIPTION:
|
||||
# Test the package. All arguments are passed to nimble_build.
|
||||
nimble_src_test() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
if nonfatal nimble_build test -n &> /dev/null; then
|
||||
nimble_build test "${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: nimble_src_install
|
||||
# @DESCRIPTION:
|
||||
# Install the package with Ninja. All arguments are passed to nimble_build.
|
||||
nimble_src_install() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
DESTDIR="${D}" nimble_build install "${@}"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
_NIMBLE_ECLASS=1
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
||||
@@ -39,13 +39,14 @@ S="${WORKDIR}/${MY_PN}-${PV}-linux-x64"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
/opt/${P}/chrome-sandbox
|
||||
/opt/${P}/libvulkan.so*
|
||||
/opt/${P}/libvulkan.*
|
||||
"
|
||||
|
||||
## It seems media-libs/alsa-lib is required by chrome-sandbox.
|
||||
## Actually this library isn't required to work.
|
||||
QA_SONAME="
|
||||
/usr/lib*/libasound.so.2
|
||||
/usr/lib.*/libasound.so.2
|
||||
/usr/lib.*/libxkbcommon.so.0
|
||||
"
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST gephi-0.9.4-linux-x64.tar.gz 141531065 BLAKE2B 2511b5de51cd8cd0bb835141910be722138e43fc76f6e18182334d09165bd10e25a092ea9678104e583f90fad72f4b73ec2f62058cc099fc74857c10193a15d2 SHA512 6d04fc25ece184ba104563b0cc4569df3b71edd055407e0de594092592cc3dd42313d87fc2e7d629f8ce28e05ce5486af66812bda581b2f9a067679472232e54
|
||||
DIST gephi-0.9.5-linux-x64.tar.gz 141580518 BLAKE2B f49c0c6537b6a2ae0a57f08464b249fa6c12a80c6b63cecdd9a9202643eb075b76051bf871618556521a6258fda11289d2595bd6aa22c0fa70200685c23da5f7 SHA512 fc0c1200e3bbbc348a6acb3df7362f55825bd02659b84183ca669a967efec6dc25fb3cb26fd231104988e416c5abe7c4c689b940fae8eee8d4e60271092fe079
|
||||
DIST gephi-0.9.6-linux-x64.tar.gz 141861129 BLAKE2B 7991d6370f7d95c7c8fcaf355541e74bbf579c26a0a869448d7f1478eaaa3d8cef8a780df2f269e2b690dcbf5194dddf3a50eaf09b65c83a4c0dda80760b4aa3 SHA512 c1db889bf8423d59a28400b5b2e70d7df157e9d68d30eb7c06528faadaaa617797cd88f8b5a10f962043f92ff82c03e02fbade140897a0358616959b6f8ead05
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
dev-hare
|
||||
dev-nim
|
||||
dev-octave
|
||||
dev-R
|
||||
mpv-plugin
|
||||
|
||||
Reference in New Issue
Block a user