ilot/py3-msal-extensions: new aport
This commit is contained in:
parent
30b5e8cdf8
commit
5909bead53
1 changed files with 42 additions and 0 deletions
42
ilot/py3-msal-extensions/APKBUILD
Normal file
42
ilot/py3-msal-extensions/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-msal-extensions
|
||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=msal-extensions
|
||||
pkgver=1.2.0
|
||||
pkgrel=0
|
||||
pkgdesc="Microsoft Authentication Library extensions (MSAL EX) provides a persistence API "
|
||||
url="https://pypi.org/project/msal-extensions"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="
|
||||
py3-msal
|
||||
py3-portalocker
|
||||
"
|
||||
checkdepends="py3-pytest"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
options="!check" #todo
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/AzureAD/microsoft-authentication-extensions-for-python/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir"/microsoft-authentication-extensions-for-python-$pkgver
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
847a87e2f7a7b71d47fb758bd3445666b2a9f1f2034c575f8a78ba687e1c5faa682b89ea78906d4afa1350bca608cd9452c7ad244c7ec456145c15c49ad46fb2 py3-msal-extensions-1.2.0.tar.gz
|
||||
"
|
Loading…
Add table
Reference in a new issue