diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-07 06:56:13 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-07 06:56:31 +0200 |
commit | 4e7d307eabc04e1ede088305c6e37dcccb452c40 (patch) | |
tree | 46ca8d8262ef666a42ff6b136fb8c928d9cb64d4 /dev-ruby | |
parent | dev-ruby/minitest: add 5.20.0 (diff) | |
download | gentoo-4e7d307eabc04e1ede088305c6e37dcccb452c40.tar.gz gentoo-4e7d307eabc04e1ede088305c6e37dcccb452c40.tar.bz2 gentoo-4e7d307eabc04e1ede088305c6e37dcccb452c40.zip |
dev-ruby/autoprefixer-rails: add 10.4.15.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/autoprefixer-rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/autoprefixer-rails/autoprefixer-rails-10.4.15.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/autoprefixer-rails/Manifest b/dev-ruby/autoprefixer-rails/Manifest index 85da8b30adff..661ae240f874 100644 --- a/dev-ruby/autoprefixer-rails/Manifest +++ b/dev-ruby/autoprefixer-rails/Manifest @@ -1 +1,2 @@ DIST autoprefixer-rails-10.4.13.0.tar.gz 1386370 BLAKE2B a96eb20ebb940a63abf22819e7b2c1727816e4e70cffff5fce3f84c09b783c7f6aac3d6af2483670bbacf4e8032e71f8b144bdc41846464935dbf57fa23d98f5 SHA512 698e8f91875d7fe73d4843cd4dda65b695e3654b9bbf02070a0fd4d61ebf9fb00aaffa8ce63b738dc5d345c5536c79fa985adfa779f47d57412c791e3388cc97 +DIST autoprefixer-rails-10.4.15.0.tar.gz 1205393 BLAKE2B 830b4f145ead0ff143296329682b2c7834a6f5599311e2d770f17db77824944aee8acb066f33e5a1bb63111ad9e37159898be698748af1032bf531e4752c4bf7 SHA512 c8bd0706d3c45406aff016463fc17d422665a396222a8b9f443f12aefd8e3f84b81aa025e7c583f1067f6f23e8eb5f2f5d84f8867e64d4adbe19d47bc3bed71c diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.4.15.0.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.4.15.0.ebuild new file mode 100644 index 000000000000..8f557b93f687 --- /dev/null +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-10.4.15.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +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="" + +DEPEND+="test? ( net-libs/nodejs )" + +ruby_add_rdepend "dev-ruby/execjs" + +ruby_add_bdepend "test? ( + >=dev-ruby/rails-5.0.0 + dev-ruby/rake + dev-ruby/rspec-rails + dev-ruby/sprockets-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 +} |