Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/autoprefixer-rails/
Date: Thu, 22 Jun 2017 11:44:44
Message-Id: 1498131876.f653829e28cdac6e5151d771045e825c8308c6ca.graaff@gentoo
1 commit: f653829e28cdac6e5151d771045e825c8308c6ca
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 22 11:44:11 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 22 11:44:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f653829e
7
8 dev-ruby/autoprefixer-rails: install javascript file
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 .../autoprefixer-rails-7.1.1.2-r1.ebuild | 34 ++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild
16 new file mode 100644
17 index 00000000000..b9b1a7750c8
18 --- /dev/null
19 +++ b/dev-ruby/autoprefixer-rails/autoprefixer-rails-7.1.1.2-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +USE_RUBY="ruby21 ruby22 ruby23"
27 +
28 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
29 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
30 +RUBY_FAKEGEM_EXTRADOC="README.md"
31 +
32 +RUBY_FAKEGEM_EXTRAINSTALL="vendor"
33 +
34 +inherit ruby-fakegem
35 +
36 +DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website"
37 +HOMEPAGE="https://github.com/ai/autoprefixer-rails"
38 +LICENSE="MIT"
39 +
40 +KEYWORDS="~amd64"
41 +SLOT="7"
42 +IUSE=""
43 +
44 +ruby_add_rdepend "dev-ruby/execjs:*"
45 +
46 +ruby_add_bdepend "dev-ruby/rails
47 + dev-ruby/rake
48 + dev-ruby/rspec-rails"
49 +
50 +all_ruby_prepare() {
51 + sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die
52 + sed -i -e "/Bundler/,+3d" spec/app/config/application.rb || die
53 + rm spec/rails_spec.rb spec/compass_spec.rb || die
54 +}