diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-09-08 07:40:36 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-09-08 07:48:19 +0200 |
commit | 63d5c1d344b684ebcb46374b578357ee5bbf61b1 (patch) | |
tree | afa4c8982597f08f058bd180d956493c8abebd85 /dev-ruby/sassc | |
parent | dev-ruby/sawyer: add ruby27 (diff) | |
download | gentoo-63d5c1d344b684ebcb46374b578357ee5bbf61b1.tar.gz gentoo-63d5c1d344b684ebcb46374b578357ee5bbf61b1.tar.bz2 gentoo-63d5c1d344b684ebcb46374b578357ee5bbf61b1.zip |
dev-ruby/sassc: cleanup
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sassc')
-rw-r--r-- | dev-ruby/sassc/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sassc/sassc-2.0.1-r1.ebuild | 56 |
2 files changed, 0 insertions, 57 deletions
diff --git a/dev-ruby/sassc/Manifest b/dev-ruby/sassc/Manifest index 3f31a6490fd0..30aeadcbad3f 100644 --- a/dev-ruby/sassc/Manifest +++ b/dev-ruby/sassc/Manifest @@ -1,2 +1 @@ -DIST sassc-2.0.1.gem 357888 BLAKE2B 670a622edc065abd7124a413bff3e32e524703cd3343ae7ffd1439af075e04d513ee125ddbd9ff81ffd7eadbb2dd935a83dc71334252b681fb478da9aad06181 SHA512 cece2741e316eeb4684a5650627bb2a9f161bfd99a3c93c2bf8b7d40f47ff064ee837831b1f9ad77d9e321bbd9874301762c9f0519b2b42658cbea6fd7240fcd DIST sassc-2.2.1.gem 302080 BLAKE2B 626601d2b22f91f354a4ddf7a68e4463b0a56b0a79e5d2ca122a083101146dac32699e348fd4573ef4ba76a430470ecd39427a8542caec931a8e16b26a23bb70 SHA512 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb diff --git a/dev-ruby/sassc/sassc-2.0.1-r1.ebuild b/dev-ruby/sassc/sassc-2.0.1-r1.ebuild deleted file mode 100644 index 5ed366f5d0cb..000000000000 --- a/dev-ruby/sassc/sassc-2.0.1-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="sassc.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Use libsass with Ruby" -HOMEPAGE="https://github.com/sass/sassc-ruby" -LICENSE="MIT" - -KEYWORDS="~amd64" -SLOT="2" -IUSE="" - -RDEPEND+=">=dev-libs/libsass-3.5.5" - -ruby_add_rdepend " - >=dev-ruby/ffi-1.9.6 - dev-ruby/rake -" - -ruby_add_bdepend "test? ( - dev-ruby/test_construct - dev-ruby/minitest-around -)" - -all_ruby_prepare() { - # Use unbundled libsass - rm -rf ext || die - - sed -i -e '/spec =/,/ffi_lib/ s:^:#:' \ - -e '/ffi_lib/a ffi_lib "/usr/lib64/libsass.so"' \ - lib/sassc/native.rb || die - - # Avoid version-specific test so newer libsass versions can be used. - sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die - - sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die - - sed -e 's/git ls-files -z/find . -print0/' \ - -e '/gem_dir/,/^ end/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_test() { - ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die -} |