aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-pgsql/APKBUILD
blob: fd2aaf86864d3ca7d513f4e7a24a930fafe54122 (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
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-pgsql
_pkgname=bottle-pgsql
pkgver=0.2
pkgrel=1
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="d45624d5b330be4624cac45a2a631f403679b1fa3799efd2db282ebc89cbc7f89b12c3c128a8be860d700904e420f6a2327a2bb3a18f4b0d490d423c131ef2a3  bottle-pgsql-0.2.tar.gz"