From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sprockets/
Date: Sun, 4 Oct 2015 08:25:21 +0000 (UTC) [thread overview]
Message-ID: <1443947118.aa16891d0b3ed14da97021d6555cbf7824dab338.graaff@gentoo> (raw)
commit: aa16891d0b3ed14da97021d6555cbf7824dab338
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 4 08:25:05 2015 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Oct 4 08:25:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa16891d
dev-ruby/sprockets: fix tests when tilt:2 is installed
Fix tests when tilt:2 is also installed. That version
will get picked up by default and cause errors due to
incompatible changes.
Package-Manager: portage-2.2.20.1
dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild b/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild
index 7be0d99..30d14ef 100644
--- a/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild
+++ b/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild
@@ -25,10 +25,10 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-m
IUSE=""
ruby_add_rdepend "
- =dev-ruby/hike-1* >=dev-ruby/hike-1.2
+ =dev-ruby/hike-1*:0 >=dev-ruby/hike-1.2:0
=dev-ruby/multi_json-1*
- =dev-ruby/rack-1*
- =dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1
+ =dev-ruby/rack-1*:*
+ =dev-ruby/tilt-1*:0 >=dev-ruby/tilt-1.3.1:0
!!<dev-ruby/sprockets-2.2.2-r1:2.2"
ruby_add_bdepend "test? (
@@ -55,6 +55,9 @@ all_ruby_prepare() {
# Require a newer version of execjs since we do not have this slotted.
sed -i -e '/execjs/ s/1.0/2.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Make sure the correct version of tilt is used when testing
+ sed -i -e '1igem "tilt", "~>1.3"' test/sprockets_test.rb || die
}
each_ruby_prepare() {
@@ -68,5 +71,10 @@ each_ruby_test() {
rm -rf test || die
mv test-new test || die
+ # Make sure we use the correct tilt version.
+ sed -i -e '2i gem "tilt", "~>1.3"' bin/sprockets || die
+
each_fakegem_test
+
+ sed -i -e '/tilt/d' bin/sprockets || die
}
next reply other threads:[~2015-10-04 8:25 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-04 8:25 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-03 7:27 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sprockets/ Hans de Graaff
2024-07-17 5:37 Hans de Graaff
2024-03-30 8:49 Hans de Graaff
2023-09-06 5:34 Hans de Graaff
2023-08-29 14:26 Hans de Graaff
2023-08-25 5:25 Hans de Graaff
2023-07-10 7:36 Hans de Graaff
2023-04-27 7:42 Hans de Graaff
2023-04-07 18:25 Sam James
2023-04-07 11:25 Sam James
2022-12-25 7:29 Hans de Graaff
2022-12-24 15:00 Hans de Graaff
2022-09-25 8:43 Hans de Graaff
2022-07-13 7:48 Hans de Graaff
2022-07-13 7:48 Hans de Graaff
2022-06-25 6:07 Hans de Graaff
2022-06-13 8:06 Yixun Lan
2022-05-15 7:50 Hans de Graaff
2022-03-26 14:30 Hans de Graaff
2021-02-20 10:45 Hans de Graaff
2020-07-25 9:03 Hans de Graaff
2020-07-25 8:53 Hans de Graaff
2020-01-13 6:09 Hans de Graaff
2019-05-05 6:32 Hans de Graaff
2019-05-05 6:32 Hans de Graaff
2018-06-20 4:49 Hans de Graaff
2018-05-14 19:51 Hans de Graaff
2018-02-24 8:50 Hans de Graaff
2018-01-21 19:37 Hans de Graaff
2017-09-16 21:37 Sergei Trofimovich
2017-09-10 16:39 Sergei Trofimovich
2017-07-02 5:43 Hans de Graaff
2017-07-01 13:45 Alexis Ballier
2017-06-02 5:38 Hans de Graaff
2017-05-30 4:30 Hans de Graaff
2017-02-25 8:19 Hans de Graaff
2017-01-02 6:59 Hans de Graaff
2016-10-15 21:46 Manuel Rüger
2016-10-15 21:46 Manuel Rüger
2016-07-18 6:49 Hans de Graaff
2016-07-10 5:33 Hans de Graaff
2016-06-19 5:20 Hans de Graaff
2016-04-09 23:57 Manuel Rüger
2016-04-09 23:57 Manuel Rüger
2016-04-01 19:10 Fabian Groffen
2016-03-15 17:30 Markus Meier
2016-03-07 19:30 Hans de Graaff
2016-03-07 19:30 Hans de Graaff
2016-01-17 8:22 Hans de Graaff
2015-11-27 6:52 Hans de Graaff
2015-10-14 5:13 Hans de Graaff
2015-10-14 5:13 Hans de Graaff
2015-09-26 1:00 Manuel Rüger
2015-09-17 4:53 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443947118.aa16891d0b3ed14da97021d6555cbf7824dab338.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox