diff --git a/dev-python/pandas/pandas-0.23.4.recipe b/dev-python/pandas/pandas-0.23.4.recipe index 6fdbc47fe..a32a933bd 100644 --- a/dev-python/pandas/pandas-0.23.4.recipe +++ b/dev-python/pandas/pandas-0.23.4.recipe @@ -13,8 +13,8 @@ REVISION="1" SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pandas/pandas-$portVersion.tar.gz" CHECKSUM_SHA256="5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4" -ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" -SECONDARY_ARCHITECTURES="?x86" +ARCHITECTURES="!x86_gcc2 ?x86 x86_64" +SECONDARY_ARCHITECTURES="!x86" PROVIDES=" pandas$secondaryArchSuffix = $portVersion @@ -35,31 +35,15 @@ BUILD_PREREQUIRES=" PYTHON_PACKAGES=() PYTHON_VERSIONS=() PYTHON_LIBSUFFIXES=() -# We don't have python2 for secondaryArch -if [ -z "$secondaryArchSuffix" ]; then - PYTHON_PACKAGES+=(python) - PYTHON_VERSIONS+=(2.7) - PYTHON_LIBSUFFIXES+=("") - BUILD_REQUIRES+=" - setuptools_python - cython_python - python_numpy - dateutil_python - pytz_python - " - BUILD_PREREQUIRES+=" - cmd:python2 - " -fi # gcc2 does not support the flags passed by python3 if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then PYTHON_PACKAGES+=(python3) - PYTHON_VERSIONS+=(3.6) + PYTHON_VERSIONS+=(3.7) PYTHON_LIBSUFFIXES+=(m) BUILD_REQUIRES+=" setuptools_python3 cython_python3$secondaryArchSuffix - python3_numpy$secondaryArchSuffix + numpy${secondaryArchSuffix}_python3 dateutil_python3 pytz_python3 " @@ -102,6 +86,7 @@ BUILD() cd "$sourceDir"-$pythonPackage python=python$pythonVersion + $python setup.py build_ext --inplace $python setup.py build done }