summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999-r1.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-11-18 17:41:57 +0000
committerSam James <sam@gentoo.org>2025-11-18 17:43:02 +0000
commit3ffe4aba4040d02a77a83a34e09da4fbd722ccd0 (patch)
treeb5d05c4cd2cfd92cbc025f4602fcc2b0a1174419 /dev-vcs/git/git-9999-r1.ebuild
parentcda295c4a854b1c89ae56c7b92556cbcb6d94fc0 (diff)
downloadgentoo-3ffe4aba4040d02a77a83a34e09da4fbd722ccd0.tar.gz
gentoo-3ffe4aba4040d02a77a83a34e09da4fbd722ccd0.tar.bz2
gentoo-3ffe4aba4040d02a77a83a34e09da4fbd722ccd0.zip
dev-vcs/git: add 2.52.0
Adds USE=rust as the first release upstream w/ any Rust. It is optional for now but they will make it mandatory in 3.0. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs/git/git-9999-r1.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 510dd57b7512..38de93464194 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -7,8 +7,8 @@ GENTOO_DEPEND_ON_PERL=no
# bug #329479: git-remote-testgit is not multiple-version aware
PYTHON_COMPAT=( python3_{11..14} )
-
-inherit toolchain-funcs perl-module shell-completion optfeature plocale python-single-r1 systemd meson
+RUST_OPTIONAL=1
+inherit toolchain-funcs perl-module shell-completion optfeature plocale python-single-r1 rust systemd meson
PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
@@ -58,7 +58,7 @@ S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
-IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +safe-directory selinux subversion test tk +webdav xinetd"
+IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl rust +safe-directory selinux subversion test tk +webdav xinetd"
# Common to both DEPEND and RDEPEND
DEPEND="
@@ -117,6 +117,7 @@ BDEPEND="
)
keyring? ( virtual/pkgconfig )
nls? ( sys-devel/gettext )
+ rust? ( ${RUST_DEPEND} )
test? (
app-arch/unzip
app-crypt/gnupg
@@ -228,6 +229,7 @@ src_configure() {
$(meson_feature pcre pcre2)
$(meson_feature perl)
$(meson_feature perforce python)
+ $(meson_feature rust)
$(meson_use test tests)
-Dcontrib=$(IFS=, ; echo "${contrib[*]}" )