Difference between pages "News:Python Updater Deprecation" and "Form:Subarch"

(Difference between pages)
m (Reverted edits by Threesixes (talk) to last revision by Drobbins)
 
 
Line 1: Line 1:
{{News
+
<noinclude>
|Summary=Python-updater is no longer part of Funtoo Linux.
+
This is the 'Subarch' form.
|News Format=Extended
+
To add a page with this form, enter the page name below;
|News Category=General
+
if a page with that name already exists, you will be sent to a form to edit that page.
|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 ==
+
{{#forminput:Subarch}}
<console>
+
###i## emerge --oneshot sys-apps/portage
+
</console>
+
This ensures that unconditional dependencies are properly installed.
+
  
== Python Variables ==
+
</noinclude><includeonly>
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>
+
__NOTITLE__
###i## emerge --nodeps --oneshot sys-apps/portage
+
 
</console>
+
{{{for template|Subarch}}}
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 ==
+
{{TableStart}}
This can be achieved by using eselect.
+
<tr><td>subarch</td><td>{{{field|subarch|mandatory}}}</td></tr>
<console>
+
<tr><td>CHOST</td><td>{{{field|CHOST|mandatory}}}</td></tr>
###i## eselect python --python3 python3.4
+
<tr><td>CFLAGS</td><td>{{{field|CFLAGS|mandatory}}}</td></tr>
</console>
+
<tr><td>USE</td><td>{{{field|USE|list}}}</td></tr>
This command sets  python 3 interpreter to version 3.4. Choose the one you upgrade to.
+
<tr><td>CPU Features</td><td>{{{field|property=CPU Features|input type=checkboxes|default=low-power}}}</td></tr>
== World update ==
+
<tr><td>Description</td><td>{{{field|Description|input type=textarea}}}</td></tr>
Update your world.
+
{{TableEnd}}
<console>
+
 
###i## emerge --update --deep --newuse @world
+
{{{end template}}}
</console>
+
 
{{NewsFooter}}
+
{{{standard input|free text|rows=20}}}
 +
 
 +
{{{standard input|summary}}}
 +
 
 +
{{{standard input|minor edit}}} {{{standard input|watch}}}
 +
 
 +
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 +
</includeonly>

Revision as of 06:09, December 20, 2014

This is the 'Subarch' form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.