Сравнение ruby-glib2-3.3.2-r1 с ruby-glib2-4.1.2
/usr/portage/dev-ruby/ruby-glib2/ruby-glib2-4.1.2.ebuild 2023-10-09 14:52:30.460368375 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=6 |
|
5 |
USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
|
4 |
EAPI=7 |
|
5 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 | 6 | |
7 | 7 |
inherit ruby-ng-gnome2 |
8 | 8 | |
9 | 9 |
DESCRIPTION="Ruby Glib2 bindings" |
10 |
KEYWORDS="amd64 ~ppc ~ppc64 x86" |
|
10 |
KEYWORDS="amd64 ~ppc ~ppc64 ~riscv x86" |
|
11 | 11 |
IUSE="" |
12 | 12 |
RDEPEND+=" >=dev-libs/glib-2" |
13 | 13 |
DEPEND+=" >=dev-libs/glib-2" |
14 | 14 | |
15 |
PATCHES=( ${FILESDIR}/support-glib-2.26.0.patch ) |
|
16 | ||
17 |
ruby_add_bdepend "dev-ruby/pkg-config |
|
18 |
test? ( >=dev-ruby/test-unit-2 )" |
|
19 | ||
20 | 15 |
all_ruby_prepare() { |
21 |
# Skip spawn tests since our sandbox also provides items in the environment and this makes the test fragile. |
|
22 |
rm -f test/test-spawn.rb || die |
|
23 | ||
24 |
# Remove pregenerated Makefile since it will otherwise be shared by all targets. |
|
25 |
rm -f Makefile Makefile.lib ext/glib2/Makefile || die |
|
26 | ||
27 |
# Avoid native installer |
|
28 |
sed -i -e '/native-package-installer/ s:^:#:' lib/mkmf-gnome2.rb || die |
|
29 |
} |
|
16 |
ruby-ng-gnome2_all_ruby_prepare |
|
30 | 17 | |
31 |
each_ruby_test() { |
|
32 |
${RUBY} test/run-test.rb || die |
|
18 |
# Skip spawn tests since our sandbox also provides items in the |
|
19 |
# environment and this makes the test fragile. |
|
20 |
rm -v test/test-spawn.rb || die |
|
33 | 21 |
} |