mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-cligj: new aport
This commit is contained in:
parent
d5a3510c7d
commit
82a82bf59b
38
testing/py3-cligj/APKBUILD
Normal file
38
testing/py3-cligj/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
|
||||
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
|
||||
_pkgname=cligj
|
||||
pkgname=py3-$_pkgname
|
||||
pkgver=0.5.0
|
||||
pkgrel=0
|
||||
pkgdesc="Common arguments and options for GeoJSON processing commands, using Click"
|
||||
url="https://pypi.org/project/cligj/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="
|
||||
python3
|
||||
py3-click
|
||||
"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
"
|
||||
checkdepends="
|
||||
pytest
|
||||
"
|
||||
source="
|
||||
py3-cligj-$pkgver.tar.gz::https://github.com/mapbox/cligj/archive/$pkgver.tar.gz
|
||||
"
|
||||
builddir="$srcdir/cligj-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH=. pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2
|
||||
}
|
||||
|
||||
sha512sums="d0f7ddaa3ff98e5cfac6ff6f3cac0720674f8fa28cc720035cbc71265875cb84e8e847c8a09ac8a5d4a0547f291a4c59536fca88b9eeee92c7259c7eb4c2d599 py3-cligj-0.5.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user