Diff sass-3.7.4-r1 with a sass-3.7.4-r2
/usr/portage/dev-ruby/sass/sass-3.7.4-r2.ebuild 2023-10-09 14:52:30.464368375 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 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="ruby26 ruby27 ruby30 ruby31" |
|
6 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
7 | 7 | |
8 | 8 |
RUBY_FAKEGEM_TASK_DOC="" |
9 | 9 |
RUBY_FAKEGEM_DOCDIR="doc" |
... | ... | |
19 | 19 |
RUBY_S="ruby-sass-${PV}" |
20 | 20 | |
21 | 21 |
LICENSE="MIT" |
22 | ||
23 |
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~amd64-linux" |
|
24 | 22 |
SLOT="$(ver_cut 1-2)" |
25 |
IUSE="" |
|
23 |
KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux" |
|
26 | 24 | |
27 |
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" |
|
25 |
ruby_add_bdepend " |
|
26 |
doc? ( >=dev-ruby/yard-0.5.3 ) |
|
27 |
test? ( dev-ruby/minitest:5.15 ) |
|
28 |
" |
|
28 | 29 | |
29 | 30 |
ruby_add_rdepend " |
30 | 31 |
!!<dev-ruby/sass-3.4.25-r1:3.4 |
31 | 32 |
!!<dev-ruby/sass-3.5.7-r1:3.5 |
32 |
dev-ruby/sass-listen:4" |
|
33 |
dev-ruby/listen |
|
34 |
" |
|
35 | ||
36 |
PATCHES=( |
|
37 |
"${FILESDIR}"/${PN}-3.7.4-use-listen-not-sass-listen.patch |
|
38 |
) |
|
33 | 39 | |
34 | 40 |
# tests could use `less` if we had it |
35 | 41 | |
36 | 42 |
all_ruby_prepare() { |
43 |
# Match activesupport which gets dragged in |
|
44 |
sed -i -e '/minitest.*>= 5/s:.*:&, "< 5.16":' ${PN}.gemspec || die |
|
45 |
sed -i -e '/minitest/s:6.0:5.16:' Gemfile || die |
|
46 |
sed -i -e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" test/test_helper.rb || die |
|
47 | ||
48 |
# We use dev-ruby/listen now instead of dev-ruby/sass-listen |
|
49 |
sed -i \ |
|
50 |
-e "/sass-listen/s:, '~> 4.0.0'::" \ |
|
51 |
-e "s:sass-listen:listen:" \ |
|
52 |
${PN}.gemspec || die |
|
53 | ||
37 | 54 |
# Don't require maruku as markdown provider but let yard decide. |
38 | 55 |
sed -i -e '/maruku/d' .yardopts || die |
39 | 56 |