diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-28 02:00:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-28 02:00:16 +0000 |
commit | a2148b9fab4c83209816a49f091d70873b19881d (patch) | |
tree | aeeaea24918f3a0df7fc0e4e013c68df40469897 /dev-vcs | |
parent | ead7697a01fd631b56240b2d58aedd98ba7f92d3 (diff) |
gentoo auto-resync : 28:11:2024 - 02:00:16
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/Manifest.gz | bin | 11847 -> 11856 bytes | |||
-rw-r--r-- | dev-vcs/git-extras/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/git-extras/git-extras-7.3.0.ebuild | 76 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-vcs/Manifest.gz b/dev-vcs/Manifest.gz Binary files differindex 25c8bae72f36..20411416a787 100644 --- a/dev-vcs/Manifest.gz +++ b/dev-vcs/Manifest.gz diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest index 740659a7d961..19cddcc125eb 100644 --- a/dev-vcs/git-extras/Manifest +++ b/dev-vcs/git-extras/Manifest @@ -1,5 +1,7 @@ DIST git-extras-7.1.0.tar.gz 176733 BLAKE2B 697f09c2993e85595620e272465ad2f4afa3bbd456a1041b92b01a98f962f3aa1fb5f22f1c9ef7e484b87734e8c9e8d15da15f71fb345b9049dd5bb1b98093c9 SHA512 955161b40c48ab92578efe487db78ea8d0fff499aaf8d4da2b13e8194a7f9297a84542c8642dd3a7c61c9a4d1e92342b5c586d341e4a003c9838d5e9731127b9 DIST git-extras-7.2.0.tar.gz 183043 BLAKE2B 242adf211a39666b97996f0a45073171034930fe29ee3ebbfa07068886367832e17cc76398145d8802d32201c2563c8f2ba4171ed206344fbefbb10c4fadd6f3 SHA512 c97c00bab24415574c8b38f259a0becd5da2edafe8cb5ff373de50917bc2854e39b1c396c42b603d4f203af2853d0ebaefe074bfe353f7692af7b1a13e744586 +DIST git-extras-7.3.0.tar.gz 186768 BLAKE2B f9f32688fa286be67f6e64c4d061c9587bb664c60f1af2042130b6b18b04500f44cb9991a86c458cf5b613eebf3de6c119da0738b9425dff80a7036089ad4337 SHA512 14cb5cef986a4aeb12c8c1db332aafed14bc68cf830b17a00eef617dff9f120c3c68244d56300715d8d3ce61420399d5411f23a40ffec44d60332118fe36eb22 EBUILD git-extras-7.1.0.ebuild 1107 BLAKE2B 28fa8fbbe22d6364d62a2044cb33a0674c77200caf56bb1a1bbf79d6459cea814d70930bfde79cca51ade2b800a00cb28f81d5cbc2849cac45fb9d26103cef2d SHA512 9da846bf1166b5a9a617c29b8220ec16f3980d01326466454df053cda4a7482e080e954269a076a4ad4d13019e2ff9e97eddb36177207eac181c5a6116b79648 EBUILD git-extras-7.2.0.ebuild 1692 BLAKE2B 18164d502e943a08001899469538c09d3092619ddec1aec2bf51b05e76fc38779be86cfc17b17c8c39852f4658749d18052dd3565a0ed544d79d4250b4079ae1 SHA512 8edef51aed2ecaebfdc707106cd8aa0b5bd0ab23a79cebed86434599c1c6e861058e66179207cb849c7e88753ad6fd4188b15c9915103b15088241f919ca52f2 +EBUILD git-extras-7.3.0.ebuild 1692 BLAKE2B 18164d502e943a08001899469538c09d3092619ddec1aec2bf51b05e76fc38779be86cfc17b17c8c39852f4658749d18052dd3565a0ed544d79d4250b4079ae1 SHA512 8edef51aed2ecaebfdc707106cd8aa0b5bd0ab23a79cebed86434599c1c6e861058e66179207cb849c7e88753ad6fd4188b15c9915103b15088241f919ca52f2 MISC metadata.xml 318 BLAKE2B d62d3d04e485a54a0790bbe4390525d6f3ee34ce8ce0c863de54f80c54bfd78f60a32222c0ad101343c3ee7040d5894671a7669c8fc89082bef827cb4edff7ef SHA512 608c0ded622cf20a6d23659fd42295b4c3d70127896b35be659c6d200d649cf496eda5a217deb356754919e0e9d0b635ad38d9b23ae4badd9fdfcf9887f20258 diff --git a/dev-vcs/git-extras/git-extras-7.3.0.ebuild b/dev-vcs/git-extras/git-extras-7.3.0.ebuild new file mode 100644 index 000000000000..45de416dfecf --- /dev/null +++ b/dev-vcs/git-extras/git-extras-7.3.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +inherit bash-completion-r1 python-any-r1 + +DESCRIPTION="Git utilities -- repo summary, repl, changelog population, and many more" +HOMEPAGE="https://github.com/tj/git-extras" +SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-shells/bash-4.0:* + dev-vcs/git +" +BDEPEND=" + test? ( + $(python_gen_any_dep ' + >=dev-python/gitpython-3.1.40[${PYTHON_USEDEP}] + >=dev-python/pytest-7.2[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version ">=dev-python/gitpython-3.1.40[${PYTHON_USEDEP}]" && + python_has_version ">=dev-python/pytest-7.2[${PYTHON_USEDEP}]" && + python_has_version "dev-python/testpath[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + # For now, don't force including the git completion + sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh || die +} + +src_compile() { + return +} + +src_test() { + epytest +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + SYSCONFDIR="${EPREFIX}/etc" \ + COMPL_DIR="${D}/$(get_bashcompdir)" \ + install + + # TODO: Unfortunately, none of the completion seems to + # actually work for me yet(?) + + newbashcomp "${S}"/etc/bash_completion.sh ${PN} + + insinto /usr/share/zsh/site-functions + newins "${S}"/etc/${PN}-completion.zsh _${PN} + + insinto /usr/share/fish/vendor_completions.d + doins "${S}"/etc/${PN}.fish +} |