blob: a8928d2564314cb2b3236f075c8bebf886b3ddc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor:
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-alembic
_pkgname=alembic
pkgver=1.7.7
pkgrel=1
pkgdesc="A database migration tool for SQLAlchemy."
url="https://pypi.org/project/alembic/"
arch="noarch"
license="MIT"
depends="python3 py3-sqlalchemy py3-mako py3-python-editor py3-dateutil"
checkdepends="py3-pytest"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
dcb4ba2faafc3ee789981931e0548f7328c1118938150789218e720f39386fd5e7e2543ab241838bcc1faaf36db07900fd065963496e68ced0896a5f4795d63d alembic-1.7.7.tar.gz
"
|