~dricottone/huttese-apk

ref: 56ea7f0ef754051e1bf3bd6b76a0e075d3086aa4 huttese-apk/sr.ht/py3-alembic/APKBUILD -rw-r--r-- 888 bytes
56ea7f0e — Drew DeVault pkgkit: generate new abuild keys if necessary 4 years ago
                                                                                
cb4c58b7 Drew DeVault
32e391ce Drew DeVault
cb4c58b7 Drew DeVault
32e391ce Drew DeVault
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.4.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="82bdfe442c19033aa2b802ec49edd13ed265c00a2b5a048490a83ffa8e53587c56a90b64d554e746a9189923419c528482cb7a7c950c210e0de47b32fa7c270e  alembic-1.4.2.tar.gz"