dev-ruby/autoprefixer-rails: add 9.7.6
authorHans de Graaff <graaff@gentoo.org>
Thu, 9 Apr 2020 03:43:33 +0000 (05:43 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 9 Apr 2020 03:43:33 +0000 (05:43 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/autoprefixer-rails/Manifest
dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild [new file with mode: 0644]

index e733925d169eac002fa1649ce8e8e05476b7e56d..08842dea5025bed1924e6f09504abc14afa13a32 100644 (file)
@@ -3,3 +3,4 @@ DIST autoprefixer-rails-8.6.5.gem 208896 BLAKE2B 50e8b8ef3fec9a0bb8d68afa8950989
 DIST autoprefixer-rails-9.6.5.gem 221184 BLAKE2B 0a8d3dcd87cf4ad54252110bd60e86ab19563e614158575cb596aeaeab1d87946412625ce4bab4d8fc71d27abef1646822867aae19759b74445733f57ea076d5 SHA512 489e37e411fc86632d612b0d102955fd29b2654ba5bed3b648d89676e9d90aafb38139ea0d3f027fd9b23aff683c3f15979434d25c71d46560c3e1a1f1b4bc20
 DIST autoprefixer-rails-9.7.3.gem 222208 BLAKE2B cd091364f3089ece63dbfa13fad58c3e21b3275ebc845df543429f2952770a64221f4bda60567a37c3f4ee6031653856e4cda7d4cf4d24b3c08819c603f8db60 SHA512 08a78e4145f3d05c37c76d6ed137a2cb1951e36f4b36b9425f4429afb28e6eb2fb6a19e164189fad18f03e5d3540d02698f1466e95593f08ec4d064cbb21fd0a
 DIST autoprefixer-rails-9.7.4.gem 222720 BLAKE2B 6613552129f1a94a3d9acbef9f3b282b396d966706cf9321ba4b7ae31aa1054c3d589b1620862f21dd8a49f46a255b9d45e3e3155b4855ca42cad8a1d6079b46 SHA512 f0c8a4b0baed3024da732f47f2f836a1783cbe87c552d61f2a5d36f32a93ddc42e4dc987c826c6438ffdb0f61411d4ead37a001d6653a620f2ce110dbdbbdf3f
+DIST autoprefixer-rails-9.7.6.gem 226304 BLAKE2B 51481173acc0200e7287e8f448fa99f56f7548cf5df142705f6e4143f42bc079ab2c4d4459d4cbe62417b9f873b9e32d64a96ce61e0e8cdd7501203a33c0dae7 SHA512 4855843d270536607a705ab7a1fcb20fade8270ee957de3150b3892cf81442fecb5d501f07276761aba76c44edef15235d0f68e91ae76d2fe09dfa16179faa7c
diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-9.7.6.ebuild
new file mode 100644 (file)
index 0000000..1497323
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="vendor"
+
+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"
+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
+       sed -i -e '1igem "tzinfo", "~>1.0"' spec/spec_helper.rb || die
+       rm -f spec/rails_spec.rb || die
+}