summaryrefslogtreecommitdiff
path: root/testing/py3-bottle-sqlite/APKBUILD
blob: 8eeb4deefb9c296fb46394e9174135732c9584be (plain)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-sqlite
_pkgname=bottle-sqlite
pkgver=0.2.0
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="5110adc5b1e7196aec28f96495db805bb16cace3ec2b4e4ccd40ad10f5cf8bea811568c3a8c876507ee76d146da0b576c7d0e7d34ca8d7f28ee64d858cedf3e4  bottle-sqlite-0.2.0.tar.gz"