summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-23 07:19:10 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-23 07:19:10 +0200
commitdeec94bc01811fbcc8b18d44a3d1e0095b9e66d4 (patch)
tree97011e00375d950d56601d0d24abeb32800dc4df
parentapp-admin/mcelog: Drop old (diff)
downloadgentoo-deec94bc01811fbcc8b18d44a3d1e0095b9e66d4.tar.gz
gentoo-deec94bc01811fbcc8b18d44a3d1e0095b9e66d4.tar.bz2
gentoo-deec94bc01811fbcc8b18d44a3d1e0095b9e66d4.zip
dev-ruby/daemons: add 1.2.5
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--dev-ruby/daemons/Manifest1
-rw-r--r--dev-ruby/daemons/daemons-1.2.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/daemons/Manifest b/dev-ruby/daemons/Manifest
index c10b31674ce..09962681c21 100644
--- a/dev-ruby/daemons/Manifest
+++ b/dev-ruby/daemons/Manifest
@@ -1,2 +1,3 @@
DIST daemons-1.2.3.gem 24576 SHA256 0fbf1f7ef654e98fac324b43ab690576fbe8b66941693b473f4f27ef334c032d SHA512 05acecc07bc3f760472453dd11eb0231b9e7f2e04a783ab44dacecf9c666d01122d27fdb782d9973f475bc378e0e3e51795ad58e221f29b201b1ba5e0de1e277 WHIRLPOOL 9568c383912195964b0079df60f8342268a51d75c0251b50e5c747759b82463d3d79a597e593a24ee84eb8618a637bcb22cb842b7c9a43d67db1f0be41c72e5c
DIST daemons-1.2.4.tar.gz 27191 SHA256 34e28ad4f5b8fa402f7f2783949024da09575dcde6b8110242ca2048ad932608 SHA512 9b6f0202ad87704b441f150ae5c3f5086861ba220069b6e7219714b62c36711889fdd094cfc1de907e9fb4528e5f6bb42b5421b9bcc4ec286648349e78da280f WHIRLPOOL 4b0454884b1bec01eed876dabc3a9cb50b25bfd77d26c374ac6ee98d7d3c8ccc18b852a9da36e39ded2047f847961f6400af9d0ec0515c7afb826718e35ce3a7
+DIST daemons-1.2.5.tar.gz 27475 SHA256 7ebf1fe54b24c45d168e3b897547b29fda5f84b0fc723f74abeaf81d852a5dfa SHA512 5d3db8e5917eff5a3946c385a1ac6f561d1e9d1d6cd87c0deb4c4777bdab33a5e4f889300ee61a2e68df0200d51b3ddd0aa01d9f2841104d01a866f3ee8c09ac WHIRLPOOL 9d2e2d833e16b4cde1cc90f4fc4435c2e5f87540ae10e1d8de201693f40772251ea4bccf0479358d28d803cabfbcb930e2070e5e01ccfd3cbe516990010f23c6
diff --git a/dev-ruby/daemons/daemons-1.2.5.ebuild b/dev-ruby/daemons/daemons-1.2.5.ebuild
new file mode 100644
index 00000000000..792eabef56a
--- /dev/null
+++ b/dev-ruby/daemons/daemons-1.2.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_EXTRADOC="Releases README.md"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Wrap existing ruby scripts to be run as a daemon"
+HOMEPAGE="https://github.com/thuehlinger/daemons"
+SRC_URI="https://github.com/thuehlinger/daemons/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="examples"
+
+all_ruby_prepare() {
+ sed -i -e '/\(pry\|simplecov\)/I s:^:#:' spec/spec_helper.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ use examples || return
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples
+}