Сравнение google-protobuf-3.21.12 с google-protobuf-3.25.5
| /usr/portage/dev-ruby/google-protobuf/google-protobuf-3.25.5.ebuild 2025-02-03 17:39:32.898667171 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | ||
| 5 | 6 |
USE_RUBY="ruby31 ruby32 ruby33" |
| 6 | 7 | |
| 7 | 8 |
RUBY_FAKEGEM_EXTRADOC="README.md" |
| ... | ... | |
| 13 | 14 | |
| 14 | 15 |
inherit ruby-fakegem |
| 15 | 16 | |
| 17 |
PROTOBUF_PV="$(ver_cut 2-)" |
|
| 18 | ||
| 16 | 19 |
DESCRIPTION="Protocol Buffers are Google's data interchange format" |
| 17 | 20 |
HOMEPAGE="https://protobuf.dev/" |
| 18 |
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz"
|
|
| 19 |
RUBY_S="protobuf-${PV}/ruby"
|
|
| 21 |
SRC_URI=" |
|
| 22 |
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_PV}/${PN##google-}-${PROTOBUF_PV}.tar.gz
|
|
| 23 |
" |
|
| 24 |
RUBY_S="protobuf-${PROTOBUF_PV}/ruby"
|
|
| 20 | 25 | |
| 21 | 26 |
LICENSE="BSD" |
| 22 |
SLOT="3" |
|
| 27 |
SLOT="0/$(ver_cut 1-3)" |
|
| 23 | 28 |
KEYWORDS="~amd64 ~arm64" |
| 24 |
IUSE="" |
|
| 29 |
IUSE="test" |
|
| 30 | ||
| 31 |
DEPEND=">=dev-libs/protobuf-${PROTOBUF_PV}"
|
|
| 25 | 32 | |
| 26 |
DEPEND+=" >=dev-libs/protobuf-3.21.0[protoc(+)]" |
|
| 33 |
ruby_add_bdepend "test? ( dev-ruby/json dev-ruby/test-unit )" |
|
| 27 | 34 | |
| 28 | 35 |
all_ruby_prepare() {
|
| 29 | 36 |
sed -e '/extensiontask/ s:^:#:' \ |
| ... | ... | |
| 36 | 43 | |
| 37 | 44 |
each_ruby_prepare() {
|
| 38 | 45 |
${RUBY} -S rake genproto || die
|
| 46 |
${RUBY} -S rake copy_third_party || die
|
|
| 39 | 47 |
} |