summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-02-25 06:27:23 +0100
committerHans de Graaff <graaff@gentoo.org>2021-02-25 06:27:55 +0100
commit0eec5ab6aca2cbda9a0dce15a8f6beaa036373a7 (patch)
tree7666288d1349da08b38df8b4350ef8d67f351112 /dev-ruby/autoprefixer-rails
parentdev-ruby/autoprefixer-rails: cleanup (diff)
downloadgentoo-0eec5ab6aca2cbda9a0dce15a8f6beaa036373a7.tar.gz
gentoo-0eec5ab6aca2cbda9a0dce15a8f6beaa036373a7.tar.bz2
gentoo-0eec5ab6aca2cbda9a0dce15a8f6beaa036373a7.zip
dev-ruby/autoprefixer-rails: add 10.2.4.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/autoprefixer-rails')
-rw-r--r--dev-ruby/autoprefixer-rails/Manifest1
-rw-r--r--dev-ruby/autoprefixer-rails/autoprefixer-rails-10.2.4.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/autoprefixer-rails/Manifest b/dev-ruby/autoprefixer-rails/Manifest
index 4b12defd4272..f0cc69ccff05 100644
--- a/dev-ruby/autoprefixer-rails/Manifest
+++ b/dev-ruby/autoprefixer-rails/Manifest
@@ -1,2 +1,3 @@
DIST autoprefixer-rails-10.0.1.1.tar.gz 684843 BLAKE2B 06cbfe473f29acc24544f7fff23adb5d7419b2bfc7b06a809f04e656fd1b5c961a9fb1379da63ae76c8b2626044ce6f91a5a378ed2569f1631fd2d0e23c021f1 SHA512 1b22fa901e7d54fa465ce04cadb81e6391a75b6f6719b075a33ec3b7183c07c008420baa5ffdccf6880472af3fa75fac5b9c03769dd04e748e4e8cdb644b45b7
+DIST autoprefixer-rails-10.2.4.0.tar.gz 720604 BLAKE2B 1f1546f1917ef7dd98aa1f699906865ceb78e6092e1a867569deb1b4a68d66d32d7e5cabae1f1acb2f80220f6c3e55601b7e9d33d6a3a4cea281da1e121fb0d9 SHA512 fbf65914af2962ffa8092405a82f18dc483516d3ba53f062dc17df70b1ed7b41996294a7f419aa24a0cf66d5ea9f273e5cc8e98138b65cd856758eb448a67c9f
DIST autoprefixer-rails-9.8.6.5.gem 231936 BLAKE2B 7c702f5484f9aa2318408fb8c5c8866ccf9d3565d3282e43279b9bea875ac3610b26c0ec302b2bed0779dcd46eca12badaa16faba1046585cddcfa3e8b22b51c SHA512 6b7281661fcaf0c17ee258a321f8d18664f2f305172719f76fe1f3ef6b04fa1460c7102946e95153df7ecf5c3ade3bfc8c22d302927f2e2183ef3b0f3ef8d623
diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.2.4.0.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.2.4.0.ebuild
new file mode 100644
index 000000000000..664833352cf5
--- /dev/null
+++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.2.4.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="vendor"
+
+RUBY_FAKEGEM_GEMSPEC="autoprefixer-rails.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website"
+HOMEPAGE="https://github.com/ai/autoprefixer-rails"
+SRC_URI="https://github.com/ai/autoprefixer-rails/archive/${PV}.tar.gz -> ${P}.tar.gz"
+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/ s:^:#:" \
+ -e '/config.sass/ s:^:#:' spec/app/config/application.rb || die
+ rm -f spec/rails_spec.rb || die
+}