python-setuptools: upgrade to 38.2.4; use pypi.bbclass; improvements

* Simplify python- and python3-setuptools with pypi.bbclass
* inherit setuptools rather than distutils
* Consolidate common settings in python-setuptools.inc
  - use PYTHON_PN variable to eliminate duplication
  - python3-setuptools had missing RDEPENDS (e.g., plistlib)
  - installer no longer creates setuptools.pth, drop fixes

(From OE-Core rev: 624a6f209248a0c8e0759d43f246c903a8db6a71)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling
2017-11-18 15:57:29 -08:00
committed by Richard Purdie
parent 8aa71adf49
commit 36086ded7e
5 changed files with 51 additions and 82 deletions

View File

@@ -0,0 +1,9 @@
require python-setuptools.inc
PROVIDES = "python-distribute"
inherit setuptools
RREPLACES_${PN} = "python-distribute"
RPROVIDES_${PN} = "python-distribute"
RCONFLICTS_${PN} = "python-distribute"