diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-19 12:25:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-19 12:25:21 +0100 |
commit | 1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (patch) | |
tree | 2ccd1e9121906f2bccf218e14e3ca943a2b84bf3 /dev-ruby/unf | |
parent | 16be64511bd21e32a29645b49e37611507709790 (diff) |
gentoo auto-resync : 19:08:2024 - 12:25:21
Diffstat (limited to 'dev-ruby/unf')
-rw-r--r-- | dev-ruby/unf/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/unf/unf-0.2.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/unf/Manifest b/dev-ruby/unf/Manifest index 96150b6282cd..3ae25aec3ec9 100644 --- a/dev-ruby/unf/Manifest +++ b/dev-ruby/unf/Manifest @@ -1,3 +1,5 @@ DIST unf-0.1.4.gem 120320 BLAKE2B ab339ce957a1d3251d14944ccb4f68a9c7271f0f918f20b57c70824ded730fa18abb5078312d9820e7ef056163b5f1340c1cf72974b6c255279dcf572fb3e87a SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b +DIST unf-0.2.0.tar.gz 119457 BLAKE2B 46292339673e45119d3616629f7c36a5958b20a2cf6347e3073b169a7cf29a4837fe1093ca0c9f62fad1dd5ac62b1c6d51234d0d48cb1d602be439ca0726e671 SHA512 8c54de3f0f794ff8d8f5797cb32feca6e18cd521f4aca5c3534f524bf258f15fd8ef3bf9a6e74abe3b1556141ed076219941dc94f5dee66c5f22a77cc822b060 EBUILD unf-0.1.4-r1.ebuild 1173 BLAKE2B 856a84009779b0b5b64f5a78b62e21bedd335a5bb3461fd31a2ff069963b4ae7a9841355b4a8dc1c46ec8aa30d3bc8973645c0f39e89c53d8e177f57177c4769 SHA512 047106d935bc0a0c8d30779ac6fe79293b3bf009eb1f0b873f805f549d8c9838e5a76f1d190a4681bde375364d3f9739a1d2e9f2997ff2bda1ea1e6d4f966bd3 +EBUILD unf-0.2.0.ebuild 1288 BLAKE2B 5222eb1f9e37eb3483f2bdc0dad44d06e4392b7f3cd41c481508da7b8cf4259fc8f2d335eb793f73e4f54f3273cfe6017afea520c174d9fe71392abef79bc3c6 SHA512 b11fbbf43581e0e2659d7705a1a4260341be579c38cef73a8446486ae690f31f08c9eeced43353cc205732950b236aa0317d786a7212c4c72545d82d4e816e8b MISC metadata.xml 339 BLAKE2B 453389f654780d3181aabe6239d3fbfb25272b4a1cf8719614f84159bc50aff48f45d40a5b7f77ee94ab13d9c59fa87466add2f60ad31c9978d99e3e114ef0fa SHA512 68c573840acc02e64460bbf329fe532c88a0d4f501fc9f5ebb15f0eea6c5938b5a05aa50b98c3da47f4987416d6e79be9557992f42958f36276a265a56a9e46a diff --git a/dev-ruby/unf/unf-0.2.0.ebuild b/dev-ruby/unf/unf-0.2.0.ebuild new file mode 100644 index 000000000000..388f26a0ef93 --- /dev/null +++ b/dev-ruby/unf/unf-0.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby" +HOMEPAGE="https://github.com/knu/ruby-unf" +SRC_URI="https://github.com/knu/ruby-unf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-${P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="test" + +ruby_add_rdepend "dev-ruby/unf_ext" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + dev-ruby/unf_ext + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d' test/helper.rb || die + + # Remove development dependencies; also remove platform as we don't + # care about it as it is, they only use it to avoid the unf_ext dep + # that we tackle on our own; finally remove git ls-files usage. + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \ + -e '/platform/d' \ + -e '/git ls/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |