blob: 871aa113df5641ac91db73e55c94f8fa41c7790a (
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
30
31
32
33
34
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-dill
_pyname=dill
pkgver=0.3.6
pkgrel=1
pkgdesc="Python serializer supporting a broader range of types than pickle"
url="https://pypi.org/project/dill/"
arch="noarch !s390x" # broken on big-endian
license="BSD-3-Clause"
makedepends="python3 py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://github.com/uqfoundation/dill/releases/download/dill-$pkgver/dill-$pkgver.tar.gz"
builddir=$srcdir/$_pyname-$pkgver
build() {
python3 setup.py build
}
check() {
export PYTHONPATH=build/lib
for t in dill/tests/test*.py; do
echo "$t"
python3 "$t"
done
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/dill/tests
}
sha512sums="
0a418fb9b19840340a7842fd0e97b286c503b2798baf644d67611264d6853d93b5721fc52308477314c410e8ce89aa6439eb14ccf1057c3fa326119664d9f5bb dill-0.3.6.tar.gz
"
|