aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-session/APKBUILD
blob: cf705cc4c308cfe45b8022f8860821c22ace5000 (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-session
_pkgname=bottle-session
pkgver=1.0
pkgrel=0
pkgdesc="Bottle session plugin"
options="!check" # No testsuite on tarball
url="https://bitbucket.org/devries/bottle-session"
arch="noarch"
license="Artistic-2.0"
depends="python3 py3-bottle py3-redis"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

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

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

build() {
	python3 setup.py build
}

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

sha512sums="fe1888d26d20e1a759f31276737b5091f5ba7fc324b07ab778fc3e5b9083b5956bc215824c8fa297ebac7730de22cc6b034efa5b2eafdbfab9bf4019b696c7f2  bottle-session-1.0.tar.gz"