aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cookies/APKBUILD
blob: 1ff4fe78d4c266ede93589b54b0ecd03f7af877b (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
29
30
31
# Maintainer:
pkgname=py3-cookies
pkgver=2.2.1
pkgrel=3
pkgdesc="generate and validate cookies check digits"
options="!check" # test_encoding_assumptions fails
url="https://pypi.python.org/pypi/cookies/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-amqp"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/c/cookies/cookies-$pkgver.tar.gz"
builddir="$srcdir/cookies-$pkgver"

replaces="py-cookies" # Backwards compatibility
provides="py-cookies=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

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

sha512sums="76f362a9a1d74b87c90c5b91ad806d872612d31f487e4067a627409316f6099602c9e5a429f85ce20adcb0a7b63dd131b9e1ecc5c0c6444d1569367432a719de  cookies-2.2.1.tar.gz"