diff options
author | Mustang <mustang@miswave.com> | 2019-12-25 12:15:11 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-25 16:34:31 +0100 |
commit | 3ae01b02ac864ee46f8e643460f35f073fdbd910 (patch) | |
tree | 2dfa4c776b744b31a190510049c971c85fb37911 /community/py3-jmespath | |
parent | 3ff284a16f163461c166e1abbca5491e2f62a3c1 (diff) | |
download | aports-3ae01b02ac864ee46f8e643460f35f073fdbd910.tar.bz2 aports-3ae01b02ac864ee46f8e643460f35f073fdbd910.tar.xz |
community/py3-jmespath: move from testing
Diffstat (limited to 'community/py3-jmespath')
-rw-r--r-- | community/py3-jmespath/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py3-jmespath/APKBUILD b/community/py3-jmespath/APKBUILD new file mode 100644 index 0000000000..d8605a0756 --- /dev/null +++ b/community/py3-jmespath/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +# Contributor: Valery Kartel <valery.kartel@gmail.com> +pkgname=py3-jmespath +_pkgname=jmespath +pkgver=0.9.4 +pkgrel=1 +pkgdesc="JMESPath is a query language for JSON" +url="https://jmespath.org" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-nose" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +replaces=py-jmespath # Backwards compatibility +provides=py-jmespath=$pkgver-r$pkgrel # Backwards compatibility + +build() { + python3 setup.py build +} + +check() { + nosetests -v +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="173ec36708f93f72fece049b71846a226010c00498ab51e58bee26a09cc73cf96a062df215d3737eb266e689c2ecf7a2be95b009ed74ad122f6739d4379466c6 jmespath-0.9.4.tar.gz" |