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.
you wrote the distutils code in the file ebuild
(I wanted to avoid potential complaints.) Do you mean that I can commit this patch?
i think dropping EAPI=0 support in the first place is stupid
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}".
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 ...
Fixed.