mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
34 lines
927 B
Text
34 lines
927 B
Text
# Contributor: Drew DeVault <sir@cmpwn.com>
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-sqlalchemy
|
|
pkgver=1.4.45
|
|
pkgrel=1
|
|
pkgdesc="object relational mapper for Python"
|
|
url="https://pypi.org/project/SQLAlchemy"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="python3-dev py3-setuptools"
|
|
checkdepends="
|
|
py3-pytest py3-mock py3-pytest-xdist py3-greenlet
|
|
"
|
|
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:-auto}
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
4c6e9ef84c6517f47493ad6ce6d366bc0e7222e7a668d43c7b9f4919e87076a5f7687dc525060e430be23c5d9f12e7ef9d97d679040ff132244aa2b3418974a9 SQLAlchemy-1.4.45.tar.gz
|
|
"
|