# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-bottle-pgsql _pkgname=bottle-pgsql pkgver=0.2 pkgrel=3 pkgdesc="Bottle PgSQL integration plugin" options="!check" # No testsuite url="https://github.com/raisoblast/bottle-pgsql" arch="noarch" license="MIT" depends="python3 py3-bottle" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-bottle-pgsql" # Backwards compatibility provides="py-bottle-pgsql=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="d45624d5b330be4624cac45a2a631f403679b1fa3799efd2db282ebc89cbc7f89b12c3c128a8be860d700904e420f6a2327a2bb3a18f4b0d490d423c131ef2a3 bottle-pgsql-0.2.tar.gz"