mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-22 06:01:26 +02:00
35 lines
932 B
Plaintext
35 lines
932 B
Plaintext
# Contributor: Drew DeVault <sir@cmpwn.com>
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-sqlalchemy
|
|
pkgver=1.4.32
|
|
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:-auto}
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e9bc125cb531182c97c9588bc7b87028ec334efe63d81d0bee0e7f74b0ce88ac183236298a05cdac42f3a0241b543528bf6f225d199e4bf6d8199caca63581bd SQLAlchemy-1.4.32.tar.gz
|
|
"
|