aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2019-05-03 07:35:11 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-15 08:32:56 +0000
commit87085110f47fbd974fbb627a50c989935aff2aac (patch)
treee00bc4caeb9a2033021f58df2c8e38838b8b401e /community
parent8dd296b34f294cbb44c51040f61401a9b7af2631 (diff)
downloadaports-87085110f47fbd974fbb627a50c989935aff2aac.tar.bz2
aports-87085110f47fbd974fbb627a50c989935aff2aac.tar.xz
community/py-jsonschema: Add depends for pyrsistent and attrs
Diffstat (limited to 'community')
-rw-r--r--community/py-jsonschema/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/py-jsonschema/APKBUILD b/community/py-jsonschema/APKBUILD
index 87a3edc666..f93cac29b1 100644
--- a/community/py-jsonschema/APKBUILD
+++ b/community/py-jsonschema/APKBUILD
@@ -3,13 +3,15 @@
pkgname=py-jsonschema
_pkgname=jsonschema
pkgver=3.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of JSON Schema validation for Python"
url="https://github.com/Julian/jsonschema"
arch="noarch"
license="MIT"
+depends="py3-pyrsistent py-attrs"
makedepends="python3-dev python2-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
+options="!check" # py3-twisted missing
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
@@ -26,10 +28,12 @@ package() {
_py2() {
replaces="$pkgname"
+ depends="${depends/py-/py2-}"
_py python2
}
_py3() {
+ depends="${depends/py-/py3-}"
_py python3
}