# Contributor: Drew DeVault # Maintainer: Drew DeVault pkgname=py3-sqlalchemy _pkgname=SQLAlchemy pkgver=1.3.12 pkgrel=0 pkgdesc="An object relational mapper for Python" options="!check" # 2 failed, 8530 passed, 1009 skipped 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="2748d945f0cabdb35fe1277045a32ef6e030f07c761715b6c02228af35ec470b829b29ade481d3b96a6da54329575d6e79c62539420800b4f5e3f56dcb2f7326 SQLAlchemy-1.3.12.tar.gz"