diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-ruby/google-protobuf | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-ruby/google-protobuf')
-rw-r--r-- | dev-ruby/google-protobuf/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/google-protobuf/google-protobuf-3.25.4.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index 7c6d6fd17270..b32f64d42a9d 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -1,5 +1,7 @@ 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 EBUILD google-protobuf-3.21.12.ebuild 927 BLAKE2B 6472da00083dd1f9ab194a48473de51b202295ede15fc8db5b82e53af1f53e744bfeb203f4b3756fe0db03ce32ab8f9678f76a9a7a465fc53b0d1d925c42cdac SHA512 c770ad2005c3e130c69e40142a98ce6f977381fff08e48c8cdfdeac761d2eadc3561d6f451f1ea4ad356c5559fc412c03d0f1103a296b54e6918abf481d3086d EBUILD google-protobuf-3.24.4.ebuild 927 BLAKE2B 100d2ba008c3cd5e9bca6b3fca4a02c8eea5803ef18a229a280b1ca6eca23a33204db48e65a7d60eb93d94a54a7e06b9b89e6b63ec9b52ed82b8103690ff663b SHA512 ce9bcb736ea4e3ab9c7a827049467ea4df47865c942a465c90d89fb06cab467b706d403388e9e2d36268524067b8b7ca59b050845b8d672b3ef21a743cfaeaa8 +EBUILD google-protobuf-3.25.4.ebuild 959 BLAKE2B bf5a42ef5582872f0d0be2eb2f36bd14c284ff7dcd5d1d74c50b18c5a5c232ed859e865655346c5077874f71f169f2dae173847600bc90bc70c9347a3fb86af0 SHA512 b67ce9c20abed7d30f701bc6009a7837c9b19218164a705192325191041eb13ae26982e2fbd83d6c0414b157f475a8d0bdd8ab6477d7b1b5fd10db063cfa8f01 MISC metadata.xml 334 BLAKE2B a2f0304d085bacbc5a9ef986401f8238b7cfe42f1e10ca84c79f85966f8526f282056d0ef94fec7f77b26977af77784f73005b9692b7521f549f60ae53bbc925 SHA512 dc133600f4f7c55a03d30d545eabfcfaaa1445d6db8b102262f1de9844c52c903c9a6eeeb2008e2fa39f224c4a434a5bee0f74d113e85b6d67577ab276385185 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 +} |