aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-yoyo-migrations/APKBUILD
blob: efb06d981367bfd248103559df9a0ba49f435108 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-yoyo-migrations
pkgver=6.1.0
pkgrel=3
pkgdesc="Database migrations with SQL"
url="https://ollycope.com/software/yoyo/latest/"
arch="noarch"
license="Apache-2.0"
depends="py3-text-unidecode py3-iniherit py3-setuptools"
options="!check" # no tests in pypi tarballs
source="https://pypi.io/packages/source/y/yoyo-migrations/yoyo-migrations-$pkgver.tar.gz"
builddir="$srcdir/yoyo-migrations-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="8ac045b11cae3d68013457f1fa90a3acfdcb2055c779f56e2deb4fea42920d5e9aa9d8c3c31b22d9d1d6aa702b5ae937b6216fefce2b71f53b7994c92d64a325  yoyo-migrations-6.1.0.tar.gz"