ilot/py3-microsoft-kiota-serialization-form: new aport
This commit is contained in:
parent
5984711f03
commit
aa9ef0bf02
1 changed files with 41 additions and 0 deletions
41
ilot/py3-microsoft-kiota-serialization-form/APKBUILD
Normal file
41
ilot/py3-microsoft-kiota-serialization-form/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
pkgname=py3-microsoft-kiota-serialization-form
|
||||||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
|
_pkgreal=microsoft-kiota-serialization-form
|
||||||
|
pkgver=0.1.1
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Kiota Form encoded serialization implementation for Python"
|
||||||
|
url="https://pypi.python.org/project/microsoft-kiota-serialization-form"
|
||||||
|
arch="noarch"
|
||||||
|
license="MIT"
|
||||||
|
depends="
|
||||||
|
py3-microsoft-kiota-abstractions
|
||||||
|
py3-pendulum
|
||||||
|
"
|
||||||
|
checkdepends="py3-pytest"
|
||||||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-serialization-form-python/archive/refs/tags/v$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/kiota-serialization-form-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="
|
||||||
|
0afb2b3f0f7d325e630b8a11d17a98b2c42446cb803384e36406074c62ade2be994e29b9d7cb098d9de55609dda28c339eed6397ec373375caaf158b139a5449 py3-microsoft-kiota-serialization-form-0.1.1.tar.gz
|
||||||
|
"
|
Loading…
Add table
Reference in a new issue