diff --git a/dev-python/pycurl/pycurl-7.43.0.2.recipe b/dev-python/pycurl/pycurl-7.43.0.2.recipe index cf96575e7..dc4e4d7c6 100644 --- a/dev-python/pycurl/pycurl-7.43.0.2.recipe +++ b/dev-python/pycurl/pycurl-7.43.0.2.recipe @@ -55,11 +55,23 @@ PYTHON_VERSIONS=() if [ -z "$secondaryArchSuffix" ]; then PYTHON_PACKAGES+=(python) PYTHON_LIBSUFFIXES+=("") + BUILD_REQUIRES+=" + setuptools_python + " + BUILD_PREREQUIRES+=" + cmd:python2 + " fi # gcc2 does not support the flags passed by python3 if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then PYTHON_PACKAGES+=(python3) PYTHON_LIBSUFFIXES+=(m) + BUILD_REQUIRES+=" + setuptools_python3 + " + BUILD_PREREQUIRES+=" + cmd:python3 + " fi for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} @@ -81,14 +93,6 @@ for i in "${!PYTHON_PACKAGES[@]}"; do lib:libssl$secondaryArchSuffix lib:libz$secondaryArchSuffix \"" - - BUILD_REQUIRES+=" - setuptools_$pythonPackage - " - BUILD_PREREQUIRES+=" - cmd:python$pythonVersion - devel:libpython$pythonVersion$pythonLibSuffix$secondaryArchSuffix - " done INSTALL()