user/py3-jstyleson: new aport
This commit is contained in:
parent
3b9d7bd5ba
commit
31626d57dd
1 changed files with 31 additions and 0 deletions
31
user/py3-jstyleson/APKBUILD
Normal file
31
user/py3-jstyleson/APKBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-jstyleson
|
||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=jstyleson
|
||||
pkgver=0.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="Library to parse JSON with js-style comments."
|
||||
url="https://pypi.python.org/project/jstylejson"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
checkdepends="python3-dev"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/j/jstyleson/jstyleson-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
99285536538f3cd70e2cee505826f335e207b577f361f5996589578eef06b8b29fd25fa254c150ef40618cca19554fe329750c123be0a9abf8d19cee47369a54 py3-jstyleson-0.0.2.tar.gz
|
||||
"
|
Loading…
Reference in a new issue