summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-03-19 10:22:54 +0100
committerHans de Graaff <graaff@gentoo.org>2022-03-19 13:00:45 +0100
commit21e1fa2165d93e366097d0463410efcc138c90bd (patch)
treefce3ce6befe4b44f3d5c430e9f337e97ca560db6 /dev-ruby
parentdev-ruby/minitest-around: add ruby30; EAPI 8 (diff)
downloadgentoo-21e1fa2165d93e366097d0463410efcc138c90bd.tar.gz
gentoo-21e1fa2165d93e366097d0463410efcc138c90bd.tar.bz2
gentoo-21e1fa2165d93e366097d0463410efcc138c90bd.zip
dev-ruby/sassc: cleanup
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sassc/sassc-2.4.0.ebuild48
1 files changed, 0 insertions, 48 deletions
diff --git a/dev-ruby/sassc/sassc-2.4.0.ebuild b/dev-ruby/sassc/sassc-2.4.0.ebuild
deleted file mode 100644
index 63230af553b1..000000000000
--- a/dev-ruby/sassc/sassc-2.4.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_RECIPE_DOC="none"
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Use libsass with Ruby"
-HOMEPAGE="https://github.com/sass/sassc-ruby"
-LICENSE="MIT"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
-SLOT="2"
-IUSE=""
-
-RDEPEND+=">=dev-libs/libsass-3.6.1"
-
-ruby_add_rdepend "
- >=dev-ruby/ffi-1.9.6
-"
-
-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 '/ffi_lib/ s:__dir__:"'${ESYSROOT}'/usr/'$(get_libdir)'":' \
- 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
-}
-
-each_ruby_test() {
- ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
-}