mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 12:45:20 +03:00
33 lines
967 B
Text
33 lines
967 B
Text
# Contributor: Drew DeVault <sir@cmpwn.com>
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-sqlalchemy
|
|
pkgver=1.3.17
|
|
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/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"
|
|
builddir="$srcdir/SQLAlchemy-$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="6f6d54b9018ece6c289f28a3a41ffb1b2216206edee08c49f387e9f30740969dfe0f8272654ce4efca159a2a6619e76c41b2ad2b10c391cdd64681ac17d0bc79 SQLAlchemy-1.3.17.tar.gz"
|