Add back python2-setuptools

This adds back a python 2 version of setuptools but with all dependencies vendored
(the upstream default..). To allow users to install Python 2 packages we no longer
have in the repo etc which should help them transitioning.

This also adds conflicts between py2/3 setuptools because of the esy_install rename.

See #4993
This commit is contained in:
Christoph Reiter
2019-12-22 13:36:53 +01:00
parent 5794808b3b
commit aaa5fd8b39
9 changed files with 271 additions and 2 deletions

View File

@@ -3,10 +3,9 @@
_realname=setuptools
pkgbase=mingw-w64-python-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgname=("${MINGW_PACKAGE_PREFIX}-python3-setuptools")
pkgver=42.0.2
pkgrel=1
pkgrel=2
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (mingw-w64)"
arch=('any')
license=('PSF')
@@ -17,6 +16,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-python3>=3.3"
"${MINGW_PACKAGE_PREFIX}-python3-ordered-set"
"${MINGW_PACKAGE_PREFIX}-python3-appdirs"
"${MINGW_PACKAGE_PREFIX}-python3-six")
conflicts=("${MINGW_PACKAGE_PREFIX}-python2-setuptools<42.0.2")
optdepends=("${MINGW_PACKAGE_PREFIX}-python3-certifi: Mozilla's CA Bundle support"
"${MINGW_PACKAGE_PREFIX}-python3-wincertstore: Windows' cert store support")
makedepends=("${MINGW_PACKAGE_PREFIX}-python3-certifi"