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