diff options
author | 2021-06-01 06:58:13 +0200 | |
---|---|---|
committer | 2021-06-01 06:58:13 +0200 | |
commit | fe0e255cf8dd975e118aa19dc59d9d3f2403b97a (patch) | |
tree | f6e8c6901411b4735d963bcde30db4ffba75b3c7 /dev-vcs | |
parent | dev-ruby/oedipus_lex: add 2.5.3 (diff) | |
download | graaff-fe0e255cf8dd975e118aa19dc59d9d3f2403b97a.tar.gz graaff-fe0e255cf8dd975e118aa19dc59d9d3f2403b97a.tar.bz2 graaff-fe0e255cf8dd975e118aa19dc59d9d3f2403b97a.zip |
dev-vcs/overcommit: add 0.58.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2
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.58.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-vcs/overcommit/Manifest b/dev-vcs/overcommit/Manifest index de691f61..0c053d5d 100644 --- a/dev-vcs/overcommit/Manifest +++ b/dev-vcs/overcommit/Manifest @@ -2,3 +2,4 @@ DIST overcommit-0.52.0.tar.gz 189590 BLAKE2B 85c5cd9f16f972754595f8b42a812f4c7d2 DIST overcommit-0.52.1.tar.gz 189658 BLAKE2B b9aea2c9e418401f52391847973c03c7c98fc30c4bf1ea0fe3e34595f879788a80ac1be90d859b429b07933b020e93cd8784035925c3488bf483719471374310 SHA512 c3986098bdfe3188b6562918d2fda36986594a04127cf46189db4fcdb658c452ee8a52f0fd2c9d63439f43e0fe0c2890cc1901430970d17e6de44f980468d4ca DIST overcommit-0.55.0.tar.gz 190716 BLAKE2B 45b402c1b020d3211d62371024a056fdd00ac4604fcaa4fef52d5235a18fe3f52edcd42f29ec34aab5c42fe6bc7da8850e536bab0876884a6030a5f85c72f1c8 SHA512 0af87d8b2ef4fba8ca274292ec73754e86bc5da51732e9d45cb1d5797119426ff4e3c39d119fa6f475e3276c3230b45e1ebfb12a438c3eae2d731f397bb94c4b DIST overcommit-0.57.0.tar.gz 193539 BLAKE2B e430916592baf5906c9458ce9648498903702d93a1f9e07f12054878aca0cec6a7d4d032b612e5f20d51e1275e57efb5bfd94ad0e94ecc41c054ecefe5e50a9a SHA512 b7834475e2028cecc9d9c59fee102207b17cdead652f577f1334a109ec2d537ffe0c652cf97af6825602748be865330eabfd50000bd52012e005f23d1204a38d +DIST overcommit-0.58.0.tar.gz 196477 BLAKE2B 28c03042c9fe51a63711da584f5fe25a2ac266eb87ef66c9ab6599ebbfc2dddb6b6bf692d1b6671b53a609d04c41a2b2a3b4c6bdca645ca90e727375410c9fe5 SHA512 d63dad5f187211ce92737f3f2658371f1e685afb3e2d3340d1faf46103f6aff0d9283634fb0cfd760fe3cdd6536e42a8f8994d27db0a131342ed04564c83fd3c diff --git a/dev-vcs/overcommit/overcommit-0.58.0.ebuild b/dev-vcs/overcommit/overcommit-0.58.0.ebuild new file mode 100644 index 00000000..6f687466 --- /dev/null +++ b/dev-vcs/overcommit/overcommit-0.58.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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/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 + >=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 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} +} |