diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-05 19:44:39 -0400 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-09 13:02:11 -0300 |
commit | f122162f8642c27792edb72a4637123020c0c20a (patch) | |
tree | 778a2cabe39dcb3f11526cbde6e1676f48a70a72 /testing/py3-cloudpickle | |
parent | eacc4f6fdfa9174ee12d052e2edfebb8d33b4fd9 (diff) | |
download | aports-f122162f8642c27792edb72a4637123020c0c20a.tar.bz2 aports-f122162f8642c27792edb72a4637123020c0c20a.tar.xz |
testing/py3-cloudpickle: new APKBUILD
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" |