summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-01-28 11:01:28 +0000
committerHans de Graaff <graaff@gentoo.org>2012-01-28 11:01:28 +0000
commit98be05e8108053e455f83a8c99065b1336f21183 (patch)
tree26a50c6b0fd3f767818a42bdbeaf3a9c909d594a /dev-ruby/sprockets
parentStable for amd64, wrt bug #401085 (diff)
downloadhistorical-98be05e8108053e455f83a8c99065b1336f21183.tar.gz
historical-98be05e8108053e455f83a8c99065b1336f21183.tar.bz2
historical-98be05e8108053e455f83a8c99065b1336f21183.zip
Version bump for Rails 3.2. Add partial test coverage now that some dependencies are available.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/sprockets')
-rw-r--r--dev-ruby/sprockets/ChangeLog10
-rw-r--r--dev-ruby/sprockets/Manifest14
-rw-r--r--dev-ruby/sprockets/sprockets-2.1.2.ebuild47
3 files changed, 63 insertions, 8 deletions
diff --git a/dev-ruby/sprockets/ChangeLog b/dev-ruby/sprockets/ChangeLog
index 14a33df7bdbc..ee8b8d5bebf7 100644
--- a/dev-ruby/sprockets/ChangeLog
+++ b/dev-ruby/sprockets/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/sprockets
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.3 2011/12/31 19:48:25 grobian Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.4 2012/01/28 11:01:28 graaff Exp $
+
+*sprockets-2.1.2 (28 Jan 2012)
+
+ 28 Jan 2012; Hans de Graaff <graaff@gentoo.org> +sprockets-2.1.2.ebuild:
+ Version bump for Rails 3.2. Add partial test coverage now that some
+ dependencies are available.
31 Dec 2011; Fabian Groffen <grobian@gentoo.org> sprockets-2.0.3-r1.ebuild:
Add Prefix keywords, bug #396547
diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index 9fc14287113e..0d77995b8fe8 100644
--- a/dev-ruby/sprockets/Manifest
+++ b/dev-ruby/sprockets/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST sprockets-2.0.3.tgz 135013 RMD160 02e5186ee5f3a93a8e2a735556914cffcb8a8073 SHA1 712a22cafc6757f8d8a7a37cbce4ee407ab8673a SHA256 9a76d91e93c96449ad269b729b1435ffd575dce2dbb1c0c6c299d22035bab40f
+DIST sprockets-2.1.2.tgz 135889 RMD160 2c1bf782d9e588fab0d7720e33ccafb090090a58 SHA1 fe9c0b7d41e7c7f80da852a9a6eb539d9a4aa128 SHA256 0ae4d718e8fc0b9d1a30573069b1f85b3cbdf5a24e838e347a54497fbf8a012b
EBUILD sprockets-2.0.3-r1.ebuild 1310 RMD160 cf9cbe89bbd61b305cf13657170463da3e7b8973 SHA1 7a074ba431318f0c430cfbf5c1258d95db7dac28 SHA256 159fc45b3e34541a4d83b2d1502b39af2bb8e9b56bb65099dc58861e1ab49b90
-MISC ChangeLog 682 RMD160 87e165094b72ca4cfed280937e68fec05069ac81 SHA1 826680ee4b66d1d8c5838b9ee36fd87d6789694a SHA256 ed5897d0c8608e162ea82a4790b84f781a13fa6ce80d7d24fa4df1fa8e84f527
+EBUILD sprockets-2.1.2.ebuild 1480 RMD160 24dabec6945cbb1dfad4c43dfb61c54ce2bf8ed9 SHA1 b16b06aa3a40a9238b8dfaa1b9d74f45282fd1ac SHA256 008176c6a966ed2d4a4565d2bec9c98923693fbd98a1d043ec15bb5fd6bbdfea
+MISC ChangeLog 889 RMD160 7144c220cd55ce29a3d4131e3e76392fda64ac80 SHA1 f79ca7be567ec598e02f5d6c14c5ea9ffa16f0ce SHA256 5ced53f8b375362118e0ed6560869c58ad9916805407fc29044ca4ff544422bd
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (Darwin)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk7/Zw4ACgkQX3X2B8XHTolRAwCeLGYXZliU9rbKr2ocuDVgx5qx
-AIQAn3ELFLbtWNHQ7C0wuGCmCbsyHptW
-=AMHK
+iF4EAREIAAYFAk8j1Y0ACgkQiIP6VqMIqNdm3wEAiYRkXAymYqD3gPgmsOZNp4si
+GVLB/lsRpSxeaEJXRg8A/0PJAOvcMFYKF92NQAbdPke0GO+jMU6MBnDqcBW1NXd/
+=8sDk
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/sprockets/sprockets-2.1.2.ebuild b/dev-ruby/sprockets/sprockets-2.1.2.ebuild
new file mode 100644
index 000000000000..a76b8f280846
--- /dev/null
+++ b/dev-ruby/sprockets/sprockets-2.1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.1.2.ebuild,v 1.1 2012/01/28 11:01:28 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Ruby library for compiling and serving web assets."
+HOMEPAGE="https://github.com/sstephenson/sprockets"
+SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="sstephenson-sprockets-*"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE=""
+
+ruby_add_rdepend "
+ =dev-ruby/hike-1* >=dev-ruby/hike-1.2
+ =dev-ruby/rack-1*
+ >=dev-ruby/tilt-1.3.1"
+
+ruby_add_bdepend "test? (
+ dev-ruby/json
+ dev-ruby/rack-test
+ =dev-ruby/coffee-script-2*
+ =dev-ruby/execjs-1*
+ )"
+
+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
+
+ # Avoid failing tests. These no longer fail in upstream HEAD and we
+ # did not run tests before at all so its not a regression.
+ sed -i -e '/function() {}/ s:^:#:' test/test_environment.rb || die
+ rm test/test_asset.rb test/test_server.rb || die
+}