user/py3-onelogin: new aport
This commit is contained in:
parent
37cc16bc08
commit
e13e8b8638
1 changed files with 50 additions and 0 deletions
50
user/py3-onelogin/APKBUILD
Normal file
50
user/py3-onelogin/APKBUILD
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-onelogin
|
||||
_pkgname=onelogin-python-sdk
|
||||
pkgver=3.1.6
|
||||
pkgrel=0
|
||||
pkgdesc="OpenAPI Specification for OneLogin"
|
||||
url="https://github.com/onelogin/onelogin-python-sdk"
|
||||
license="MIT"
|
||||
arch="noarch"
|
||||
depends="
|
||||
py3-dateutil
|
||||
py3-urllib3
|
||||
py3-frozendict
|
||||
py3-typing-extensions
|
||||
py3-certifi
|
||||
"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
py3-installer
|
||||
"
|
||||
checkdepends="
|
||||
py3-pytest
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/onelogin/onelogin-python-sdk/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
options="!check" # Failing test unit
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
44fccb05e82c55db82617c33cc0e2287699969d9a7f12a4992c0cd35c28b2215c66bef37849e45b5506df11524d1b143a2ab3ae16f001af51f0135c92d0801a4 py3-onelogin-3.1.6.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in a new issue