# Contributor: Drew DeVault # Maintainer: Drew DeVault pkgname=py3-sqlalchemy _pkgname=SQLAlchemy pkgver=1.3.8 pkgrel=0 pkgdesc="An object relational mapper for Python" url="https://pypi.python.org/pypi/SQLAlchemy" arch="all" license="MIT" makedepends="python3-dev py3-setuptools" checkdepends=" py3-pytest py3-mock py3-pytest-xdist " source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-sqlalchemy" # Backwards compatibility provides="py-sqlalchemy=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { pytest-3 -n $JOBS } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="150f8b5220a58a91814fcfd1dc87e2a2082628c8bbbf01878cad9a2642d4257dcc45c5d578573bef828b3d05e316c7fa1cb268053fe62dce4cc442b7b080b0d0 SQLAlchemy-1.3.8.tar.gz"