mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/py3-mujson: new aport
Use the fastest JSON functions available at import time
This commit is contained in:
parent
2e0bad2fb6
commit
ecc1ad4677
29
testing/py3-mujson/APKBUILD
Normal file
29
testing/py3-mujson/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Maintainer: Noel Kuntze <noel.kuntze@contauro.com>
|
||||
pkgname=py3-mujson
|
||||
pkgdesc="Use the fastest JSON functions available at import time"
|
||||
pkgver=1.4
|
||||
pkgrel=0
|
||||
arch="noarch"
|
||||
url="https://github.com/mattgiles/mujson/"
|
||||
license="MIT"
|
||||
options="!check" # No test suite
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel python3-dev"
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mattgiles/mujson/archive/refs/tags/$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/mujson-$pkgver
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ad648338ad08c17afe3d22a0b6937cf4ad5aabf5cbf8041f6147fef084f4c2f9c163932b942069593353bb245e118739205cb81c67708a398bc904cc176ea42d py3-mujson-1.4.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user