blob: 889277979c5321d53acc61df9b0169d260ddd452 (
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
|
# Maintainer:
pkgname=py3-jsonpickle
pkgver=1.2
pkgrel=0
pkgdesc="an jsonpickle implementation"
url="https://pypi.python.org/pypi/jsonpickle/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-numpy py3-pandas"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-$pkgver.tar.gz"
builddir="$srcdir/jsonpickle-$pkgver"
replaces="py-jsonpickle" # Backwards compatibility
provides="py-jsonpickle=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
PYTHONPATH=$PWD/build/lib pytest-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0a5bfb2e77175c9174ee1783301c613e25fcfa60f07e610206d1e1e34053e90b21b12bc1b1045dd03ff2d4efe5940d85d852800037ca01397994c022f0ffb2c6 jsonpickle-1.2.tar.gz"
|