From cb1a2fbb61b2523a549ee5ef9126d0bb76e2a74e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 19 Jul 2023 07:17:06 +0200 Subject: dev-ruby/msgpack: add 1.7.2 Signed-off-by: Hans de Graaff --- dev-ruby/msgpack/Manifest | 1 + dev-ruby/msgpack/msgpack-1.7.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 dev-ruby/msgpack/msgpack-1.7.2.ebuild (limited to 'dev-ruby/msgpack') diff --git a/dev-ruby/msgpack/Manifest b/dev-ruby/msgpack/Manifest index 13f8cb5e1e16..1d48369ddda1 100644 --- a/dev-ruby/msgpack/Manifest +++ b/dev-ruby/msgpack/Manifest @@ -1,2 +1,3 @@ DIST msgpack-1.6.1.tar.gz 88601 BLAKE2B 2ddb84afde00240cf446b06d8e7445cfd14fa3dabe67b96035ff09629884523df049d42c4e5250e275648d2bcad0fa56179994c9ea096a1ffc6c86b594968eba SHA512 b8a268a9c357ad5d2fec3fcee3d1a3e818708a51e5035105f245ee0d7cbafc145c6cac5e8bc3bfd12efa967f8ed275e2dfacedb5f3556166ba8e2354260f51ee DIST msgpack-1.7.1.tar.gz 89373 BLAKE2B c8f1a9312e8a3610ecb3d41aa5f375efb0f059af29419f8be8879865e5b67578c6ea5e684ea4828aac4c7f636e613b720cb79e5e092500f72210fb783c457cc5 SHA512 31d9262f4f9b2537e6982aa72b3d7c50d90a95422f8636425448eb160412eb39e34888d584eb5286cf3f69317c0c81c2a2360f6b633f771701603a6cec7849e4 +DIST msgpack-1.7.2.tar.gz 90108 BLAKE2B e5630ed36b9e6574bdd6c823afc15958d3b2a58e0e43738c84595d017274d7fc2761d0b4baac2fc8b5ba5ef0f6e1bf78e8c448ef81aa9841c8b3f875bb67c90e SHA512 c7ecf8031644c87debf6fab7d6b358a80cccefe4c0c795695056e5e82b1138641a5b94ea05b2b6edf20de2621ac59c059dce6a627a254742fbca8f73f0110c10 diff --git a/dev-ruby/msgpack/msgpack-1.7.2.ebuild b/dev-ruby/msgpack/msgpack-1.7.2.ebuild new file mode 100644 index 000000000000..8126b1988a4b --- /dev/null +++ b/dev-ruby/msgpack/msgpack-1.7.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md" +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/msgpack/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/msgpack" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Binary-based efficient data interchange format for ruby binding" +HOMEPAGE="https://msgpack.org/" +SRC_URI="https://github.com/msgpack/msgpack-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86" +IUSE="doc" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Remove jruby-specific specs that are run also for other rubies. + rm -rf spec/jruby || die + + sed -i -e 's/git ls-files -z/find * -print0/' msgpack.gemspec || die +} -- cgit v1.2.3-65-gdbad