aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cloudpickle/APKBUILD
blob: 2351542c8cf6e08462ed276b0216250a68f5e11e (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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-cloudpickle
_pyname=cloudpickle
pkgver=1.1.1
pkgrel=0
pkgdesc="Extended pickling support for Python objects"
url="https://pypi.org/project/cloudpickle/"
arch="noarch"
license="BSD-3-Clause"
makedepends="python3 py3-setuptools"
checkdepends="py3-pytest py3-psutil"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir=$srcdir/$_pyname-$pkgver
options="!check" # upstream test suite is badly broken

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="db9075552c6ec654bf55a75c1b82278f65c68a1070a39e5a938f526aac9a9979f652a3c46424d2eb4b280015e0f6f1fd09becedb9b2e68fbbaf1d01f71543570  cloudpickle-1.1.1.tar.gz"