aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bson/APKBUILD
blob: a534458f3b68d164ccca24c0ef69d7f0de2e97c9 (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
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-bson
_pkgname=bson
pkgver=0.5.9
pkgrel=0
pkgdesc="Independent BSON codec for Python that doesn’t depend on MongoDB"
options="!check" # No testsuite
url="https://github.com/py-bson/bson"
arch="noarch"
license="BSD-3-Clause"
depends="py3-dateutil py3-six"
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
}

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

check() {
	python3 setup.py test
}

sha512sums="7536db67ab5d0f9fe502cd4951dbdf667253f83eeaabeaa634c4168d57545499d833c57daa5b1012dfc5c541faf94454a379b690bada0a9e5f978f388b257021  bson-0.5.9.tar.gz"