summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2024-04-15 07:43:43 +0200
committerHans de Graaff <hans@degraaff.org>2024-04-15 07:43:43 +0200
commitecf397f4273163c2159793d4253d1bc07ac9a892 (patch)
tree68ff54e2afdd16d4d2c803bff3acfc987cb57e84
parentdev-ruby/rubocop-rake: enable ruby33 (diff)
downloadgraaff-ecf397f4273163c2159793d4253d1bc07ac9a892.tar.gz
graaff-ecf397f4273163c2159793d4253d1bc07ac9a892.tar.bz2
graaff-ecf397f4273163c2159793d4253d1bc07ac9a892.zip
dev-util/foreman: add 0.88.1
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r--dev-util/foreman/Manifest1
-rw-r--r--dev-util/foreman/foreman-0.88.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/foreman/Manifest b/dev-util/foreman/Manifest
index cddf3a8d..e8ec566d 100644
--- a/dev-util/foreman/Manifest
+++ b/dev-util/foreman/Manifest
@@ -1,2 +1,3 @@
DIST foreman-0.87.2-ruby32.patch 3602 BLAKE2B 9158da1dff0eba0f794cab5409ab63406186bb084beb3fc99f9d1b69e45aa3637dd14cdcfb394a0a1554b0f2ae4a4ed21a30682bb71327aca723016cdf607348 SHA512 3851861cca8c189ff3d35bc2ee1685de7bd337c8eb209b50b4b8148643c3e372fc50caea73d701fc67259a27a3d378b9c81345a73ca53ac036c0d5e98b6cc0ab
DIST foreman-0.87.2.tar.gz 87199 BLAKE2B 66e39c2e52bcc0e4cf4f7e818a790ee4c7fc96dda74fec9243c7a71e28b7c1526f64aa7288d1550a18f2d27a5c931a7f3f559d02b5795e49f1133c65a68d1c61 SHA512 905947ef79d6567e07972f4da304665be784323d6ed43ddcded8e4f3b7f6b0d20dac991418862d8675c8c68ce3b8457ee799565fa176843d9dc329135e72f540
+DIST foreman-0.88.1.tar.gz 86532 BLAKE2B 6b9e24e14bf13b3fc1b3a2c8869dcca57f8de06bdd91870e293c75a853310cf7b14e0e685e4b5e5e49864bfdac4d788c9eff5b22377854527390310f60d042b9 SHA512 6afa173d089903ce126140a98f851ef3463f2c97814a21f2bf85013f00f50ac1a32294ed30308e9304d55f2e799c8ddab2217e8136cf29ef1557deb6bd120732
diff --git a/dev-util/foreman/foreman-0.88.1.ebuild b/dev-util/foreman/foreman-0.88.1.ebuild
new file mode 100644
index 00000000..bddd113e
--- /dev/null
+++ b/dev-util/foreman/foreman-0.88.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
+RUBY_FAKEGEM_EXTRAINSTALL="data tasks"
+RUBY_FAKEGEM_GEMSPEC="foreman.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Manage Procfile-based applications"
+HOMEPAGE="https://github.com/ddollar/foreman"
+SRC_URI="https://github.com/ddollar/foreman/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_bdepend "test? (
+ dev-ruby/fakefs:2
+ dev-ruby/timecop
+)"
+
+all_ruby_prepare() {
+ # Avoid CLI specs since they require a lot of additional packages.
+ rm -f spec/foreman/cli_spec.rb || die
+
+ sed -e '/simplecov/,/^end/ s:^:#:' \
+ -i spec/spec_helper.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/foreman.1
+}