diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.14.recipe b/dev-python/sqlalchemy/sqlalchemy-1.3.8.recipe similarity index 66% rename from dev-python/sqlalchemy/sqlalchemy-1.2.14.recipe rename to dev-python/sqlalchemy/sqlalchemy-1.3.8.recipe index 888dab4ee..28d279821 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.14.recipe +++ b/dev-python/sqlalchemy/sqlalchemy-1.3.8.recipe @@ -6,11 +6,11 @@ It provides a full suite of well known enterprise-level persistence patterns, \ designed for efficient and high-performing database access, adapted into a \ simple and Pythonic domain language." HOMEPAGE="https://www.sqlalchemy.org/" -COPYRIGHT="2006-2018 SQLAlchemy authors and contributors" +COPYRIGHT="2006-2019 SQLAlchemy authors and contributors" LICENSE="MIT" REVISION="1" -SOURCE_URI="https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-$portVersion.tar.gz" -CHECKSUM_SHA256="9de7c7dabcf06319becdb7e15099c44e5e34ba7062f9ba10bc00e562f5db3d04" +SOURCE_URI="https://files.pythonhosted.org/packages/fc/49/82d64d705ced344ba458197dadab30cfa745f9650ee22260ac2b275d288c/SQLAlchemy-$portVersion.tar.gz" +CHECKSUM_SHA256="2f8ff566a4d3a92246d367f2e9cd6ed3edeef670dcd6dda6dfdc9efed88bcd80" SOURCE_DIR="SQLAlchemy-$portVersion" ARCHITECTURES="any" @@ -24,28 +24,31 @@ 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]} - eval "PROVIDES_$pythonPackage=\" - ${portName}_$pythonPackage = $portVersion - \"" - eval "REQUIRES_$pythonPackage=\" - haiku - cmd:python$pythonVersion - \"" +pythonPackage=${PYTHON_PACKAGES[i]} +pythonVersion=${PYTHON_VERSIONS[$i]} +eval "PROVIDES_${pythonPackage}=\"\ + ${portName}_$pythonPackage = $portVersion\n\ + cmd:alembic$pythonVersion\n\ + \"; \ +REQUIRES_$pythonPackage=\"\ + haiku\n\ + cmd:python$pythonVersion\ + \"" +BUILD_REQUIRES="$BUILD_REQUIRES + setuptools_$pythonPackage" +BUILD_PREREQUIRES="$BUILD_PREREQUIRES + cmd:python$pythonVersion" done +REPLACES_python=" + python_sqlalchemy + " + BUILD() { for i in "${!PYTHON_PACKAGES[@]}"; do