python,python3: Record PKG_RELEASE for host setuptools/pip
authorJeffery To <redacted>
Fri, 31 May 2019 19:52:23 +0000 (03:52 +0800)
committerJeffery To <redacted>
Fri, 31 May 2019 19:52:23 +0000 (03:52 +0800)
commit1f1eacc48419f3beed244091ae827e3f7ce8b6d7
tree57209dfffae4ad33de4d8f171d4da5b511f2f5a4
parent99411ab7437bb1b5b5990bfbfa44128bbbf15b7b
python,python3: Record PKG_RELEASE for host setuptools/pip

This changes the "patched" indicator files for host setuptools and pip
to include their PKG_RELEASE values. This also removes host setuptools
and/or pip before host install, if the installed copy does not match the
version (and PKG_RELEASE) of the copy to be installed.

This will allow added or removed patches to affect host setuptools /
pip, since these changes will cause PKG_RELEASE to be incremented.

This also fixes the host install error, when the install tries to patch
an already patched copy of setuptools. (This error occurs because the
existing indicator files do not have version numbers in their file
names, whereas host install expected version numbers to be present.)

Signed-off-by: Jeffery To <redacted>
lang/python/python/Makefile
lang/python/python3/Makefile
git clone https://git.99rst.org/PROJECT