public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Wed, 20 Jun 2018 04:49:44 +0000 (UTC)	[thread overview]
Message-ID: <1529470117.fabf3399353f8cef212d438660a5c17fc19801d0.graaff@gentoo> (raw)

commit:     fabf3399353f8cef212d438660a5c17fc19801d0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 04:48:37 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 04:48:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabf3399

dev-ruby/sprockets: add 3.7.2

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/sprockets/Manifest               |  1 +
 dev-ruby/sprockets/sprockets-3.7.2.ebuild | 60 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index ecd5a134402..a48c6a2bce1 100644
--- a/dev-ruby/sprockets/Manifest
+++ b/dev-ruby/sprockets/Manifest
@@ -1 +1,2 @@
 DIST sprockets-3.7.1-git.tgz 368910 BLAKE2B 1411f0ad02da1fe6c3774a3c7fd689b174e18ef72a2a032eccfca2c9b4bb5298312488cd97511572e7785e7eb1b00b6accce90046b2d59b91edc8b38542aa0e1 SHA512 b766070806d62ef10839c12c0e1ba31b3553d014fc45df27fe7dc678d6980b8da3080733b1bcc3d40b1ed9d41550e45da7a365d10fc5de0b1eb88d769169cc3e
+DIST sprockets-3.7.2-git.tgz 369053 BLAKE2B 3c40de921d82b2f5c71e3ecaa114576293946352415da1195e60cdda6363066a6be05474eb7842ab1122e29fa6c19fd2f7a38fb0a7cf9972de0640eeb29d03f0 SHA512 bc7d79ba696a072644852b7a3a73ce086d297662309deb1d00318ad453f50ac6e494e6489632cb282795de2f334700155cfd21cc80be638dc471a3215422591f

diff --git a/dev-ruby/sprockets/sprockets-3.7.2.ebuild b/dev-ruby/sprockets/sprockets-3.7.2.ebuild
new file mode 100644
index 00000000000..a4b1d68a893
--- /dev/null
+++ b/dev-ruby/sprockets/sprockets-3.7.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Ruby library for compiling and serving web assets"
+HOMEPAGE="https://github.com/rails/sprockets"
+SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE=""
+
+ruby_add_rdepend "
+	dev-ruby/concurrent-ruby:1
+	>=dev-ruby/rack-1:* <dev-ruby/rack-3:*
+	!!<dev-ruby/sprockets-2.12.3-r1:2"
+
+ruby_add_bdepend "test? (
+		dev-ruby/json
+		dev-ruby/rack-test
+		=dev-ruby/coffee-script-2*
+		=dev-ruby/execjs-2*
+		=dev-ruby/sass-3* >=dev-ruby/sass-3.1
+		dev-ruby/uglifier
+	)"
+
+all_ruby_prepare() {
+	# Avoid tests for template types that we currently don't package:
+	# eco and ejs.
+	sed -i -e '/eco templates/,/end/ s:^:#:' \
+		-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
+	sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
+	rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
+	sed -i -e "/bundler/d" Rakefile || die
+}
+
+each_ruby_prepare() {
+	sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
+}
+
+each_ruby_test() {
+	# Make sure we have completely separate copies. Hardlinks won't work
+	# for this test suite.
+	cp -R test test-new || die
+	rm -rf test || die
+	mv test-new test || die
+
+	each_fakegem_test
+}


             reply	other threads:[~2018-06-20  4:49 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20  4:49 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-17  5:37 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sprockets/ 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-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-10-04  8:25 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=1529470117.fabf3399353f8cef212d438660a5c17fc19801d0.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