mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/daemons: add 1.4.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST daemons-1.3.1.tar.gz 28805 BLAKE2B 4ddb9cb9a5a6de5ebeac8ac69c2712500f9dd18c9d194efce3152735533a2aef7a4cf0e034e4c1781e5d89c1be18e7e7c119455bafb0bf4d8cec279b1e8f6308 SHA512 ceeeefbf44727a1ee43b651bbc3f8e5ae83c73388d017d240d95624586b91a3b32602464f4a5ff53a854d6cc6fa1dc47e433a665f0ad7f08e440c0a798743d80
|
||||
DIST daemons-1.4.0.tar.gz 29257 BLAKE2B 6f8f108727e8d77c18435fae7a8305ecd615eb65cdd196ab36ed0787c50fddd30a5bbf8ab93e1eafff7da23143b2a6ff48781d54d10df45f40f536a7d87eff6f SHA512 cdc86bb06e5713e958b1d229da893f39d32751146c269cce5392f53bdc59cfeb93be0a6fc73bade1dc6b7a007bea16f25b070469ec48aba38cea884efaa770f9
|
||||
|
||||
33
dev-ruby/daemons/daemons-1.4.0.ebuild
Normal file
33
dev-ruby/daemons/daemons-1.4.0.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby25 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
|
||||
}
|
||||
Reference in New Issue
Block a user