Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365794 Details for
Bug 494918
dev-lang/python: Force eselect python update on upgrades
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Cleanup eselect_python_update function
eselect-python-cleanup.patch (text/plain), 1.68 KB, created by
Mike Gilbert
on 2013-12-21 04:23:52 UTC
(
hide
)
Description:
Cleanup eselect_python_update function
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2013-12-21 04:23:52 UTC
Size:
1.68 KB
patch
obsolete
>Index: python-2.7.6.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.6.ebuild,v >retrieving revision 1.2 >diff -u -r1.2 python-2.7.6.ebuild >--- python-2.7.6.ebuild 7 Dec 2013 10:48:58 -0000 1.2 >+++ python-2.7.6.ebuild 21 Dec 2013 04:09:22 -0000 >@@ -321,12 +321,11 @@ > } > > eselect_python_update() { >- if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then >- eselect python update >- fi >+ eselect python update --if-unset --python2 >+ eselect python update --if-unset > >- if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then >- eselect python update --python${PV%%.*} >+ if [[ -n ${ESELECT_PYTHON_UPDATE_FORCE} ]]; then >+ eselect python update --python2 > fi > } > >Index: python-3.3.3.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.3.ebuild,v >retrieving revision 1.4 >diff -u -r1.4 python-3.3.3.ebuild >--- python-3.3.3.ebuild 7 Dec 2013 10:48:58 -0000 1.4 >+++ python-3.3.3.ebuild 21 Dec 2013 04:09:22 -0000 >@@ -288,12 +288,11 @@ > } > > eselect_python_update() { >- if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then >- eselect python update >- fi >+ eselect python update --if-unset --python3 >+ eselect python update --if-unset > >- if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then >- eselect python update --python${PV%%.*} >+ if [[ -n ${ESELECT_PYTHON_UPDATE_FORCE} ]]; then >+ eselect python update --python3 > fi > } >
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 494918
:
365792
| 365794