blob: 18388a9e553bc88afb84c1cb7a6b5e53d359219f (
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
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-dill
_pyname=dill
pkgver=0.3.1.1
pkgrel=1
pkgdesc="Python serializer supporting a broader range of types than pickle"
url="https://pypi.org/projects/dill/"
arch="noarch !s390x"
license="BSD-3-Clause"
makedepends="python3 py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir=$srcdir/$_pyname-$pkgver
build() {
python3 setup.py build
}
check() {
export PYTHONPATH="$(pwd):$PYTHONPATH"
for t in tests/*.py
do
echo "$t"
python3 "$t"
done
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="e61610451972522316d7ed6bc8287e38521fcd2e6736b43200ae498f24596994caec92313be1da71cf1b536fbbe01505673fc8018bfcbaf7705147a294565ab9 dill-0.3.1.1.tar.gz"
|