diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /dev-ruby/sassc-rails | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-ruby/sassc-rails')
-rw-r--r-- | dev-ruby/sassc-rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sassc-rails/sassc-rails-2.1.2-r2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/sassc-rails/Manifest b/dev-ruby/sassc-rails/Manifest index a0e3c9e78572..0ae6366f4b62 100644 --- a/dev-ruby/sassc-rails/Manifest +++ b/dev-ruby/sassc-rails/Manifest @@ -1,3 +1,4 @@ DIST sassc-rails-2.1.2.gem 33280 BLAKE2B 1ecd048a879ea9ba08390ed81c679a3a4461f3937d1b0ce5ee001810067286f386ea885787984ffa417d2af191f178563e892ea24f1b466b6538c815fadbd9e3 SHA512 d250f22a3f2c4afb56a22f4533194d80b8a301730e5e4b49f9613e489f7158e7bd9c02cff8e1ec8ce727ede25f1c03a2613a664291967b5e97e210f7890d0bc8 EBUILD sassc-rails-2.1.2-r1.ebuild 905 BLAKE2B d9c76d88987efb8361d78628c075d5bc9707c074ed740e5a4d5c482f9f1c87638d502d35c7db882838a7b57c33d41afee821bcafe235e6d4d689f33e8bf45cb9 SHA512 ab8b83fc5c46c2e617c68ddb6d58e51111ef5bb3d7c987f238d0393fb2ceb718cc10d51001489148ec9150299de1dd9d3c334ece5749b3f08e18837046979d98 +EBUILD sassc-rails-2.1.2-r2.ebuild 976 BLAKE2B 8df660ea57383e45e29aa74aa8c9da5110104a333cd3df2baa50edaf2c8ce49f6986434acbcd3bbb942ad964236e4f963d3378e1ccb79207cf29edeb353efe49 SHA512 0c36f727234328d4fa3b10b2953a957b829a73bd9a4e253b136bd346a69ac2b76352cb7c5d197eee53705946be708243d6d3b1aa2b7b71540ee132f13b74e4c0 MISC metadata.xml 343 BLAKE2B 6319dd108c825d78ce2b27bfcc376edcc437b9710eaa62371617ce5bcfdb673e948c81ffe1d48a8b5d85fccaf26b450b063b5366a8f9f5d12a0d6e1798418aad SHA512 2f57cba2c2b633b7794296478ff1a8cff92033fc30169917ee85aa7388bdc267191699307bbaf5096f249f0cf806a20fc763e21346330309693c221489db8f20 diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.2-r2.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r2.ebuild new file mode 100644 index 000000000000..19e25b0708f4 --- /dev/null +++ b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Integrate SassC-Ruby with Rails" +HOMEPAGE="https://github.com/sass/sassc-rails" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/sassc-2.0 + dev-ruby/tilt:* + || ( dev-ruby/railties:5.2 dev-ruby/railties:6.0 dev-ruby/railties:6.1 ) + >=dev-ruby/sprockets-3.0:* + dev-ruby/sprockets-rails:* +" + +ruby_add_bdepend " + test? ( dev-ruby/bundler dev-ruby/mocha )" + +all_ruby_prepare() { + sed -e '/rake/ s/,.*$//' \ + -e '/pry/ s:^:#:' \ + -e "/railties/ s/$/, '<7'/" \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} |