1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/testing/py3-bottle-sqlite/APKBUILD
2019-09-07 13:18:16 -03:00

28 lines
946 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-sqlite
_pkgname=bottle-sqlite
pkgver=0.1.3
pkgrel=1
pkgdesc="Bottle sqlite plugin"
options="!check" # No testsuite
url="https://pypi.python.org/pypi/bottle-sqlite"
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-sqlite" # Backwards compatibility
provides="py-bottle-sqlite=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="670f44bdb8d6c62205b264abcc03c8bbbd7ae34c85dbaaa0ad2c6f6902ea590035190f86ba24366ca2b4befe5488592278d31074dfdc2c897d9ad1bfc7e0a9e9 bottle-sqlite-0.1.3.tar.gz"