summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-06 06:37:05 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-06 06:54:05 +0200
commita6a4c3de68016b3a5db936e0f90a4ee506130e34 (patch)
treea573d3e3e9a8bca06babfbeb8d2ff58bee036800 /dev-ruby
parentx11-misc/magick-rotation: remove myself from maintainers (diff)
downloadgentoo-a6a4c3de68016b3a5db936e0f90a4ee506130e34.tar.gz
gentoo-a6a4c3de68016b3a5db936e0f90a4ee506130e34.tar.bz2
gentoo-a6a4c3de68016b3a5db936e0f90a4ee506130e34.zip
dev-ruby/roadie: add 3.3.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/roadie/Manifest1
-rw-r--r--dev-ruby/roadie/roadie-3.3.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest
index b103b1565b38..82ecb9fb8388 100644
--- a/dev-ruby/roadie/Manifest
+++ b/dev-ruby/roadie/Manifest
@@ -1 +1,2 @@
DIST roadie-3.2.2.tar.gz 45511 BLAKE2B 3dba057930f330a1c35c6df6b0bdd341b78dfd548e492e2e831847fe6475c4d108a15c2d3077c26b60e8b2b72b9c68d88cc2fd3394ac3a09e0d411cfd58d7888 SHA512 484133fccdb6485c00265f62c0ccd88819eb12acc6fe10233740c8b7d1418511d5b7d1cc67f222a5484205bfd7e8616c614136205e75cf85875296b37ecd603e
+DIST roadie-3.3.0.tar.gz 48893 BLAKE2B a06d0515f3019940e0fe1284feebfeefe3db7f66b906e5c146c4407cc8078400645401050252bd4830aecb478d3d1854c41e4c9a82f0a966efaa8589f8d9a933 SHA512 bd54186678497812793fba6de13099dd166d15e2900cf6013d16cc4654a6a7b5392f50024f5d4964d9481f31f0b5272a1de7831028fbe9e9200cb54d5f8f6bff
diff --git a/dev-ruby/roadie/roadie-3.3.0.ebuild b/dev-ruby/roadie/roadie-3.3.0.ebuild
new file mode 100644
index 000000000000..b9901f6690a6
--- /dev/null
+++ b/dev-ruby/roadie/roadie-3.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Making HTML emails comfortable for the Rails rockstars"
+HOMEPAGE="https://github.com/Mange/roadie"
+SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.5.0
+ >=dev-ruby/css_parser-1.4.5 =dev-ruby/css_parser-1*"
+ruby_add_bdepend "test? ( dev-ruby/rspec-collection_matchers dev-ruby/webmock )"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" Rakefile || die
+ sed -i -e 's/git ls-files/find . -type f -print/' \
+ -e '/test_files/d' \
+ -e '/css_parser/ s/~>/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}