Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 586698 Details for
Bug 692030
dev-vcs/git: Disable USE=python by default
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] dev-vcs/git: Replace USE=+python with USE=perforce
0001-dev-vcs-git-Replace-USE-python-with-USE-perforce.patch (text/plain), 15.06 KB, created by
Matt Turner
on 2019-08-13 01:42:31 UTC
(
hide
)
Description:
[PATCH] dev-vcs/git: Replace USE=+python with USE=perforce
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2019-08-13 01:42:31 UTC
Size:
15.06 KB
patch
obsolete
>From e2e0ee8678b03a6ebe928bed9fd7602c5e6b281c Mon Sep 17 00:00:00 2001 >From: Matt Turner <mattst88@gentoo.org> >Date: Mon, 12 Aug 2019 18:33:51 -0700 >Subject: [PATCH] dev-vcs/git: Replace USE=+python with USE=perforce > >Closes: https://bugs.gentoo.org/692030 >Signed-off-by: Matt Turner <mattst88@gentoo.org> >--- > dev-vcs/git/git-2.21.0-r2.ebuild | 12 ++++++------ > dev-vcs/git/git-2.22.0.ebuild | 12 ++++++------ > dev-vcs/git/git-2.23.0_rc2.ebuild | 12 ++++++------ > dev-vcs/git/git-9999-r1.ebuild | 12 ++++++------ > dev-vcs/git/git-9999-r2.ebuild | 12 ++++++------ > dev-vcs/git/git-9999-r3.ebuild | 12 ++++++------ > dev-vcs/git/git-9999.ebuild | 10 +++++----- > dev-vcs/git/metadata.xml | 1 + > 8 files changed, 42 insertions(+), 41 deletions(-) > >diff --git a/dev-vcs/git/git-2.21.0-r2.ebuild b/dev-vcs/git/git-2.21.0-r2.ebuild >index 533c6f7f3ee..ec6edbb41bd 100644 >--- a/dev-vcs/git/git-2.21.0-r2.ebuild >+++ b/dev-vcs/git/git-2.21.0-r2.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-2.22.0.ebuild b/dev-vcs/git/git-2.22.0.ebuild >index d691700475c..f3b738828c1 100644 >--- a/dev-vcs/git/git-2.22.0.ebuild >+++ b/dev-vcs/git/git-2.22.0.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-2.23.0_rc2.ebuild b/dev-vcs/git/git-2.23.0_rc2.ebuild >index d691700475c..f3b738828c1 100644 >--- a/dev-vcs/git/git-2.23.0_rc2.ebuild >+++ b/dev-vcs/git/git-2.23.0_rc2.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild >index d691700475c..f3b738828c1 100644 >--- a/dev-vcs/git/git-9999-r1.ebuild >+++ b/dev-vcs/git/git-9999-r1.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild >index d691700475c..f3b738828c1 100644 >--- a/dev-vcs/git/git-9999-r2.ebuild >+++ b/dev-vcs/git/git-9999-r2.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild >index d691700475c..f3b738828c1 100644 >--- a/dev-vcs/git/git-9999-r3.ebuild >+++ b/dev-vcs/git/git-9999-r3.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild >index ce8ae004896..72cfc9203c0 100644 >--- a/dev-vcs/git/git-9999.ebuild >+++ b/dev-vcs/git/git-9999.ebuild >@@ -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 \ >diff --git a/dev-vcs/git/metadata.xml b/dev-vcs/git/metadata.xml >index f7690883557..53353adb386 100644 >--- a/dev-vcs/git/metadata.xml >+++ b/dev-vcs/git/metadata.xml >@@ -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> >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 692030
: 586698