diff options
author | Marek Szuba <marecki@gentoo.org> | 2024-04-07 00:48:56 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2024-04-07 02:03:21 +0100 |
commit | 64e5e87b8052428e0b048c082f77218aac9d959e (patch) | |
tree | ee6973395dfcd9a005ddd496c6d90470490e1b39 /dev-vcs/git-machete/git-machete-3.24.2.ebuild | |
parent | dev-libs/sentry-native: drop 0.6.5-r1, 0.6.6 (diff) | |
download | gentoo-64e5e87b8052428e0b048c082f77218aac9d959e.tar.gz gentoo-64e5e87b8052428e0b048c082f77218aac9d959e.tar.bz2 gentoo-64e5e87b8052428e0b048c082f77218aac9d959e.zip |
dev-vcs/git-machete: add 3.24.2, drop 3.22.0
Closes: https://bugs.gentoo.org/922815
Closes: https://bugs.gentoo.org/925302
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-vcs/git-machete/git-machete-3.24.2.ebuild')
-rw-r--r-- | dev-vcs/git-machete/git-machete-3.24.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-vcs/git-machete/git-machete-3.24.2.ebuild b/dev-vcs/git-machete/git-machete-3.24.2.ebuild new file mode 100644 index 000000000000..550b46b65536 --- /dev/null +++ b/dev-vcs/git-machete/git-machete-3.24.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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}] +)" + +PATCHES=( + "${FILESDIR}"/${PN}-3.24.2_no-strays-in-site-packages.patch +) + +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 + + doman docs/man/${PN}.1 + + 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} +} |