From Funtoo
(Difference between pages)
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| {{News | | {{Person |
| |Summary=Python-updater is no longer part of Funtoo Linux. | | |Geoloc=42.331427, -83.0457538 |
| |News Format=Extended | | |Location name=Detroit |
| |News Category=General
| | |Blogs= |
| |Author=Oleg
| |
| |Publication Status=Published
| |
| |Deprecated By=
| |
| |Publication Date=2014/12/06
| |
| |Icon= | |
| }} | | }} |
| As some users have noticed, the python-updater package, a tool for scanning and rebuilding python packages after major Python version updates is now removed. As of Nov 28, python-updater is no longer required. After merging new version of python ebuilds, the following steps are required:
| |
|
| |
| == Portage rebuild ==
| |
| <console>
| |
| ###i## emerge --oneshot sys-apps/portage
| |
| </console>
| |
| This ensures that unconditional dependencies are properly installed.
| |
|
| |
| == Python Variables ==
| |
| In Funtoo Linux, PYTHON variables are set automatically in profile. In case PYTHON_* variables are manually set in <code>/etc/portage/make.conf</code> , such as <code>PYTHON_ABIS="2.7 3.3"</code>, and/or <code>/etc/portage/package.use</code>, such as <code>app-category/pkgname python_abis_3.3</code> , then change them accordingly to a version you which you upgraded. Example: <code>PYTHON_ABIS="2.7 3.4"</code>, <code>python_abis_3.4</code>. This requires updating Portage again:
| |
| <console>
| |
| ###i## emerge --nodeps --oneshot sys-apps/portage
| |
| </console>
| |
| This will rebuild portage independently of package dependencies, i.e if packages with old sys-apps/portage[python_abis_3.3] dependencies still present.
| |
| == Changing the Python Active Version ==
| |
| This can be achieved by using eselect.
| |
| <console>
| |
| ###i## eselect python --python3 python3.4
| |
| </console>
| |
| This command sets python 3 interpreter to version 3.4. Choose the one you upgrade to.
| |
| == World update ==
| |
| Update your world.
| |
| <console>
| |
| ###i## emerge --update --deep --newuse @world
| |
| </console>
| |
| {{NewsFooter}}
| |
Latest revision as of 06:15, February 15, 2015
Location
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"100%","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":5,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"","title":"","link":"","lat":42.331427,"lon":-83.0457538,"icon":""}],"imageoverlays":null}
Detroit