mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
922 B
Text
34 lines
922 B
Text
# 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
|
|
"
|