~dricottone/huttese-apk

ref: 275453c31b2070af933648df1c98731418f545a7 huttese-apk/sr.ht/py3-alembic/APKBUILD -rw-r--r-- 888 bytes
275453c3 — Drew DeVault sr.ht/py3-amqp: bump pkgrel 4 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-alembic
_pyname=alembic
pkgver=1.3.2
pkgrel=0
pkgdesc="Lightweight database migration tool for usage with SQLAlchemy"
url="https://bitbucket.org/zzzeek/alembic"
arch="noarch"
license="MIT"
depends="py3-mako py3-dateutil py3-sqlalchemy py3-editor"
makedepends="python3-dev py3-setuptools py3-mock py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-alembic py2-alembic"
builddir="$srcdir/${_pyname}-${pkgver}"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="bbd5f013ef532b3e5d4bcb49990c3416f2c3bec33631fc15d99ee2ddb0d06ca5bf83e7fc3355e93145df4811c2d00fedb034753aea7af5f72ed9c9fd13b98f17  alembic-1.3.2.tar.gz"