Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308277 - app-admin/sabayon: Verify and potentially improve Python-related code
Summary: app-admin/sabayon: Verify and potentially improve Python-related code
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: 308257 313471
  Show dependency tree
Reported: 2010-03-07 16:59 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-01-27 19:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

sabayon-2.22.1.ebuild.patch (sabayon-2.22.1.ebuild.patch,595 bytes, patch)
2010-05-31 15:37 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.