1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-cloudpickle/APKBUILD

36 lines
1.2 KiB
Text

# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-cloudpickle
pkgver=2.2.1
pkgrel=0
pkgdesc="Extended pickling support for Python objects"
url="https://pypi.org/project/cloudpickle/"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-psutil py3-tornado py3-typing-extensions py3-numpy"
source="https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-$pkgver.tar.gz
remove-skipped-test-that-causes-error.patch
"
builddir=$srcdir/cloudpickle-$pkgver
# fails with new versions of something, can't pickle TypeError: cannot pickle
# 'classmethod_descriptor' object
options="!check"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$builddir/tests/cloudpickle_testpkg" python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a0174a382d531180704a90a4da4f83e1d1c90ebf4ad181778bed073763bf43104b7049ced12abc360948343d105a4390cb514585a1b493217a53a5b2c45cfde6 cloudpickle-2.2.1.tar.gz
b83f0db4f6fb55e77e5c20d10820f735a96ebb69a2d44d4f69c870a0713feeca1e603e60bcdfab0523d48873cc810e6ef4b569566158814f37bb91768689d816 remove-skipped-test-that-causes-error.patch
"