dev-ruby/autoprefixer-rails: add 9.6.1
authorHans de Graaff <graaff@gentoo.org>
Tue, 9 Jul 2019 04:42:06 +0000 (06:42 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 9 Jul 2019 04:42:06 +0000 (06:42 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/autoprefixer-rails/Manifest
dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.1.ebuild [new file with mode: 0644]

index 7b1bb443afe285c7f9119157f2670780cc69e0f4..3e04066337b95864eec653fb91afe54e2250883d 100644 (file)
@@ -4,3 +4,4 @@ DIST autoprefixer-rails-9.4.10.1.gem 217088 BLAKE2B 212920f8d1cbcc86c825974b6cf6
 DIST autoprefixer-rails-9.5.0.gem 217600 BLAKE2B 067c27d42bf7f869f3030e52a43c2350cb6f670b0292ac563c41a40007aa63566b0b8924e25cb0cffac091fdcda9f86d6993f1cb634a705701fd748989c7830e SHA512 7e48dd177abbd06634e4a6be40494dfc109d1ce50cc20585cbbcd4e828d6e9dec42fd34ea55456d9db4eff6c74286dc1411aca6beb3c40103561034e9b85d4d5
 DIST autoprefixer-rails-9.5.1.1.gem 217600 BLAKE2B 188f5a23296d107e068339c0299913f4a9df641d97caedd6f140c39dfa2eab3e7cf76ac4b4ed1c46c0cd424fac1872515e54b7fe8c62285286a6aad292005657 SHA512 d1fe0da0390ac635081327b51350636b58108bd4689f6ed37a03fbdfd8620a7916bbff6818532e58c82d32912935818c476823b6d1839f068c2c171fc405e6c7
 DIST autoprefixer-rails-9.6.0.gem 219136 BLAKE2B 68c8e8c7ba4ae175f306b4ecdfc760561db41e7dfc8e5f7f17d47b143c5e6e0e5d9275847e75c5f88128ce4b62a5cb651b907f1dd2743216c561d50dee447271 SHA512 c60210546ccef073bbd8f13f2667d1c488f2d2bbd184d8a4d455ede766befeccbfde0fd3c87920f0fa5c3e8224644fcb806fc6f65e53c1b15ca2695a96d18062
+DIST autoprefixer-rails-9.6.1.gem 220672 BLAKE2B ac9d3ef36fd438f28029c708e8a3c9df4c4cdb75de39cd73ee5e9e527f099c99691b3f76eac95c821a36d4c86aaf43f6becfa8ede893b6a8b2d8da6acc10737f SHA512 c553ed602d780aff62904f73c99bc56b9d7052de1daa3ee7e28cae59ced1e9111786e63bf2a829409f4be77ac8c4639ab38c73df84f3cd0a047535d9134419fd
diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.1.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.6.1.ebuild
new file mode 100644 (file)
index 0000000..3c20314
--- /dev/null
@@ -0,0 +1,38 @@
+# 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_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="vendor"
+
+inherit ruby-fakegem eapi7-ver
+
+DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website"
+HOMEPAGE="https://github.com/ai/autoprefixer-rails"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="$(ver_cut 1)"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/execjs:*"
+
+ruby_add_bdepend "test? (
+       >=dev-ruby/rails-5.0.0
+       dev-ruby/rake
+       dev-ruby/rspec-rails
+)"
+
+all_ruby_prepare() {
+       sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die
+       sed -i -e "/Bundler/,+3d" \
+               -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die
+       sed -i -e '/standard/ s:^:#:' autoprefixer-rails.gemspec || die
+       rm -f spec/rails_spec.rb || die
+}