summaryrefslogtreecommitdiff
path: root/dev-ruby/sprockets
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-13 13:36:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-13 13:36:46 +0100
commit7b02e37a04e4051a91a109814d386711f41f9a4b (patch)
treed0689f14f1d1df3a6a2525512a6812b146064a9e /dev-ruby/sprockets
parent5c0c70d5917e66743293789a6d6fd7d72250eb32 (diff)
gentoo auto-resync : 13:07:2022 - 13:36:46
Diffstat (limited to 'dev-ruby/sprockets')
-rw-r--r--dev-ruby/sprockets/Manifest4
-rw-r--r--dev-ruby/sprockets/sprockets-3.7.2.ebuild59
-rw-r--r--dev-ruby/sprockets/sprockets-4.1.1.ebuild (renamed from dev-ruby/sprockets/sprockets-3.7.2-r1.ebuild)30
3 files changed, 20 insertions, 73 deletions
diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index 2101a2e9cfd1..0e70a104e1ae 100644
--- a/dev-ruby/sprockets/Manifest
+++ b/dev-ruby/sprockets/Manifest
@@ -3,9 +3,9 @@ AUX sprockets-3.7.2-kwargs.patch 829 BLAKE2B 406a79b455e18464e4f8e1028785f0c4d39
DIST sprockets-3.7.2-git.tgz 369053 BLAKE2B 3c40de921d82b2f5c71e3ecaa114576293946352415da1195e60cdda6363066a6be05474eb7842ab1122e29fa6c19fd2f7a38fb0a7cf9972de0640eeb29d03f0 SHA512 bc7d79ba696a072644852b7a3a73ce086d297662309deb1d00318ad453f50ac6e494e6489632cb282795de2f334700155cfd21cc80be638dc471a3215422591f
DIST sprockets-4.0.2-git.tgz 418502 BLAKE2B 0ae8d0e47708967a4208af852f21baf9d00c4216660b081170d7f68631ee1129fb78341e6012664fc519a0f330fac23203e314c1831d7031af50844e6b91c1f0 SHA512 f733b96c78be6466b63999aa7dc900af653a5b35f6482d84c41edf47f22b093231003f8874eee2ab31e2a2cfb7049a8109a314b51a0ef36ba30d5f6e8bd81f66
DIST sprockets-4.1.0-git.tgz 421796 BLAKE2B 8544f8299a5abe8ef89a47d7849fd54f5a04eb623cacc316c2c4656b291c55879f1519d2f3628921af1eee64e67451a15d50d68d1dd93e84a95a833e76994667 SHA512 af964e614f414886cd737888119449b6d2829a41965ba7ab82806e3887ec6eadacc947a19e34568c5f418da7cf47175bd0cb0f4f402bd6e2db41f684ed0cc8e4
-EBUILD sprockets-3.7.2-r1.ebuild 1682 BLAKE2B 7a7a1851e0b5c7de0c211592bc80bdfff9045fdca7608f268ed682f8653f4b0fcf88ef757d38f7a9ea10e7f2956abe64abf6bb705b1705155fd6a57e9c68f6b3 SHA512 fc014d59ab8d05ec967a562ae35d75a2e37d8f85b45d2c0053c08682608161830318ebf62a892f4359b81bb8618cd77459626adc3a441aa6d45b681cb85fa9bc
+DIST sprockets-4.1.1-git.tgz 421833 BLAKE2B 9e3280c9746245c9f40137e020f1f96d6337e3354efe285f68e94f5dd2aaf158f7e1ec174c610f244386fc554b52d07636492979e2adfee19433cbb1c8cdb330 SHA512 128c96861020d6c30699da584ff8d7bb06eabfc59a520471b2fcdaa06200c6d975a7b267686bb26833ccce0ff581e9be7fa261ff71cc532fb4cb1a84036563a1
EBUILD sprockets-3.7.2-r2.ebuild 1736 BLAKE2B 12f784b4877082a54e1f52dc43e4e152b3052dfe1f623c2d1bd2b00d73952878222680112aa61e0030f030ed7a31c1ad84165b17e633293a400a35942ccd647a SHA512 bcad6e5fe0a4d5b4e7ac62ecb4e237432303e1d4cf1885ddeaac9fc05caf994853b9c3e49e0e4409dff74bf8487dec3f048fb62f359a9d6f516e4296e3c4ba48
-EBUILD sprockets-3.7.2.ebuild 1664 BLAKE2B 8281c517276e6e2535700784ffce12701b799fe2870b429fbba995155272da13bd97e310487c57636c036601694ddb2c731f95bdd2cc60ce548264593d2650a1 SHA512 e7abb4c060749720a0e1c6052118a2433d564aff59a9dc36c0ec5f61d3dad784186a08921f1637998150e5b4af9396a9d74c868ec42949deee952ae8dd5d3d45
EBUILD sprockets-4.0.2.ebuild 2073 BLAKE2B 83ca1f1c975ec2f0e84dbdd3b988da08f767ae7773989fc0bed64c75c95e9b8f8dd6ac2f32c53da642b50f1c74bd16d2297e7c9e1622cb33d9e70f1eb872d546 SHA512 934e726b1b3711301bdbe0783d87239965270371b0f80fa910b7483fac24829faf98880b1ef1e205371127e7e629495240f243cba2ee77774cec364063ed5f1f
EBUILD sprockets-4.1.0.ebuild 2090 BLAKE2B cc6c680b76936346259b71f6d06478dfb242f49a90156f7e9836e4115f27d3c715676d8d8cb93c937f8d0b4d3b1095b75e2d652acb479205671d45d4c0678d2a SHA512 b1892932bdcfd23820bf43bcb269684f89c906fb17883baf27ae4178f8a5d48dbef3abf2685328b3ef156c0613daf30867279dc2c1a068f73e3066b70d87110b
+EBUILD sprockets-4.1.1.ebuild 2090 BLAKE2B cc6c680b76936346259b71f6d06478dfb242f49a90156f7e9836e4115f27d3c715676d8d8cb93c937f8d0b4d3b1095b75e2d652acb479205671d45d4c0678d2a SHA512 b1892932bdcfd23820bf43bcb269684f89c906fb17883baf27ae4178f8a5d48dbef3abf2685328b3ef156c0613daf30867279dc2c1a068f73e3066b70d87110b
MISC metadata.xml 342 BLAKE2B 227ac77350fe458144d05c09bef5156a9f7c06154b8aba9902f1611b7f3e22b5409231cfb0a44af0d6f5d87138a0d71eb230d8827773830b508d91848f5a8cb0 SHA512 ee0cc0cfbfed5e9e61386b885714cf26a3ca1e2e94b820859ea1b08f82fe3ab5bf13c5a4764dd2b4ca48d668f22e493d76a39cb48a8d3c784b55b78cbfc02ec3
diff --git a/dev-ruby/sprockets/sprockets-3.7.2.ebuild b/dev-ruby/sprockets/sprockets-3.7.2.ebuild
deleted file mode 100644
index 842fe75b2a81..000000000000
--- a/dev-ruby/sprockets/sprockets-3.7.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
-
-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 ~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:*"
-
-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
-}
diff --git a/dev-ruby/sprockets/sprockets-3.7.2-r1.ebuild b/dev-ruby/sprockets/sprockets-4.1.1.ebuild
index 0b2f62510c15..8af84e6a868d 100644
--- a/dev-ruby/sprockets/sprockets-3.7.2-r1.ebuild
+++ b/dev-ruby/sprockets/sprockets-4.1.1.ebuild
@@ -1,31 +1,29 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-USE_RUBY="ruby25 ruby26 ruby27"
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
-RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
-RUBY_FAKEGEM_BINWRAP=""
-
-inherit ruby-fakegem versionator
+inherit ruby-fakegem
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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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/rack-1:* <dev-ruby/rack-3:*
+ !<dev-ruby/sprockets-3.7.2-r1:3"
ruby_add_bdepend "test? (
dev-ruby/json
@@ -33,6 +31,7 @@ ruby_add_bdepend "test? (
=dev-ruby/coffee-script-2*
=dev-ruby/execjs-2*
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
+ dev-ruby/sassc
dev-ruby/uglifier
)"
@@ -41,8 +40,15 @@ all_ruby_prepare() {
# 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 '/.ejs/ s:^:#:' -e '/\(es6_asset.js\|traceur.es6\)/ s:^:#:' test/test_asset.rb || die
+ sed -i -e '/compile babel source map/askip' test/test_source_maps.rb || die
+ sed -e '/change jst template namespace/askip' \
+ -e '/find_asset. does not raise an exception/askip' \
+ -e '/es6 asset/askip' \
+ -i test/test_environment.rb || die
+ rm -f test/test_require.rb test/test_{babel,closure,eco,ejs,jsminc,yui}_{compressor,processor}.rb || die
+ # Fails only within Gentoo test environment, not clear why
+ sed -i -e '/extension exporters/a skip' test/test_exporting.rb || die
sed -i -e "/bundler/d" Rakefile || die
}