summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-24 20:05:58 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-24 20:05:58 +0100
commitca798f713f4f708aae9ed7d6e2e912f9654fe823 (patch)
tree873fa49f2f2066c4f380f0fa4d12bef5ec88ba9a /dev-ruby/sass
parentsci-biology/allpathslg: Sanitize ebuild (diff)
downloadgentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.tar.gz
gentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.tar.bz2
gentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.zip
dev-ruby/sass: add sass 3.5.4
Fix installation together with older slots. Closes: https://bugs.gentoo.org/636822 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/sass')
-rw-r--r--dev-ruby/sass/Manifest1
-rw-r--r--dev-ruby/sass/sass-3.4.25-r1.ebuild42
-rw-r--r--dev-ruby/sass/sass-3.5.4.ebuild40
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-ruby/sass/Manifest b/dev-ruby/sass/Manifest
index 908a557f711e..db83a1fed599 100644
--- a/dev-ruby/sass/Manifest
+++ b/dev-ruby/sass/Manifest
@@ -2,3 +2,4 @@ DIST sass-3.2.19.gem 261632 BLAKE2B ef71c3a0fb1035c8e61759428a973adcc3732d788d5b
DIST sass-3.4.24.gem 351232 BLAKE2B e22953cdfa28461d7f0952dd746a4390bfdd59c78aa52f9284ab0c2ef8ba4f1ad6745bdb181fcbb9dc865213761255a47fa588d150bdb4724436c116c91b92d5 SHA512 8435005234e5e734894f39fbfaccb83ae8f077f91604e59b4c4bcf9bc92be0bced4544b7e1ce0fefc6b382590407915d438e7f99828735e5eed7ba76f3ffb7d9
DIST sass-3.4.25.gem 352768 BLAKE2B f3c725ee75f0d5b3a30cfbfdbf5dd949fc2b6d99878039a073c3b369753609f9b202ea6f756016783b251877831d1480dad4032db8338dff453b088b219b799a SHA512 5ff4bd47857425832c6a39b963ae4465dd91d63774eb35196ec28075082ad231254babe507d7071304ddb73cdfc1168a547bf231225afaeb3b7ddd677c0bd712
DIST sass-3.5.3.gem 318976 BLAKE2B 14d9fe02c7f99c0f33d2ba833c0488e4dbe204480835b25afe2d7f48a0a3d944167d8a5fe46c7101509a9712bfb607140ab8694fb7a407f82cc9735fc1ee6664 SHA512 568944eb74a8845673b74ee3c392ace81b55bb89f30f20f34f415c8a822c3cef90db1b4aa32858a55e1af1ae39ff419a0a5bd08320edf9110d56f584672f14c8
+DIST sass-3.5.4.gem 319488 BLAKE2B 1cbf4972fac0252e6d54b44f586fcdb4698e58ef29e780bdb1ca1c18cea8237a03f8b25a6c047f4e7d75957ea0d94cfb05a54ed511582f5ec9d6379cd6a9c655 SHA512 3fd3001b326f8a31e6b0c5e7fbd06acb4a4ee8213d86c65d325198b50115996ffa728d0a482333b2b4eeafdceecf28fad49db58521c2d059d69ecbff418c0315
diff --git a/dev-ruby/sass/sass-3.4.25-r1.ebuild b/dev-ruby/sass/sass-3.4.25-r1.ebuild
new file mode 100644
index 000000000000..c5c7fc107d06
--- /dev/null
+++ b/dev-ruby/sass/sass-3.4.25-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
+
+# Allow the latest slot to provide these
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more"
+HOMEPAGE="http://sass-lang.com/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+SLOT="$(get_version_component_range 1-2)"
+IUSE=""
+
+ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
+
+ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1 !!<dev-ruby/haml-3.1 !!<dev-ruby/sass-3.2.19-r1:0 !!<dev-ruby/sass-3.3.14-r1:3.3"
+
+# tests could use `less` if we had it
+
+all_ruby_prepare() {
+ rm -rf vendor/listen || die
+
+ # Don't require maruku as markdown provider but let yard decide.
+ sed -i -e '/maruku/d' .yardopts || die
+}
+
+each_ruby_test() {
+ RUBOCOP=false ${RUBY} -S rake test:ruby || die
+}
diff --git a/dev-ruby/sass/sass-3.5.4.ebuild b/dev-ruby/sass/sass-3.5.4.ebuild
new file mode 100644
index 000000000000..6f2e5e6057c2
--- /dev/null
+++ b/dev-ruby/sass/sass-3.5.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_DATE VERSION_NAME"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more"
+HOMEPAGE="http://sass-lang.com/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~amd64-linux"
+SLOT="$(get_version_component_range 1-2)"
+IUSE=""
+
+ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
+
+ruby_add_rdepend "
+ !!<dev-ruby/sass-3.2.19-r1:0
+ !!<dev-ruby/sass-3.4.25-r1:3.4
+ dev-ruby/sass-listen:4"
+
+# tests could use `less` if we had it
+
+all_ruby_prepare() {
+ # Don't require maruku as markdown provider but let yard decide.
+ sed -i -e '/maruku/d' .yardopts || die
+}
+
+each_ruby_test() {
+ RUBOCOP=false ${RUBY} -S rake test:ruby || die
+}