mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
34 lines
924 B
Text
34 lines
924 B
Text
# Contributor: Drew DeVault <sir@cmpwn.com>
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-sqlalchemy
|
|
pkgver=1.4.22
|
|
pkgrel=0
|
|
pkgdesc="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 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
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
92a36a77d104db23577dda9add6dca86c1e1c416d3dc552c4dc6049522683da2857c1071c81d216d41a723c11de081af92800acb5d44d69fb0e36ee6756839ce SQLAlchemy-1.4.22.tar.gz
|
|
"
|