public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/google-protobuf/
Date: Sun, 28 Jul 2024 06:52:26 +0000 (UTC)	[thread overview]
Message-ID: <1722149538.3f4d1e977fbc08beeb653e5444542e4a81b8aeaa.graaff@gentoo> (raw)

commit:     3f4d1e977fbc08beeb653e5444542e4a81b8aeaa
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 06:27:27 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 06:52:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f4d1e97

dev-ruby/google-protobuf: add 3.25.4

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/google-protobuf/Manifest                  |  1 +
 .../google-protobuf/google-protobuf-3.25.4.ebuild  | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest
index d9db4ae1c0eb..f8340b20971a 100644
--- a/dev-ruby/google-protobuf/Manifest
+++ b/dev-ruby/google-protobuf/Manifest
@@ -1,2 +1,3 @@
 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
+DIST google-protobuf-3.25.4-ruby.tar.gz 5879814 BLAKE2B 529c28b0568b5dee97b12102e2f960606e3cb65c7d5f53bcfbd4c22b93b30d3d9e1465c2ec537d480b756f74fc1cf3c7ad6e3cd3bdb2955010583d7666224816 SHA512 ff85dedd2e381fc18471c71bb2f0854210dfc65d53ad8105afd57b77cab7d47bad7569cb64547c85d9d7464697b67049acf6c0906757a01fb0519346eaa6ed72

diff --git a/dev-ruby/google-protobuf/google-protobuf-3.25.4.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.25.4.ebuild
new file mode 100644
index 000000000000..e940d72afe23
--- /dev/null
+++ b/dev-ruby/google-protobuf/google-protobuf-3.25.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"
+
+DEPEND=" >=dev-libs/protobuf-3.25.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
+	${RUBY} -S rake copy_third_party || die
+}


             reply	other threads:[~2024-07-28  6:52 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-28  6:52 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05  2:12 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/google-protobuf/ Sam James
2024-08-31  9:14 Hans de Graaff
2024-08-21  9:19 Joonas Niilola
2024-01-31 12:54 Joonas Niilola
2023-12-27 20:00 Hans de Graaff
2023-08-27 18:56 Arthur Zamarin
2023-07-18 10:09 Hans de Graaff
2023-06-30  9:27 Hans de Graaff
2023-06-29 15:16 Hans de Graaff
2023-04-13  3:03 Sam James
2023-04-13  3:03 Sam James
2022-11-08  6:12 Hans de Graaff
2022-04-10  4:56 Hans de Graaff
2021-10-31  5:57 Hans de Graaff
2021-03-13  7:08 Hans de Graaff
2021-03-13  7:08 Hans de Graaff
2021-01-10  7:51 Hans de Graaff
2021-01-10  7:51 Hans de Graaff
2020-09-15  6:00 Hans de Graaff
2020-09-15  6:00 Hans de Graaff
2020-05-16  5:46 Hans de Graaff
2020-05-16  4:41 Hans de Graaff
2020-02-15  7:45 Hans de Graaff
2020-02-04  6:29 Hans de Graaff
2020-02-04  6:29 Hans de Graaff
2019-12-14  6:45 Hans de Graaff
2019-12-04  6:05 Hans de Graaff
2019-11-26 19:38 Hans de Graaff
2019-11-16  9:13 Hans de Graaff
2019-10-31  6:49 Hans de Graaff
2019-10-03  6:07 Hans de Graaff
2019-10-03  6:07 Hans de Graaff
2019-09-25  6:11 Hans de Graaff
2019-08-07  5:11 Hans de Graaff
2019-07-14  6:32 Hans de Graaff
2019-06-02  6:01 Hans de Graaff
2018-10-21  8:58 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722149538.3f4d1e977fbc08beeb653e5444542e4a81b8aeaa.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox