aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-sqlalchemy/APKBUILD
blob: 82bd2d7419afbc201eb543199ef4f5f7df51062c (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
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-sqlalchemy
_pkgname=bottle-sqlalchemy
pkgver=0.4.3
pkgrel=1
pkgdesc="Bottle SQLAlchemy integration plugin"
options="!check" # No testsuite in tarballs or usable github tarballs
url="http://www.github.com/iurisilvio/bottle-sqlalchemy"
arch="noarch"
license="MIT"
depends="python3 py3-bottle py3-sqlalchemy"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

replaces="py-bottle-sqlalchemy" # Backwards compat
provides="py-bottle-sqlalchemy=$pkgver-r$pkgrel" # Backwards compat

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3b7eeafa1d8dcd5864b2a132ccf68eb0dfa738c090101615d0cef68f5b0f1efc2cecd66d34be59ac46aaa14c939e2bf7eeb0b6a8932921fa2bd11dc2dcf3a3aa  bottle-sqlalchemy-0.4.3.tar.gz"