From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F12F515838C for ; Wed, 31 Jan 2024 12:54:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 452122BC01D; Wed, 31 Jan 2024 12:54:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5B712BC03A for ; Wed, 31 Jan 2024 12:54:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97FB13430C8 for ; Wed, 31 Jan 2024 12:54:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08A2CAE3 for ; Wed, 31 Jan 2024 12:54:27 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1706705663.71c65667ab778770a1d7f7834799f93f809b421a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/google-protobuf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/google-protobuf/Manifest dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild X-VCS-Directories: dev-ruby/google-protobuf/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 71c65667ab778770a1d7f7834799f93f809b421a X-VCS-Branch: master Date: Wed, 31 Jan 2024 12:54:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5db2ebd4-d7ca-488f-b390-aa0005acdf1e X-Archives-Hash: 7dab9afaa51cd58c4b3f99b0e6eddf5e commit: 71c65667ab778770a1d7f7834799f93f809b421a Author: Guillaume Seren gmail com> AuthorDate: Wed Nov 29 22:24:32 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jan 31 12:54:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71c65667 dev-ruby/google-protobuf: Bump version 3.24.4 Signed-off-by: Guillaume Seren gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-ruby/google-protobuf/Manifest | 1 + .../google-protobuf/google-protobuf-3.24.4.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index e7ee59a24f5d..d9db4ae1c0eb 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -1 +1,2 @@ DIST google-protobuf-3.21.12-ruby.tar.gz 5141502 BLAKE2B 2e57a401b6fc86dff2af54e3d1a32db87f6c54fed46e557964c01c2d87f333ca94dafbe2d7d9cf279ac67d53219ae0154c5a1ea5cb90cdcf72d3576cefc44653 SHA512 152f8441c325e808b942153c15e82fdb533d5273b50c25c28916ec568ada880f79242bb61ee332ac5fb0d20f21239ed6f8de02ef6256cc574b1fc354d002c6b0 +DIST google-protobuf-3.24.4-ruby.tar.gz 5179247 BLAKE2B f3b53769f31a0fc9151e90b133c836127e745f9f0c591b0d4e476ab50a6b7ca21562169bdedcd6637961131ef39484d2c945dd83d01a3839cca7f0555144d3a8 SHA512 19b8aa89647fa14b4716cfeed289233bed65be2417d9f7e2b1082975a4753e5a1f091eb36ad7cff159d125b01bfe005e2911ebda896f15cba58299e340487518 diff --git a/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild new file mode 100644 index 000000000000..e259959da05c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild @@ -0,0 +1,39 @@ +# 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_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/google/protobuf_c/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/google + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://protobuf.dev/" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +DEPEND+=" >=dev-libs/protobuf-3.21.0" + +all_ruby_prepare() { + sed -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^ end/ s:^:#:' \ + -e 's:../src/protoc:protoc:' \ + -e 's/:compile,//' \ + -e '/:test/ s/:build,//' \ + -i Rakefile || die +} + +each_ruby_prepare() { + ${RUBY} -S rake genproto || die +}