diff options
author | 2024-02-06 08:17:29 +0100 | |
---|---|---|
committer | 2024-02-06 08:17:29 +0100 | |
commit | bc94bca8bafc950c6d22464e1781c23aa776338d (patch) | |
tree | 020075b7244b1e5649a5864e4db6fc53985a61af /dev-vcs | |
parent | dev-ruby/invisible_captcha: add 2.2.0 (diff) | |
download | graaff-bc94bca8bafc950c6d22464e1781c23aa776338d.tar.gz graaff-bc94bca8bafc950c6d22464e1781c23aa776338d.tar.bz2 graaff-bc94bca8bafc950c6d22464e1781c23aa776338d.zip |
dev-vcs/overcommit: add 0.62.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/overcommit/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/overcommit/overcommit-0.62.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-vcs/overcommit/Manifest b/dev-vcs/overcommit/Manifest index b627b73c..45de6820 100644 --- a/dev-vcs/overcommit/Manifest +++ b/dev-vcs/overcommit/Manifest @@ -1,2 +1,3 @@ DIST overcommit-0.60.0.tar.gz 198926 BLAKE2B eb5bec2d59bb423f3b9918a96141952c8361fe922abf88df83885904d82152ee5815ca31a12764d27abd0e5a87f4b9c22970921822ae2d77d51bf499baba8406 SHA512 8e962b0899190c3ea92bea8e8410ab07a24c065d85375e3e9278f499ceb3d923736e2f4665da4240318a2139d81fbd1e12365ff19c38031682f4d666b3712a87 DIST overcommit-0.61.0.tar.gz 199110 BLAKE2B 947b74a7039d1bca49a278d8375b1224bbcf30173197e237ebbba6a2c12e367441469ffd2bf217aaa8b2d7bbdd8331e4087159495a0077c0799c0e46a6f71fbf SHA512 cd8513b1306755dec92d08edf530dfe2664a042b95650a6df0f6947ab1bbe0444062af0bac118178e0a1239625b7dacfb724d22d92b87b1ac13a72c087da8264 +DIST overcommit-0.62.0.tar.gz 200711 BLAKE2B 98a806f2aea913f92b7af5b4d2acda0f0a69656dc046585bfddefa3f943c9c3f410438f9c505e6bc48784d776f5e7b1514c2e491ce2c3ad2ed59efa721cf55fc SHA512 0a6b9769c5a4525290d96ab9b257cc28a86d495e4ed6f9cd1984afc64ffa6b4dd8b8ed2d9aa702c097b215dfd962392e3a6eb0bf6111f194eb7ad64fb9293941 diff --git a/dev-vcs/overcommit/overcommit-0.62.0.ebuild b/dev-vcs/overcommit/overcommit-0.62.0.ebuild new file mode 100644 index 00000000..3026f22e --- /dev/null +++ b/dev-vcs/overcommit/overcommit-0.62.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="config libexec template-dir" + +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/sds/overcommit/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" + +ruby_add_rdepend " + || ( dev-ruby/childprocess:5 dev-ruby/childprocess:2 ) + >=dev-ruby/iniparse-1.4:1 + >=dev-ruby/rexml-3.2:3 +" + +all_ruby_prepare() { + sed -i -e "s/_relative //" ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_install() { + each_fakegem_install + + local hdir + hdir="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/template-dir/hooks" + + fperms 0755 "${hdir}"/{commit-msg,overcommit-hook,post-checkout,post-commit,post-merge,post-rewrite,pre-commit,prepare-commit-msg,pre-push,pre-rebase} +} |