blob: e1dcfd60283d14c7a05966a07995edbd2b45ab7b (
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
32
33
34
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-sqlalchemy-migrate
_pkgname=sqlalchemy-migrate
pkgver=0.12.0
pkgrel=3
pkgdesc="SQLAlchemy Schema Migration Tools"
url="https://github.com/openstack/sqlalchemy-migrate"
arch="noarch"
license="MIT"
depends="py3-decorator py3-pbr py3-six py3-sqlalchemy py3-sqlparse py3-tempita"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/openstack/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-sqlalchemy-migrate # Backwards compatibility
provides=py-sqlalchemy-migrate=$pkgver-r$pkgrel # Backwards compatibility
export PBR_VERSION="$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python*/site-packages/migrate/tests
}
sha512sums="95f3a705bd119ea27b17607c2adfd5f88b979640fe5ed1b309d3aea369b63feb205491e3a8a749a48d62c1b5430aa91658b82faf35f26bd8d95b6c15b2a69fde py3-sqlalchemy-migrate-0.12.0.tar.gz"
|