diff options
Diffstat (limited to 'testing/py3-cloudpickle')
-rw-r--r-- | testing/py3-cloudpickle/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-cloudpickle/APKBUILD b/testing/py3-cloudpickle/APKBUILD new file mode 100644 index 0000000000..2351542c8c --- /dev/null +++ b/testing/py3-cloudpickle/APKBUILD @@ -0,0 +1,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" |