summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-27 08:41:40 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-27 08:46:18 +0200
commitbea044b4399880ff08245aff7bebec3206ea9157 (patch)
treec69f276abc3f6edab71381a883e186d2eabafb71 /dev-ruby/daemons
parentapp-eselect/eselect-rails: cleanup (diff)
downloadgentoo-bea044b4399880ff08245aff7bebec3206ea9157.tar.gz
gentoo-bea044b4399880ff08245aff7bebec3206ea9157.tar.bz2
gentoo-bea044b4399880ff08245aff7bebec3206ea9157.zip
dev-ruby/daemons: add 1.4.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/daemons')
-rw-r--r--dev-ruby/daemons/Manifest1
-rw-r--r--dev-ruby/daemons/daemons-1.4.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/daemons/Manifest b/dev-ruby/daemons/Manifest
index 55425f39d8e7..d372d7949134 100644
--- a/dev-ruby/daemons/Manifest
+++ b/dev-ruby/daemons/Manifest
@@ -1,2 +1,3 @@
DIST daemons-1.3.1.tar.gz 28805 BLAKE2B 4ddb9cb9a5a6de5ebeac8ac69c2712500f9dd18c9d194efce3152735533a2aef7a4cf0e034e4c1781e5d89c1be18e7e7c119455bafb0bf4d8cec279b1e8f6308 SHA512 ceeeefbf44727a1ee43b651bbc3f8e5ae83c73388d017d240d95624586b91a3b32602464f4a5ff53a854d6cc6fa1dc47e433a665f0ad7f08e440c0a798743d80
DIST daemons-1.4.0.tar.gz 29257 BLAKE2B 6f8f108727e8d77c18435fae7a8305ecd615eb65cdd196ab36ed0787c50fddd30a5bbf8ab93e1eafff7da23143b2a6ff48781d54d10df45f40f536a7d87eff6f SHA512 cdc86bb06e5713e958b1d229da893f39d32751146c269cce5392f53bdc59cfeb93be0a6fc73bade1dc6b7a007bea16f25b070469ec48aba38cea884efaa770f9
+DIST daemons-1.4.1.tar.gz 29310 BLAKE2B 4f376f0a1a9322d95b32b74862beae93ae5d8636c0d321b059c335053760077b6ba78780cc4c22d5e98fbb95e2dffb85fd5ccfb1dc5152653698c29a0ac86577 SHA512 5b55f644a53efe93a6bb80ca534207c7a847a7c21df127d17ba6f09e2c2d8c665d87e6355382d2d51c3c9f50741fa9a31f5bfd228d9bb45ba8d5d099b7b5d026
diff --git a/dev-ruby/daemons/daemons-1.4.1.ebuild b/dev-ruby/daemons/daemons-1.4.1.ebuild
new file mode 100644
index 000000000000..54b393dd44b2
--- /dev/null
+++ b/dev-ruby/daemons/daemons-1.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="Releases README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="daemons.gemspec"
+
+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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+IUSE="examples"
+
+all_ruby_prepare() {
+ sed -i -e '/\(pry\|simplecov\)/I s:^:#:' spec/spec_helper.rb || die
+ sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ use examples && dodoc -r examples
+}