dev-vcs/git: Replace USE=+python with USE=perforce
authorMatt Turner <mattst88@gentoo.org>
Tue, 13 Aug 2019 01:33:51 +0000 (18:33 -0700)
committerMatt Turner <mattst88@gentoo.org>
Fri, 16 Aug 2019 22:58:05 +0000 (15:58 -0700)
Acked by Lars Wendler on IRC.

Closes: https://bugs.gentoo.org/692030
Signed-off-by: Matt Turner <mattst88@gentoo.org>
dev-vcs/git/git-2.21.0-r2.ebuild
dev-vcs/git/git-2.22.0.ebuild
dev-vcs/git/git-2.22.1.ebuild
dev-vcs/git/git-2.23.0_rc2.ebuild
dev-vcs/git/git-9999-r1.ebuild
dev-vcs/git/git-9999-r2.ebuild
dev-vcs/git/git-9999-r3.ebuild
dev-vcs/git/git-9999.ebuild
dev-vcs/git/metadata.xml

index 533c6f7f3eef5f7134eb77f681883d1391353675..ec6edbb41bd90c205feef13a6b8318ffbffbdb30 100644 (file)
@@ -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="
@@ -98,7 +98,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -132,7 +132,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index d691700475c6227573f4fd935541787fb44047a6..f3b738828c17456b6ab182076f1eacf5b7b55dde 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -133,7 +133,7 @@ REQUIRED_USE="
        subversion? ( perl )
        webdav? ( curl )
        pcre-jit? ( pcre )
-       python? ( ${PYTHON_REQUIRED_USE} )
+       perforce? ( ${PYTHON_REQUIRED_USE} )
 "
 
 PATCHES=(
@@ -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
 }
@@ -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)
@@ -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 \
index ce8ae004896dd438c7ee869fdeca3f44a3f0638c..72cfc9203c088f9842d52a39e755ebfd3a3a7f72 100644 (file)
@@ -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="
@@ -99,7 +99,7 @@ RDEPEND="${CDEPEND}
                        dev-perl/TermReadKey
                )
        )
-       python? ( ${PYTHON_DEPS} )
+       perforce? ( ${PYTHON_DEPS} )
 "
 
 # This is how info docs are created with Git:
@@ -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
 }
@@ -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)
@@ -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 \
index f769088355745129780da0babd6cc89fdfa1af7b..53353adb38628ae15cb22273818d97cb2c2270a7 100644 (file)
@@ -32,6 +32,7 @@
     <flag name="mediawiki">Support pulling and pushing from MediaWiki</flag>
     <flag name="mediawiki-experimental">Add experimental patches for improved MediaWiki support</flag>
     <flag name="pcre-jit">Enable JIT for pcre</flag>
+    <flag name="perforce">Add support for Perforce version control system (requires manual installation of Perforce client)</flag>
     <flag name="ppcsha1">Make use of a bundled routine that is optimized for the PPC arch</flag>
     <flag name="subversion">Include git-svn for <pkg>dev-vcs/subversion</pkg> support</flag>
     <flag name="tk">Include the 'gitk' and 'git gui' tools</flag>