summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2019-09-27 06:20:56 +0200
committerHans de Graaff <hans@degraaff.org>2019-09-27 06:20:56 +0200
commitbee08ce6be9bfca29aff24331131e35f815db822 (patch)
tree4a2c81863a1fc5a251392ca30b662c2e8b4b2d28 /dev-vcs
parentdev-ruby/font-awesome-sass: add 5.11.2 (diff)
downloadgraaff-bee08ce6be9bfca29aff24331131e35f815db822.tar.gz
graaff-bee08ce6be9bfca29aff24331131e35f815db822.tar.bz2
graaff-bee08ce6be9bfca29aff24331131e35f815db822.zip
dev-vcs/overcommit: add 0.50.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/overcommit/Manifest1
-rw-r--r--dev-vcs/overcommit/overcommit-0.50.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/overcommit/Manifest b/dev-vcs/overcommit/Manifest
index f5f30acf..c69d4581 100644
--- a/dev-vcs/overcommit/Manifest
+++ b/dev-vcs/overcommit/Manifest
@@ -2,3 +2,4 @@ DIST overcommit-0.47.0.tar.gz 183523 BLAKE2B b6a5c04a2fb71762f45d743bc340798c70a
DIST overcommit-0.48.1.tar.gz 184027 BLAKE2B 81ab0242a25a80a28ab6d9fc9340c868647bc84a3380ed7b4ad67aa621c5c938c34b45bffaf91238cad6137f147c8d945623f1daa8d8409526d318ec96db54df SHA512 1cf8e5b6144ddde376b2d5b97622de6cf8fa14dd8215f6957bea7a3e4620956e035f605e4f3e55cc28432ad440ffe41e995aed042645e948fe84564df7ad3fab
DIST overcommit-0.49.0.tar.gz 185887 BLAKE2B d1266fe4a5cdfa4c45e84a2eed7b46adee9f6aa47b370a880ad40eadf1cc56876a0f4180aadb85ecb77958572b71140321e42145d350c0e528000f672b79e548 SHA512 f44f207338264c4765d8adf4c46086ce85fad900dac81f1fff1e9536ddd18677a0ddf700e472bdd00a598cb88567bba513a506c76dcc87324849c1d354a641af
DIST overcommit-0.49.1.tar.gz 186079 BLAKE2B 77047e70e150a9fa56b4f1c3f557f2fbe8f6fc850e71ba258092d2720eb8db7a75c2e6bc7432bd74d89faf03adab87e341698f6f3b32a57318b8bdf1910e421d SHA512 b9244731b53f652b6dcc351fe7edafb0701da0ad125f1d18b1cf75d2295f404b8f4621e5ba9ca9f3601dfe3fbbfd6e2516696edeecff4575054069d8db5f3ceb
+DIST overcommit-0.50.0.tar.gz 186287 BLAKE2B c07adfff3910d71728bba81100a7063fe10ef15cf08ce13f41a71f48a46fa88eaea5eb212a554c4e4831f4a659db1e7d51be5931e93a84be007fa52b926f47c3 SHA512 9df2618b13ba606fbc9ce58f15a775e9d28d84157de054be3affac7a4626f9c9975f67451c20663b1eda2891fdfbd1ebe884224837eeb0906717ae6f66259015
diff --git a/dev-vcs/overcommit/overcommit-0.50.0.ebuild b/dev-vcs/overcommit/overcommit-0.50.0.ebuild
new file mode 100644
index 00000000..cb4929e0
--- /dev/null
+++ b/dev-vcs/overcommit/overcommit-0.50.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="config libexec template-dir"
+
+# Needs to work around require_relative
+# RUBY_FAKEGEM_GEMSPEC="overcommit.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="The Opinionated Git Hook Manager"
+HOMEPAGE="https://github.com/sds/overcommit"
+SRC_URI="https://github.com/causes/overcommit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/childprocess:2
+ >=dev-ruby/iniparse-1.4:1
+"
+
+each_ruby_install() {
+ each_fakegem_install
+
+ local hookdir
+ hookdir="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/template-dir/hooks"
+
+ fperms 0755 "${hookdir}"/{commit-msg,overcommit-hook,post-checkout,post-commit,post-merge,post-rewrite,pre-commit,prepare-commit-msg,pre-push,pre-rebase}
+}