Skip to content

Commit

Permalink
dev-vcs/git: Replace USE=+python with USE=perforce
Browse files Browse the repository at this point in the history
Acked by Lars Wendler on IRC.

Closes: https://bugs.gentoo.org/692030
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Aug 16, 2019
1 parent 217b5db commit a83ca7c
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 47 deletions.
12 changes: 6 additions & 6 deletions dev-vcs/git/git-2.21.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -98,7 +98,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -132,7 +132,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -151,7 +151,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -166,7 +166,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -301,7 +301,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-2.22.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-2.22.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-2.23.0_rc2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-9999-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-9999-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
12 changes: 6 additions & 6 deletions dev-vcs/git/git-9999-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +pcre-jit perforce +perl ppcsha1 tk +threads +webdav xinetd cvs subversion test"

# Common to both DEPEND and RDEPEND
CDEPEND="
Expand Down Expand Up @@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
dev-perl/TermReadKey
)
)
python? ( ${PYTHON_DEPS} )
perforce? ( ${PYTHON_DEPS} )
"

# This is how info docs are created with Git:
Expand Down Expand Up @@ -133,7 +133,7 @@ REQUIRED_USE="
subversion? ( perl )
webdav? ( curl )
pcre-jit? ( pcre )
python? ( ${PYTHON_REQUIRED_USE} )
perforce? ( ${PYTHON_REQUIRED_USE} )
"

PATCHES=(
Expand All @@ -152,7 +152,7 @@ pkg_setup() {
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
ewarn "have been warned."
fi
if use python ; then
if use perforce ; then
python-single-r1_pkg_setup
fi
}
Expand All @@ -167,7 +167,7 @@ exportmakeopts() {
$(usex iconv '' NO_ICONV=YesPlease)
$(usex nls '' NO_GETTEXT=YesPlease)
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
$(usex python '' NO_PYTHON=YesPlease)
$(usex perforce '' NO_PYTHON=YesPlease)
$(usex subversion '' NO_SVN_TESTS=YesPlease)
$(usex threads '' NO_PTHREAD=YesPlease)
$(usex tk '' NO_TCLTK=YesPlease)
Expand Down Expand Up @@ -302,7 +302,7 @@ src_prepare() {
git_emake() {
# bug #320647: PYTHON_PATH
local PYTHON_PATH=""
use python && PYTHON_PATH="${PYTHON}"
use perforce && PYTHON_PATH="${PYTHON}"
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
Expand Down
Loading

0 comments on commit a83ca7c

Please sign in to comment.