diff options
Diffstat (limited to 'community/py-jsonschema/APKBUILD')
-rw-r--r-- | community/py-jsonschema/APKBUILD | 6 |
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 } |