summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-04-06 08:14:01 +0200
committerHans de Graaff <graaff@gentoo.org>2019-04-06 08:14:01 +0200
commitaa08a56252cfab1176151d91604ec3cb18146d86 (patch)
tree8f4117f1d398f3648f570d1e9d80f237a54a66a4
parentdev-ruby/radius: add 0.7.5 (diff)
downloadgentoo-aa08a56252cfab1176151d91604ec3cb18146d86.tar.gz
gentoo-aa08a56252cfab1176151d91604ec3cb18146d86.tar.bz2
gentoo-aa08a56252cfab1176151d91604ec3cb18146d86.zip
dev-ruby/sass: add 3.7.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r--dev-ruby/sass/Manifest1
-rw-r--r--dev-ruby/sass/sass-3.7.4.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/sass/Manifest b/dev-ruby/sass/Manifest
index 335975de9768..f9cfdf470817 100644
--- a/dev-ruby/sass/Manifest
+++ b/dev-ruby/sass/Manifest
@@ -2,3 +2,4 @@ DIST sass-3.4.24.gem 351232 BLAKE2B e22953cdfa28461d7f0952dd746a4390bfdd59c78aa5
DIST sass-3.4.25.gem 352768 BLAKE2B f3c725ee75f0d5b3a30cfbfdbf5dd949fc2b6d99878039a073c3b369753609f9b202ea6f756016783b251877831d1480dad4032db8338dff453b088b219b799a SHA512 5ff4bd47857425832c6a39b963ae4465dd91d63774eb35196ec28075082ad231254babe507d7071304ddb73cdfc1168a547bf231225afaeb3b7ddd677c0bd712
DIST sass-3.5.7.gem 320000 BLAKE2B aeae548d1005b9f420c82f4efc96b2428d3025395b49784917c298fa48228d8052f758c1f851fb6e4e8024c63d48a9880f6c2e88411cd2125e76ad291e469bc0 SHA512 a72b499cfca4862fb4bfeb5201fda788339bb57d97b467c427e9c8365b03088b886a0f3cb3a6d87b1426e1497032b8394a948eb4a2f45004be80c03070304f95
DIST sass-3.7.3.tar.gz 401486 BLAKE2B 969b6e7e29883afaecfbaae627f67cfde826b6941b207352b9300849bcbf22f61b39ac5f568fe9af785bca1e62b84578c3c766a4bd803bb262a9e9b8f512886e SHA512 1ae8127433387721977f5cd9041f3832a9a1d2146f4091ef612d76f7b881480b6f742637a5012780dbd85b1bc658abcaa958e0efeaf50ce2e0f90c424dfafd4a
+DIST sass-3.7.4.tar.gz 401442 BLAKE2B 52abe37390282d2aead3eea6c2a049da529a5e96bac44b01ccded1e3c4d2c332d82f164da941413c0138fd3a94f59cda084d8fb724db87fc522f33dd7bc31adb SHA512 4bebb6ddc84e7f2687d9b801e6b30e897d83a46940249349d775e0139d1fca8ffd96d0976f4c35a7a0dba9ebf786883a70aff2ff002708e28b685a034634aaf2
diff --git a/dev-ruby/sass/sass-3.7.4.ebuild b/dev-ruby/sass/sass-3.7.4.ebuild
new file mode 100644
index 000000000000..81aa78559966
--- /dev/null
+++ b/dev-ruby/sass/sass-3.7.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more"
+HOMEPAGE="https://sass-lang.com/"
+SRC_URI="https://github.com/sass/ruby-sass/archive/${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="ruby-sass-${PV}"
+
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux"
+SLOT="$(ver_cut 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-3.5.7-r1:3.5
+ 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
+
+ # Keep VERSION_DATE around since we don't create a new package
+ sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ RUBOCOP=false ${RUBY} -S rake test:ruby || die
+}