mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-ruby/google-protobuf: add 4.28.0, 4.27.4, 4.26.1
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
d8a00c14ed
commit
4208d4ea3f
@ -1,3 +1,6 @@
|
||||
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
|
||||
DIST protobuf-26.1.tar.gz 5957903 BLAKE2B 1a7faab2f56aa0995801a80f73a812c7fc38a00af0bf25bdd5eecf7aec27a86a575ea2fb8484787d19c9ac6e46007c9864e79464f529c446f31af732981feed1 SHA512 0363ac09f92d8e040491425d444c8dca0b9b430e02d2dff6e2b28a0c2b2bea0d33a47f50bc9e2e2d4e8e22b65a02009a20c0066fb89c75df93a7b703dda42ed4
|
||||
DIST protobuf-27.4.tar.gz 9156456 BLAKE2B 004427f4923e523bf77298600bf91a8fe4ca8be4bd6da5b7efcfe9186a032155e525426f83f683e1bed1e799ed1e62d250053386c1463cbd0c062bd05da786d0 SHA512 d076ce7e075096d0dba7ee2314b12e3223c4239c019e25670636a0ef812ddf0ce3f1fd9b9fe8517319db87b14bbdb2653cc4e06023f90032dfedb014457b2863
|
||||
DIST protobuf-28.0.tar.gz 9259114 BLAKE2B 328e09ebffb296d838557ea72a4fc4da8e0ad5f1edfccebcc8ee7c9e0e74d06e5e6dbad741fd89f6a4502c1cb246a973fd60c035ccdbf89700b7baff49e2a65e SHA512 8745f625ac781f3bbefe9494cbf570143d38aecc1521edef7a52ffb403b8be24df2c71f4f2410b5a5b78a0f3e8a38a7d19be2cf916b1b9125349d2da18262cd1
|
||||
|
||||
46
dev-ruby/google-protobuf/google-protobuf-4.26.1.ebuild
Normal file
46
dev-ruby/google-protobuf/google-protobuf-4.26.1.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# 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
|
||||
|
||||
PROTOBUF_PV="$(ver_cut 2-)"
|
||||
|
||||
DESCRIPTION="Protocol Buffers are Google's data interchange format"
|
||||
HOMEPAGE="https://protobuf.dev/"
|
||||
SRC_URI="
|
||||
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_PV}/${PN##google-}-${PROTOBUF_PV}.tar.gz
|
||||
"
|
||||
RUBY_S="protobuf-${PROTOBUF_PV}/ruby"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=dev-libs/protobuf-${PROTOBUF_PV}"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json dev-ruby/test-unit )"
|
||||
|
||||
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
|
||||
}
|
||||
46
dev-ruby/google-protobuf/google-protobuf-4.27.4.ebuild
Normal file
46
dev-ruby/google-protobuf/google-protobuf-4.27.4.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# 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
|
||||
|
||||
PROTOBUF_PV="$(ver_cut 2-)"
|
||||
|
||||
DESCRIPTION="Protocol Buffers are Google's data interchange format"
|
||||
HOMEPAGE="https://protobuf.dev/"
|
||||
SRC_URI="
|
||||
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_PV}/${PN##google-}-${PROTOBUF_PV}.tar.gz
|
||||
"
|
||||
RUBY_S="protobuf-${PROTOBUF_PV}/ruby"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=dev-libs/protobuf-${PROTOBUF_PV}"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json dev-ruby/test-unit )"
|
||||
|
||||
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
|
||||
}
|
||||
46
dev-ruby/google-protobuf/google-protobuf-4.28.0.ebuild
Normal file
46
dev-ruby/google-protobuf/google-protobuf-4.28.0.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# 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
|
||||
|
||||
PROTOBUF_PV="$(ver_cut 2-)"
|
||||
|
||||
DESCRIPTION="Protocol Buffers are Google's data interchange format"
|
||||
HOMEPAGE="https://protobuf.dev/"
|
||||
SRC_URI="
|
||||
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_PV}/${PN##google-}-${PROTOBUF_PV}.tar.gz
|
||||
"
|
||||
RUBY_S="protobuf-${PROTOBUF_PV}/ruby"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-3)"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=dev-libs/protobuf-${PROTOBUF_PV}"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json dev-ruby/test-unit )"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user