commit: b4994b7658b7a58deb9ed35b55261a8578c5bb14 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jun 29 05:51:33 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jun 29 05:51:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4994b76
dev-ruby/commonmarker: add 2.3.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/commonmarker/Manifest | 4 + dev-ruby/commonmarker/commonmarker-2.3.1.ebuild | 184 ++++++++++++++++++++++++ 2 files changed, 188 insertions(+) diff --git a/dev-ruby/commonmarker/Manifest b/dev-ruby/commonmarker/Manifest index fe8c96dc5e99..92079ff29d5e 100644 --- a/dev-ruby/commonmarker/Manifest +++ b/dev-ruby/commonmarker/Manifest @@ -29,8 +29,10 @@ DIST commonmarker-0.23.10.tar.gz 172611 BLAKE2B df583a7e9f588cc726b985c90e03f747 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 commonmarker-2.3.1.tar.gz 107898 BLAKE2B e343b6d1be4051a6a34433610db3bf313811c0b8bb7faa3f673ebc518906cb8107d1e9316778683c850110502c1e1be60e3d0567e5ea567dbdedb490c7c49b82 SHA512 ca1332ca5714086b751d85fe8036899586cd1b5d1c9edd124129d7bb8cfb6b849078f1bef9f30b573b6d611c02440a6a56c0c942b721ed3e0590de414afc5bb1 DIST comrak-0.35.0.crate 166249 BLAKE2B 1950f11f074f9efe6f4773aaf6e72eeb25f3d32cba3b9f04f953963778377d54f061efa3c37d5005d3e835019f5c4474cd3fe87e3628797622c286cbc46b92b3 SHA512 5f69295329c9fd1f0a1774fc3702e707d3fe4a0722705b3753ca6e2916629e7fa2c1d5b4ef32d57c44671736e260cdd2c6f6b824fb356d5203c233094439db03 DIST comrak-0.38.0.crate 178477 BLAKE2B 9e84d6436d4030af50203228d181486ffe5fe540b16caf3c27a92832276b20fa670a565a617e253e3aa090a78cba5a9ef15759f86364a78fe7b527d84676c64e SHA512 31a5bb0a3f0d2adf83ea720c3fcd8f939bd36cfb7991c498a410e6a4eb436650d0a595760d9ebd4610addd8b8bdc412069764177422c5f7d49602ebe905262b3 +DIST comrak-0.39.1.crate 178985 BLAKE2B 1ab3496b20b1ab8fd7a6a462ffb9484620c69bd48c9d2fbd58812530662b50c4ba78cf11faaf5f4a71034e5681381e84e81d0bd852d2c9cbe29a05ac93bb58f1 SHA512 495227cdb48aa1dc83c0331fd32e7a90902dfa77993233c717b0cab11f039c4176a2cd523dc2508ddf5bffe0e5f920dab2cf76373d74252dcd3f3c102d57c4af 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 @@ -80,7 +82,9 @@ DIST proc-macro2-1.0.92.crate 52353 BLAKE2B 9aa29fa6f1c56c0392a94a81b4c61953f4d1 DIST quick-xml-0.32.0.crate 184149 BLAKE2B 35a28dda8dab04a933c4e5d40f22dec6f9c5bc75e9319bf2711daad869301a90aceea9aeccdce5763d5fb513548b7c1f030b6216ca1454e8f56bd6e5a5fb6ba7 SHA512 288232de1583d8c7387716900be1fc513b2161123182e4812bde9851f4bd31c1a67417afdc16e8a55c028747d0a1147d2dbae6f0e8885e946829a379563507d2 DIST quote-1.0.38.crate 31252 BLAKE2B a3836efbe5c21dec70c684002b47b8fc7cef643c82ee903b537a48bc0707a28106c4b33d98e60ff81e04c7520f7404b1dc4d49446e8d91dded517e476c36e1c2 SHA512 530c47c5e6372b508bf5b2b88a138408a7afa5ef52c47280ed20eccf39f8e97dfc1e0a18c1bd5472efcdc49a7a1e69566333a0a1b4c0b4f0e11e6a7a85bfe8af DIST rb-sys-0.9.111.crate 23832 BLAKE2B 65c34cdd9c5216e0c35297c4248f85eb41bb268fe3ae8e1ac0842c97f227b6c195ac141948559d5a9472f9b34190e862bef0b1dd2b79ce90a8e275e11760dba0 SHA512 ba4816e4f6c32d333d52a7c7c147dba98e942d3e664763d16c61c594c50c777ff22b84a1e46f972b04173cc88fe6d3742b96ee245c1f6c1c4d9f096a9f77304f +DIST rb-sys-0.9.114.crate 28493 BLAKE2B eac8bc76ba81a178c0305d9dbd7a229a1caf1c4f7c158688133d9c02d91bf9c3746ee99ef4cba999f15f8f3ad23fcae279ac9d70afb93584a93fc5e4338c5bca SHA512 9c49de28f0180278b134aab04fcbbb3655647aef1e89d355c917194f5d14d0f94b3fcd82ac24304676e5c98c7d2130a35783f2896b14d5ea7aa5ffd439ae1556 DIST rb-sys-build-0.9.111.crate 21650 BLAKE2B 47d70d4eec3202bc044930d864cdd9e32e7f93e34949e126fc81d9ba649bbed9030e5ea4e3f6f74e2a0122fd9a1f521576887299de9474c351e32f22cf7ab581 SHA512 de8ee1b83cc2994a8ca2e2a46e04fa8278ae7dcdc4e890ee4ca0f3e89d9a640772fb3ab81febe548b7700513f7d5271883e61101b3ee8e9e01d1b569ccc62263 +DIST rb-sys-build-0.9.114.crate 24283 BLAKE2B 91470fb82f29ac7b74bb2926e968c923c64249fa3dc22ae3ef50d192cf4e5ce986b00b57c4748ad55fe2d4d709850ad7bb6e7bb0b25e3e622a82f272660842c7 SHA512 3409a8bebd553e440bb0240c126e6980ea5b4995320b7a0061c9b5613d9e54cff7173f2c70565acb75000d6946078868cf20af4087d49c24fa6b4892e98a84c2 DIST rb-sys-env-0.1.2.crate 9203 BLAKE2B 3ff6f7b3c0a0c9e5c2d58480791d69de549a7af32fc7ed1d93c6ea23468bbda2a5479837221291d6eaec12544b9c0ac9fc43d39500bd8a7e7d7fc593c1cd9c68 SHA512 119d7a5095d94a17ee68e074dae7831426f2b318a1dfcbfc051b880ea92614f8822f38fdd11a38d6588faab3ecba6ed206077ab48463307cb31c18d07ccb50b9 DIST rctree-0.6.0.crate 8312 BLAKE2B d68986bf6bb767d61f7c02ff91c219f67f06a982d05917ab08e6da8a730122919dd472c60d03c5252d87ea25b1478b15b35a1577a38b6a56f828749bc49901de SHA512 b27b88aafce7227cf2097db425c84049abef380f1fb896f3161409c3e29830677284e36aed171d7789585bd4a2d6d26d1b1e4be10d9fbb9131757261f589c3a2 DIST regex-1.11.1.crate 254170 BLAKE2B 5cf41012fc2ba8a006c0eb4a922cbbf1614bf300be361c9e2d98956a9a5e9b140e37bea09132fab7bfb633d4439158723624bcf45e8c619c4061b399253c1b82 SHA512 d065f6dc405771518260425f39a5eaaf8cab62e78c91ceed3b3994a9a121674d2484cadaaf816bdad89c87a40550d57b66a3d9de6618a7119a658301ce7e67d8 diff --git a/dev-ruby/commonmarker/commonmarker-2.3.1.ebuild b/dev-ruby/commonmarker/commonmarker-2.3.1.ebuild new file mode 100644 index 000000000000..f119b9daa198 --- /dev/null +++ b/dev-ruby/commonmarker/commonmarker-2.3.1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] +" +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-cflags -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 +}
