aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-colander/APKBUILD
blob: 53ff74e74b8dd5393fb2182089a147700f167e11 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-colander
_pkgname=colander
pkgver=1.7.0
pkgrel=1
pkgdesc="A simple schema-based Python serialization and deserialization library"
url="http://docs.pylonsproject.org/projects/colander/en/latest/"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-iso8601 py3-translationstring"
checkdepends="py3-nose py3-coverage"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="135fe3d5d8a3fc613a30fb2a6a722ad7da2bedb32259d9cb955dcf38dd8cd9353f7b447b27fb1f16df94b3899e6ffa03514bab4a2e2b31dadb496dcfee4b082a  colander-1.7.0.tar.gz"