Initial version
authorManuel Rüger <mrueg@gentoo.org>
Fri, 29 Apr 2016 19:51:50 +0000 (21:51 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Fri, 29 Apr 2016 19:51:50 +0000 (21:51 +0200)
Package-Manager: portage-2.2.28

dev-ruby/roadie-rails/Manifest [new file with mode: 0644]
dev-ruby/roadie-rails/metadata.xml [new file with mode: 0644]
dev-ruby/roadie-rails/roadie-rails-1.1.1.ebuild [new file with mode: 0644]

diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
new file mode 100644 (file)
index 0000000..f376365
--- /dev/null
@@ -0,0 +1 @@
+DIST roadie-rails-1.1.1.tar.gz 48436 SHA256 3d005164235c9a38d38ab441afa645ab69b74bbb1428143bedda5d24e200117b SHA512 66f0da2a57a26342bc061cdbbedebf70a63f20cc4a5fa1ed8bedd6f9359d6e0690db3692bcd7b562976d75b4ffbec368fab5cbd09101cc833cd83d98859038c0 WHIRLPOOL 06333746c172e9723961ea067e1ecf370226a4276ab273f403edd2dc042aea7a2cf30d678c4610cfa6c5f7732bac6627f1e81fc0f463ef973ab2db1dd35710b3
diff --git a/dev-ruby/roadie-rails/metadata.xml b/dev-ruby/roadie-rails/metadata.xml
new file mode 100644 (file)
index 0000000..28ab0c1
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+       <email>ruby@gentoo.org</email>
+       <name>Gentoo Ruby Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ruby/roadie-rails/roadie-rails-1.1.1.ebuild b/dev-ruby/roadie-rails/roadie-rails-1.1.1.ebuild
new file mode 100644 (file)
index 0000000..b815774
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Hooks Roadie into your Rails application to help with email generation"
+HOMEPAGE="https://github.com/Mange/roadie-rails"
+SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RESTRICT="test"
+
+ruby_add_rdepend ">=dev-ruby/roadie-3.1
+       >=dev-ruby/railties-3.0"
+ruby_add_bdepend ">=dev-ruby/rails-3.0
+       test? ( dev-ruby/rspec-rails
+               dev-ruby/rspec-collection_matchers )"
+
+all_ruby_prepare() {
+       sed -i -e "/[Bb]undler/d" -e "s/bundle exec//" Rakefile || die
+}