diff --git a/dev-python/pyasn1/pyasn1-0.4.4.recipe b/dev-python/pyasn1/pyasn1-0.4.7.recipe similarity index 88% rename from dev-python/pyasn1/pyasn1-0.4.4.recipe rename to dev-python/pyasn1/pyasn1-0.4.7.recipe index d2898d134..6a348a729 100644 --- a/dev-python/pyasn1/pyasn1-0.4.4.recipe +++ b/dev-python/pyasn1/pyasn1-0.4.7.recipe @@ -8,7 +8,7 @@ COPYRIGHT="2007-2018 Ilya Etingof" LICENSE="BSD (2-clause)" REVISION="1" SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-$portVersion.tar.gz" -CHECKSUM_SHA256="f58f2a3d12fd754aa123e9fa74fb7345333000a035f3921dbdaa08597aa53137" +CHECKSUM_SHA256="a9495356ca1d66ed197a0f72b41eb1823cf7ea8b5bd07191673e8147aecf8604" ARCHITECTURES="any" @@ -21,16 +21,10 @@ REQUIRES=" BUILD_REQUIRES=" haiku_devel - setuptools_python - setuptools_python3 - " -BUILD_PREREQUIRES=" - cmd:python - cmd:python3 " -PYTHON_PACKAGES=(python python3) -PYTHON_VERSIONS=(2.7 3.6) +PYTHON_PACKAGES=(python python36 python3) +PYTHON_VERSIONS=(2.7 3.6 3.7) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} pythonVersion=${PYTHON_VERSIONS[$i]} @@ -42,6 +36,10 @@ for i in "${!PYTHON_PACKAGES[@]}"; do haiku cmd:python$pythonVersion\ \"" +BUILD_REQUIRES="$BUILD_REQUIRES + setuptools_$pythonPackage" +BUILD_PREREQUIRES="$BUILD_PREREQUIRES + cmd:python$pythonVersion" done BUILD()