mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-ruby/commonmarker: add 2.3.0
Add missing dependency on clang due to clang-sys and cbindgen. Thanks to Hank Leiniger for providing a fix for this. Closes: https://bugs.gentoo.org/954169 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
bc9ec5a0b1
commit
a963280a6a
@ -28,7 +28,9 @@ DIST colorchoice-1.0.3.crate 7923 BLAKE2B 7055fe61677143f0d4445ed5f6be2cbc284c15
|
||||
DIST commonmarker-0.23.10.tar.gz 172611 BLAKE2B df583a7e9f588cc726b985c90e03f7470d92d907d7507bf1a0f8c174e08a502036d2cdab6e45eb61c3c58dd810be1f682c51a787236da887a9d9f9ccf0fc13f6 SHA512 587cbf7037725bee57a61d75d83389ee209d943cc69ce32edf79fc292034a4bbede0a9f7cad7eff7a029f998572c6840a8d95d7387fb0806d79cf7351f85e5a1
|
||||
DIST commonmarker-0.23.11.tar.gz 172605 BLAKE2B 7d5013eae18a4397b5a4648bea8b648f76b2b3207d49d73d5cf07822ad9983d4e4b54cb94db80d0e90677b037546f0bc10029b1dfe22d92d7b62a0bcfcbb7ac0 SHA512 f18268682261ec133fff93ab81496d7993fa2480a95d4e052358d2de08f250244b3d9201a0a3e5822cccfd4bf06bde1e19eee5c7d06145344fa5a3de4db1bc31
|
||||
DIST commonmarker-2.1.1.tar.gz 107600 BLAKE2B 83e4668ab8e03e2236afbb48ed8e9b9d7f86b610e6a7165d032632afdfda0ec418975c79ea7bf7b5a069687957e6a70bdbba1bc6d4be0ab75c65d5b68e6fb546 SHA512 db6dc93154c2f79312f55172e9e2ec035d2b49ebd681d01afb2eea772f7df1d09542b2d01359ba8c11df947a0b1100b37ca5bea48bffa7200ee804d9f9f8a9f7
|
||||
DIST commonmarker-2.3.0.tar.gz 107902 BLAKE2B 6cc84d625d03eff40300636abc5b2975b2a84ba308c8a3af58367d866141ce2cb2d784f5798a794f74a87ff411ece7ae4fa336f55931a2c283b72ec26948435b SHA512 5896ad7285145b6175c345d1accca29e82b2b1abd522163223ac60ed5aa64d237eb2cda86121ea9aa7abaaa4f14b8e2428434c6d9f8d5efedf4d55dad92c3ec6
|
||||
DIST comrak-0.35.0.crate 166249 BLAKE2B 1950f11f074f9efe6f4773aaf6e72eeb25f3d32cba3b9f04f953963778377d54f061efa3c37d5005d3e835019f5c4474cd3fe87e3628797622c286cbc46b92b3 SHA512 5f69295329c9fd1f0a1774fc3702e707d3fe4a0722705b3753ca6e2916629e7fa2c1d5b4ef32d57c44671736e260cdd2c6f6b824fb356d5203c233094439db03
|
||||
DIST comrak-0.38.0.crate 178477 BLAKE2B 9e84d6436d4030af50203228d181486ffe5fe540b16caf3c27a92832276b20fa670a565a617e253e3aa090a78cba5a9ef15759f86364a78fe7b527d84676c64e SHA512 31a5bb0a3f0d2adf83ea720c3fcd8f939bd36cfb7991c498a410e6a4eb436650d0a595760d9ebd4610addd8b8bdc412069764177422c5f7d49602ebe905262b3
|
||||
DIST crc32fast-1.4.2.crate 38491 BLAKE2B aaa3acca66e5814a45f12a90ae09f6ff5fc14ca94c8539184dab6ed928abc68cd1d37e539c268c1effd50ab3af20de6038593fb9c6bd6a664785dac52f6939fd SHA512 c7608d33022062e217d3576f536ffbd51479855a5e5874529c71db2bf6a937ce04d814c39cf777309c38445393bf43cb9996161947e28738abd432f11beb7266
|
||||
DIST darling-0.20.10.crate 32031 BLAKE2B 038c2a4d919a8e9ff6eff5f83911b40cf4e918ac27c90f313b6b9131c41770f83cc3901973fea1c6fea2886a8360f3c5cf73b807d14e579b8b8e87f15e3bc6dc SHA512 7a14eebc20e48fd39ddf7b8376dc937a04f561d723aba864432cabd5ab46eb189706b43e5121a7f4fb0d68dbfd044353875bb479d4bd5cd96b76e3571733ce55
|
||||
DIST darling_core-0.20.10.crate 65015 BLAKE2B a94adcc6092a7a69728725ec4bf4cb7c163bc3fe0890f272bba9963c256697bbe1ad964d58a975c80742019c59d4e1b3e56e624f938576996e216d2f99e21f2d SHA512 2b971156b8c1433dd0ddb2213ee522e2fe9968a62889285d1457b5e733daa70a09c21bca9b8573d9c742026b4c06f4dd2025a6a196ec0b08b25a78d8737dff6d
|
||||
|
||||
185
dev-ruby/commonmarker/commonmarker-2.3.0.ebuild
Normal file
185
dev-ruby/commonmarker/commonmarker-2.3.0.ebuild
Normal file
@ -0,0 +1,185 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler2@2.0.0
|
||||
aho-corasick@1.1.3
|
||||
anstream@0.6.18
|
||||
anstyle-parse@0.2.6
|
||||
anstyle-query@1.1.2
|
||||
anstyle-wincon@3.0.6
|
||||
anstyle@1.0.10
|
||||
base64@0.22.1
|
||||
bincode@1.3.3
|
||||
bindgen@0.69.5
|
||||
bit-set@0.5.3
|
||||
bit-vec@0.6.3
|
||||
bitflags@1.3.2
|
||||
bitflags@2.6.0
|
||||
bon-macros@3.3.2
|
||||
bon@3.3.2
|
||||
bumpalo@3.16.0
|
||||
caseless@0.2.1
|
||||
cc@1.2.6
|
||||
cexpr@0.6.0
|
||||
cfg-if@1.0.0
|
||||
clang-sys@1.8.1
|
||||
clap@4.5.23
|
||||
clap_builder@4.5.23
|
||||
clap_derive@4.5.18
|
||||
clap_lex@0.7.4
|
||||
colorchoice@1.0.3
|
||||
comrak@0.38.0
|
||||
crc32fast@1.4.2
|
||||
darling@0.20.10
|
||||
darling_core@0.20.10
|
||||
darling_macro@0.20.10
|
||||
deranged@0.3.11
|
||||
deunicode@1.6.0
|
||||
either@1.13.0
|
||||
emojis@0.6.4
|
||||
entities@1.0.1
|
||||
equivalent@1.0.1
|
||||
errno@0.3.10
|
||||
fancy-regex@0.11.0
|
||||
flate2@1.0.35
|
||||
fnv@1.0.7
|
||||
glob@0.3.2
|
||||
hashbrown@0.15.2
|
||||
heck@0.5.0
|
||||
ident_case@1.0.1
|
||||
indexmap@2.7.0
|
||||
is_terminal_polyfill@1.70.1
|
||||
itertools@0.12.1
|
||||
itoa@1.0.14
|
||||
lazy_static@1.5.0
|
||||
lazycell@1.3.0
|
||||
libc@0.2.169
|
||||
libloading@0.8.6
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.4.14
|
||||
log@0.4.22
|
||||
magnus-macros@0.6.0
|
||||
magnus@0.7.1
|
||||
memchr@2.7.4
|
||||
minimal-lexical@0.2.1
|
||||
miniz_oxide@0.8.2
|
||||
nom@7.1.3
|
||||
num-conv@0.1.0
|
||||
once_cell@1.20.2
|
||||
onig@6.4.0
|
||||
onig_sys@69.8.1
|
||||
phf@0.11.2
|
||||
phf_shared@0.11.2
|
||||
pkg-config@0.3.31
|
||||
plist@1.7.0
|
||||
powerfmt@0.2.0
|
||||
prettyplease@0.2.25
|
||||
proc-macro2@1.0.92
|
||||
quick-xml@0.32.0
|
||||
quote@1.0.38
|
||||
rb-sys-build@0.9.111
|
||||
rb-sys-env@0.1.2
|
||||
rb-sys@0.9.111
|
||||
rctree@0.6.0
|
||||
regex-automata@0.4.9
|
||||
regex-syntax@0.8.5
|
||||
regex@1.11.1
|
||||
rustc-hash@1.1.0
|
||||
rustix@0.38.42
|
||||
rustversion@1.0.19
|
||||
ryu@1.0.18
|
||||
same-file@1.0.6
|
||||
seq-macro@0.3.5
|
||||
serde@1.0.217
|
||||
serde_derive@1.0.217
|
||||
serde_json@1.0.134
|
||||
shell-words@1.1.0
|
||||
shlex@1.3.0
|
||||
siphasher@0.3.11
|
||||
slug@0.1.6
|
||||
strsim@0.11.1
|
||||
syn@2.0.93
|
||||
syntect@5.2.0
|
||||
terminal_size@0.4.1
|
||||
thiserror-impl@1.0.69
|
||||
thiserror@1.0.69
|
||||
time-core@0.1.2
|
||||
time-macros@0.2.19
|
||||
time@0.3.37
|
||||
tinyvec@1.8.1
|
||||
tinyvec_macros@0.1.1
|
||||
typed-arena@2.0.2
|
||||
unicode-ident@1.0.14
|
||||
unicode-normalization@0.1.24
|
||||
unicode_categories@0.1.1
|
||||
utf8parse@0.2.2
|
||||
walkdir@2.5.0
|
||||
wasm-bindgen-backend@0.2.99
|
||||
wasm-bindgen-macro-support@0.2.99
|
||||
wasm-bindgen-macro@0.2.99
|
||||
wasm-bindgen-shared@0.2.99
|
||||
wasm-bindgen@0.2.99
|
||||
winapi-util@0.1.9
|
||||
windows-sys@0.59.0
|
||||
windows-targets@0.52.6
|
||||
windows_aarch64_gnullvm@0.52.6
|
||||
windows_aarch64_msvc@0.52.6
|
||||
windows_i686_gnu@0.52.6
|
||||
windows_i686_gnullvm@0.52.6
|
||||
windows_i686_msvc@0.52.6
|
||||
windows_x86_64_gnu@0.52.6
|
||||
windows_x86_64_gnullvm@0.52.6
|
||||
windows_x86_64_msvc@0.52.6
|
||||
xdg@2.5.2
|
||||
yaml-rust@0.4.5
|
||||
"
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=(ext/commonmarker/extconf.rb)
|
||||
RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/commonmarker"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="commonmarker.gemspec"
|
||||
|
||||
inherit cargo flag-o-matic ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fast, safe, extensible parser for CommonMark, wrapping the comrak Rust crate"
|
||||
HOMEPAGE="https://github.com/gjtorikian/commonmarker"
|
||||
SRC_URI="https://github.com/gjtorikian/commonmarker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" ${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT Unicode-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-libs/oniguruma:="
|
||||
DEPEND="${RDEPEND} llvm-core/clang"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/rb_sys-0.9:0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
cargo_src_unpack
|
||||
|
||||
# Tests fail when using the system oniguruma, bug 951737.
|
||||
# export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
|
||||
# Needed for the bundled oniguruma source code in the onig_sys crate.
|
||||
append-flags -std=gnu17
|
||||
|
||||
sed -i -e '/focus/ s:^:#:' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Use current ruby version
|
||||
sed -i -e '/make_bin/,/end/ s:ruby:'${RUBY}':' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each {|f| require f}' || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user