summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-06-26 06:10:48 +0200
committerHans de Graaff <graaff@gentoo.org>2017-06-26 06:10:48 +0200
commit41efb20a3d0d7f59700a8dbc9a0187af15f4a36e (patch)
tree99f7302c7d1218e6971b0a02e8805c30b28e7ac5
parentnet-misc/memcached: bup (diff)
downloadgentoo-41efb20a3d0d7f59700a8dbc9a0187af15f4a36e.tar.gz
gentoo-41efb20a3d0d7f59700a8dbc9a0187af15f4a36e.tar.bz2
gentoo-41efb20a3d0d7f59700a8dbc9a0187af15f4a36e.zip
dev-ruby/roadie: add 3.2.2
Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--dev-ruby/roadie/Manifest1
-rw-r--r--dev-ruby/roadie/roadie-3.2.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest
index 8277236222eb..0c5af4511310 100644
--- a/dev-ruby/roadie/Manifest
+++ b/dev-ruby/roadie/Manifest
@@ -1 +1,2 @@
DIST roadie-3.2.1.tar.gz 45484 SHA256 26d0adcd9a72b87711e96fc909740158f0e4c66911353eaae2c77f1e6be8b4a8 SHA512 01f96e661212c67f4e7a30703730ac92691c339900f35ea767db1e5458cbb1336063424c176927608afe3e72b91313164bb4e1b5f929ad43ad2270659dd25891 WHIRLPOOL 17dca9ff0a50933b8cd2d4dbc659fda79ad6409556025d274239ae31ba66736516aa6396ba00098e386c1ae5cbd002341bc9d7e2c6c83899229e13224aea285d
+DIST roadie-3.2.2.tar.gz 45511 SHA256 5e3ea2fb3f67a74c5b817e92a412915a1eaa4918aa608885daf32791b2a8a214 SHA512 484133fccdb6485c00265f62c0ccd88819eb12acc6fe10233740c8b7d1418511d5b7d1cc67f222a5484205bfd7e8616c614136205e75cf85875296b37ecd603e WHIRLPOOL 767d1bec444edb0cc33fb0d6416f67a6417baea74c9eb700b95bd729828a86bc36646311282e6bd03451cd9c93b958675e7312ef23d7e75435413ab178634d63
diff --git a/dev-ruby/roadie/roadie-3.2.2.ebuild b/dev-ruby/roadie/roadie-3.2.2.ebuild
new file mode 100644
index 000000000000..b7f0d2a9ca48
--- /dev/null
+++ b/dev-ruby/roadie/roadie-3.2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23"
+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.4*"
+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
+}