Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308277

Summary: app-admin/sabayon: Verify and potentially improve Python-related code
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 308257, 313471    
Attachments: sabayon-2.22.1.ebuild.patch

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-07 16:59:49 UTC
- If this package could support installation for multiple versions of Python,
  then please try to adjust the ebuilds to support it.
- Ensure that the ebuilds do not use deprecated functions or variables.
- Please check if Python 3 is supported by this package.
- If this package does not support Python 3:
  - Specify dependency on Python 2.
    You can use PYTHON_DEPEND helper variable, which should be set before
    inheriting of python eclass.
  - If this package cannot support installation for multiple versions of
    Python, then set active version of Python using
  - Ensure that shebangs in installed scripts specify correct version of
    Python. If shebangs are too generic (e.g. '#!/usr/bin/python'), then you
    can use python_convert_shebangs() to convert shebangs.
    (Wrapper scripts generated by python_generate_wrapper_scripts() do not
    require any changes.)

Please see documentation [1] for more details.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-07 19:52:44 UTC
there is certainly no urge to do this as the current ebuild didn't cause any reported problems in the years sabayon has been around, moving to P2.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-31 15:37:26 UTC
Created attachment 233685 [details, diff]

This patch only removes deprecation warnings.

I will commit this patch, if you don't object in 1 week.
Comment 3 Pacho Ramos gentoo-dev 2011-01-27 19:22:04 UTC
+  27 Jan 2011; Pacho Ramos <> -sabayon-2.25.0.ebuild,
+  -sabayon-2.28.1.ebuild, sabayon-2.30.1.ebuild:
+  Let this compile when python3 is main interpreter, bump to eapi3. Remove old.