aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-webencodings/APKBUILD
blob: c1625c2a4e66f72b6f4167703ce853590a29c43c (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: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=py3-webencodings
_pkgname=webencodings
pkgver=0.5.1
pkgrel=2
pkgdesc="Character encoding for the web"
url="https://github.com/gsnedders/python-webencodings"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="pytest"
source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/python-$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/python-$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c5cb34f35fb5bc7ffb88c19eb3262dedbf6231c0ee2871dccbc0f9497193d8209fc20703d451a2bb41a5ff913e63abf7481f7a8f9886c953724e9cf71c34cb74  webencodings-0.5.1.tar.gz"