summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-11-02 06:33:55 +0100
committerHans de Graaff <graaff@gentoo.org>2019-11-02 06:33:55 +0100
commit4ff1eb73775ccff64f36f6f60f64545d67b01a2c (patch)
treec3c60f4f4dbcdf968ea7f9630862b6f371a34fca /dev-ruby/roadie
parentdev-ruby/rjb: add 1.6.1 (diff)
downloadgentoo-4ff1eb73775ccff64f36f6f60f64545d67b01a2c.tar.gz
gentoo-4ff1eb73775ccff64f36f6f60f64545d67b01a2c.tar.bz2
gentoo-4ff1eb73775ccff64f36f6f60f64545d67b01a2c.zip
dev-ruby/roadie: add 4.0.0
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/roadie')
-rw-r--r--dev-ruby/roadie/Manifest1
-rw-r--r--dev-ruby/roadie/roadie-4.0.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/roadie/Manifest b/dev-ruby/roadie/Manifest
index ced557352a71..47e11bd3509b 100644
--- a/dev-ruby/roadie/Manifest
+++ b/dev-ruby/roadie/Manifest
@@ -1,3 +1,4 @@
DIST roadie-3.4.0.tar.gz 50719 BLAKE2B 7e3948e1c9c052ac72ef462a6a4452d6831d99d0134a9716adcf8cd67d261f2c330a6309e7c8a6e00c7489f62cd2b7253f4db48f7daadee4bf57fb1c40cd181c SHA512 cc25986dbe054b18189dad46f2dbde4f325c7391f5cb8ba598f504a465b99cb84339b2fdad3ef663d50275a186620dd60753df3fccfd5bcada52b74ee4c7c55e
DIST roadie-3.5.0.tar.gz 50687 BLAKE2B 4d48c7989798977e74ebfb3959c5d1b52ff5aa91c1e81075b7b631a70893f344965ffc838f1debe0dbcc807c588e7e4da93937beb4fcef8f4bd9f3eaf7b81407 SHA512 d0602ccee1b642dcda0644afb762a56c97715472e7dfdd63115fc595e1ccbbf3192114e32e25b3c0e6c8c9db37bfc57b75f66bf9ac1e4656b27972f0d4fcd98b
DIST roadie-3.5.1.tar.gz 50873 BLAKE2B 478dc7bba6424b953d4c32aeb793f0212fe0ecef5526ec4a28e3b05ff5f29fbbeaaf2022b7277cb20993b99fa7bfc5d03db57c12b589c727239e944e78da2d9f SHA512 b61cc8c1ddcc4819d496489578eb7157cdd7716e99ff675af37b9b650504315120238889d72dd617f37588e005cbba62e1912f4c02ba0e4ba0d111784219ed5c
+DIST roadie-4.0.0.tar.gz 50727 BLAKE2B 671c5260f4a181e4a50d136e4c6e96e96a3bb51adc7cd88d070b558af0d1d858e712a8f6d586aaea5c72b735db41a54ecb1833b74b3e76f7838a3323a69fb5f3 SHA512 ad42ff83c7983e8cce1506f6b72d66e47a860251749eebd3cd65c2114859d3d8a8103d309964aa53875cb07a83393b086fb6c58db88d95a84059abb514d12665
diff --git a/dev-ruby/roadie/roadie-4.0.0.ebuild b/dev-ruby/roadie/roadie-4.0.0.ebuild
new file mode 100644
index 000000000000..cd17893e2508
--- /dev/null
+++ b/dev-ruby/roadie/roadie-4.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.8: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
+}