Add back depends_on directives needed to bootstrap on Python 3.6 (#34355)
This partially reverts commit 95b5d54129
.
This commit is contained in:
parent
99f209019e
commit
d910b3725b
@ -74,6 +74,12 @@ class PyPip(Package, PythonExtension):
|
||||
)
|
||||
|
||||
extends("python")
|
||||
depends_on("python@3.7:", when="@22:", type=("build", "run"))
|
||||
depends_on("python@3.6:", when="@21:", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.5:", when="@19.2:", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.4:", when="@18:", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.3:", when="@10:", type=("build", "run"))
|
||||
depends_on("python@2.6:2.8,3.3:", type=("build", "run"))
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "https://files.pythonhosted.org/packages/{0}/p/pip/pip-{1}-{0}-none-any.whl"
|
||||
|
@ -176,6 +176,11 @@ class PySetuptools(Package, PythonExtension):
|
||||
)
|
||||
|
||||
extends("python")
|
||||
depends_on("python@3.7:", when="@59.7:", type=("build", "run"))
|
||||
depends_on("python@3.6:", when="@51:", type=("build", "run"))
|
||||
depends_on("python@3.5:", when="@45:50", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.5:", when="@44", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.4:", when="@:43", type=("build", "run"))
|
||||
depends_on("py-pip", type="build")
|
||||
|
||||
def url_for_version(self, version):
|
||||
|
@ -72,6 +72,9 @@ class PyWheel(Package, PythonExtension):
|
||||
)
|
||||
|
||||
extends("python")
|
||||
depends_on("python@2.7:2.8,3.5:", when="@0.34:", type=("build", "run"))
|
||||
depends_on("python@2.7:2.8,3.4:", when="@0.30:", type=("build", "run"))
|
||||
depends_on("python@2.6:2.8,3.2:", type=("build", "run"))
|
||||
depends_on("py-pip", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
|
Loading…
Reference in New Issue
Block a user