summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-09-22 12:28:01 +0100
committerSam James <sam@gentoo.org>2024-09-22 12:28:01 +0100
commit8f7cab403b3b842db9650896f0465d411bd101e7 (patch)
tree2865af0f16b752c89e812dddf9528d3593e10b6b /dev-vcs
parentdev-vcs/git: fixup netrc test handling (diff)
downloadgentoo-8f7cab403b3b842db9650896f0465d411bd101e7.tar.gz
gentoo-8f7cab403b3b842db9650896f0465d411bd101e7.tar.bz2
gentoo-8f7cab403b3b842db9650896f0465d411bd101e7.zip
dev-vcs/git: sync remaining live ebuilds
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git/git-9999-r1.ebuild15
-rw-r--r--dev-vcs/git/git-9999-r2.ebuild15
-rw-r--r--dev-vcs/git/git-9999-r3.ebuild15
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 754773f787a6..6112d2fa6228 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -333,6 +333,10 @@ src_compile() {
git_emake gitweb
fi
+ if use perl ; then
+ git_emake -C contrib/credential/netrc
+ fi
+
if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then
git_emake -C contrib/credential/osxkeychain
fi
@@ -482,6 +486,11 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
+
+ popd &>/dev/null || die
+ if use perl ; then
+ emake -C contrib/credential/netrc testverbose
+ fi
}
src_install() {
@@ -608,6 +617,12 @@ src_install() {
rm -rf "${ED}"/usr/share/gitweb
fi
+ if use perl ; then
+ pushd contrib/credential/netrc &>/dev/null || die
+ dobin git-credential-netrc
+ popd &>/dev/null || die
+ fi
+
if ! use subversion ; then
rm -f "${ED}"/usr/libexec/git-core/git-svn \
"${ED}"/usr/share/man/man1/git-svn.1*
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 754773f787a6..6112d2fa6228 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -333,6 +333,10 @@ src_compile() {
git_emake gitweb
fi
+ if use perl ; then
+ git_emake -C contrib/credential/netrc
+ fi
+
if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then
git_emake -C contrib/credential/osxkeychain
fi
@@ -482,6 +486,11 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
+
+ popd &>/dev/null || die
+ if use perl ; then
+ emake -C contrib/credential/netrc testverbose
+ fi
}
src_install() {
@@ -608,6 +617,12 @@ src_install() {
rm -rf "${ED}"/usr/share/gitweb
fi
+ if use perl ; then
+ pushd contrib/credential/netrc &>/dev/null || die
+ dobin git-credential-netrc
+ popd &>/dev/null || die
+ fi
+
if ! use subversion ; then
rm -f "${ED}"/usr/libexec/git-core/git-svn \
"${ED}"/usr/share/man/man1/git-svn.1*
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 754773f787a6..6112d2fa6228 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -333,6 +333,10 @@ src_compile() {
git_emake gitweb
fi
+ if use perl ; then
+ git_emake -C contrib/credential/netrc
+ fi
+
if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then
git_emake -C contrib/credential/osxkeychain
fi
@@ -482,6 +486,11 @@ src_test() {
# And bail if there was a problem
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
+
+ popd &>/dev/null || die
+ if use perl ; then
+ emake -C contrib/credential/netrc testverbose
+ fi
}
src_install() {
@@ -608,6 +617,12 @@ src_install() {
rm -rf "${ED}"/usr/share/gitweb
fi
+ if use perl ; then
+ pushd contrib/credential/netrc &>/dev/null || die
+ dobin git-credential-netrc
+ popd &>/dev/null || die
+ fi
+
if ! use subversion ; then
rm -f "${ED}"/usr/libexec/git-core/git-svn \
"${ED}"/usr/share/man/man1/git-svn.1*