summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/overcommit/Manifest1
-rw-r--r--dev-vcs/overcommit/overcommit-0.49.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/overcommit/Manifest b/dev-vcs/overcommit/Manifest
index 1201939a..f5f30acf 100644
--- a/dev-vcs/overcommit/Manifest
+++ b/dev-vcs/overcommit/Manifest
@@ -1,3 +1,4 @@
DIST overcommit-0.47.0.tar.gz 183523 BLAKE2B b6a5c04a2fb71762f45d743bc340798c70a4915acfd567515b834f69efd1f14e59af5e9793e5f932741c1ba20f1d14d536ad0fc827119fa91b43af1b4e535987 SHA512 e3fc9c92a9a77bc75649b8a28b6b51acc314ee097d42d51c3158da146f82a08223f969df1745bf8a576e1f0dc7ce83d99a2243c68a9d1391e15ab572626d63d8
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
diff --git a/dev-vcs/overcommit/overcommit-0.49.1.ebuild b/dev-vcs/overcommit/overcommit-0.49.1.ebuild
new file mode 100644
index 00000000..bb92d685
--- /dev/null
+++ b/dev-vcs/overcommit/overcommit-0.49.1.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.0: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}
+}