psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

28 lines
820 B
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-yoyo-migrations
pkgver=6.1.0
pkgrel=4
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 --skip-build --root="$pkgdir"
}
sha512sums="8ac045b11cae3d68013457f1fa90a3acfdcb2055c779f56e2deb4fea42920d5e9aa9d8c3c31b22d9d1d6aa702b5ae937b6216fefce2b71f53b7994c92d64a325 yoyo-migrations-6.1.0.tar.gz"