Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362345 - sys-apps/file uses distutils.eclass in deprecated way
Summary: sys-apps/file uses distutils.eclass in deprecated way
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 20:36 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-04-07 20:41 UTC (History)
0 users

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


Attachments
sys-apps_file.patch (sys-apps_file.patch,1.70 KB, patch)
2011-04-06 20:36 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 2011-04-06 20:36:04 UTC
Created attachment 268759 [details, diff]
sys-apps_file.patch

Usage of distutils.eclass in packages supporting installation for multiple Python ABIs in EAPI <=1 is deprecated since 2010-08-02 and will be disallowed on 2011-06-01. (Unconditional deprecation warnings will be introduced when less than 10 ebuilds are not yet fixed.)
I'm attaching the patch.
Comment 1 SpanKY gentoo-dev 2011-04-06 21:38:41 UTC
you wrote the distutils code in the file ebuild
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-07 00:43:56 UTC
(I wanted to avoid potential complaints.)
Do you mean that I can commit this patch?
Comment 3 SpanKY gentoo-dev 2011-04-07 01:14:29 UTC
i think dropping EAPI=0 support in the first place is stupid
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-07 11:47:03 UTC
Alternatively Python bindings of sys-apps/file could be split into a separate package (e.g. dev-python/python-file).sys-apps/file ebuilds would use EAPI="0" and contain PDEPEND="python? ( ~dev-python/python-file-${PV} )". dev-python/python-file ebuilds would use EAPI="2" and contain {,R}DEPEND="~sys-apps/file-${PV}".
Comment 5 SpanKY gentoo-dev 2011-04-07 19:48:58 UTC
yeah, no.  just commit your patch here.  lack of EAPI=0 in sys-apps/file probably isnt an issue as it isnt a core package that other things depend on.  it's simply in the "system" set.  although we might want to revisit that on gentoo-dev ...
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-07 20:41:24 UTC
Fixed.