Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365792 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]
Add ESELECT_PYTHON_UPDATE_FORCE variable
eselect-python-force.patch (text/plain), 1.26 KB, created by
Mike Gilbert
on 2013-12-21 04:19:39 UTC
(
hide
)
Description:
Add ESELECT_PYTHON_UPDATE_FORCE variable
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2013-12-21 04:19:39 UTC
Size:
1.26 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:18:13 -0000 >@@ -328,6 +328,10 @@ > if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then > eselect python update --python${PV%%.*} > fi >+ >+ if [[ -n ${ESELECT_PYTHON_UPDATE_FORCE} ]]; then >+ eselect python update --python2 >+ fi > } > > pkg_postinst() { >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:18:13 -0000 >@@ -295,6 +295,10 @@ > if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then > eselect python update --python${PV%%.*} > fi >+ >+ if [[ -n ${ESELECT_PYTHON_UPDATE_FORCE} ]]; then >+ eselect python update --python3 >+ fi > } > > pkg_postinst() {
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