commit:     fc3cd613ae048e588404e8391c6e44d644d69b3e
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 28 21:26:08 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 21:26:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc3cd613

dev-vcs/git-machete: add 3.18.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-vcs/git-machete/Manifest                  |  1 +
 dev-vcs/git-machete/git-machete-3.18.1.ebuild | 45 +++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-vcs/git-machete/Manifest b/dev-vcs/git-machete/Manifest
index 44d89e70fc1f..173db97b65d5 100644
--- a/dev-vcs/git-machete/Manifest
+++ b/dev-vcs/git-machete/Manifest
@@ -1,2 +1,3 @@
 DIST git-machete-3.17.6.gh.tar.gz 1638444 BLAKE2B 
91995dec3dba53cd538db549248d9c42932ab4f4c3b7f016d60e4999617bd428c1c4fcfae3bc2aca75bba7bf62b4466e139ddada47a962f0f7d876cd220dbe34
 SHA512 
0766997db950a04ed5eec560be7fe1e76370d2c5f747bf121241280d44a3aff094c5828535bd11831ce1b326e05d48c8e4edf620c1dcccfbeb20e9d94c3cf023
 DIST git-machete-3.18.0.gh.tar.gz 1639576 BLAKE2B 
cd77ef6c86dc2eee6430bec5d371566082dd9243dc9a99d7b60e78155ce7340f8f798d59073acbb65e75483389d8ffd9a6f75520ed9f1aaa517ea31281dbd672
 SHA512 
ca070000020defa69e4b8592ee77e8b7f6e7a8b0397b90f0f5b6b31a9d46a85f3d17ed96b7795fab145794182d7b40dd8acd9bda498533deada6e6efae24dbca
+DIST git-machete-3.18.1.gh.tar.gz 1640667 BLAKE2B 
6918c7cee6957b431a743b81f2de0851090c5562a7f298df09d77273c9bbdf6da35cebe282d2341dafa735a98ad060fafc99abf70edefd090acf59a3ce675229
 SHA512 
8090c1c60b3422e58c68c4e1317e49477d75b8daef101b315bc6b242515a3586beecb442488819374eeda7076c40fa09369024ba6b57866464b68e22abd18a59

diff --git a/dev-vcs/git-machete/git-machete-3.18.1.ebuild 
b/dev-vcs/git-machete/git-machete-3.18.1.ebuild
new file mode 100644
index 000000000000..c26324c6913a
--- /dev/null
+++ b/dev-vcs/git-machete/git-machete-3.18.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Probably the sharpest git repo organizer & rebase/merge workflow 
automation tool"
+HOMEPAGE="https://github.com/VirtusLab/git-machete 
https://pypi.org/project/git-machete/";
+# No tests in PyPI tarballs
+SRC_URI="https://github.com/VirtusLab/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-vcs/git"
+BDEPEND="test? (
+       >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
+       >=dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}]
+)"
+
+DOCS=( CONTRIBUTING.md README.md )
+
+distutils_enable_tests pytest
+
+# Several of the fish- and zsh-completion tests appear to be broken
+EPYTEST_DESELECT=(
+       
tests/completion_e2e/test_completion_e2e.py::TestCompletionEndToEnd::test_completion
+)
+
+src_install() {
+       distutils-r1_src_install
+
+       newbashcomp completion/${PN}.completion.bash ${PN}
+
+       insinto /usr/share/fish/vendor_completions.d
+       doins completion/${PN}.fish
+
+       insinto /usr/share/zsh/site-functions
+       newins completion/${PN}.completion.zsh _${PN}
+}

Reply via email to