diff --git a/ilot/py3-azure-core/APKBUILD b/ilot/py3-azure-core/APKBUILD new file mode 100644 index 0000000..8befd33 --- /dev/null +++ b/ilot/py3-azure-core/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-azure-core +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=azure-core +pkgver=1.31.0 +pkgrel=0 +pkgdesc="Microsoft Azure Core Library for Python" +url="https://pypi.python.org/project/microsoft-kiota-authentication-azure" +arch="noarch" +license="MIT" +depends="py3-aiohttp py3-requests" +checkdepends="py3-pytest-asyncio py3-trio" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +options="!check" #todo +source="$pkgname-$pkgver.tar.gz::https://github.com/Azure/azure-sdk-for-python/archive/refs/tags/azure-core_$pkgver.tar.gz" +builddir="$srcdir"/azure-sdk-for-python-azure-core_$pkgver/sdk/core/azure-core +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=" +be2fc27610034ee5c345ed11f59233ec81d8ad628c4b732531a24e0d54720b81f22d855e5a4d9214c6a8234e479da059b37a40c7ad15e738e2dd46fb4755dad6 py3-azure-core-1.31.0.tar.gz +" diff --git a/ilot/py3-azure-identity/APKBUILD b/ilot/py3-azure-identity/APKBUILD new file mode 100644 index 0000000..e448e38 --- /dev/null +++ b/ilot/py3-azure-identity/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-azure-identity +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=azure-identity +pkgver=1.18.0 +_pkgver=${pkgver}b2 +pkgrel=0 +pkgdesc="Microsoft Azure Identity Library for Python" +url="https://pypi.org/project/azure-identity/" +arch="noarch" +license="MIT" +depends=" + py3-azure-core + py3-cryptography + py3-msal-extensions + py3-typing-extensions +" +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +options="!check" #todo +source="$pkgname-$pkgver.tar.gz::https://github.com/Azure/azure-sdk-for-python/archive/refs/tags/azure-identity_$_pkgver.tar.gz" +builddir="$srcdir"/azure-sdk-for-python-azure-identity_$_pkgver/sdk/identity/azure-identity +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=" +84defc19db3aea614b13dbf2d24ee3ea13c210a05460a4ae2968b01d34f136c81eb9d77b7ce1f0c4590e6f36af0b6fe114787fc7897ffa0f2d8093a9bcb48bf4 py3-azure-identity-1.18.0.tar.gz +" diff --git a/ilot/py3-microsoft-kiota-abstractions/APKBUILD b/ilot/py3-microsoft-kiota-abstractions/APKBUILD new file mode 100644 index 0000000..b298650 --- /dev/null +++ b/ilot/py3-microsoft-kiota-abstractions/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-microsoft-kiota-abstractions +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=microsoft-kiota-abstractions +pkgver=1.3.3 +pkgrel=0 +pkgdesc="Abstractions library for Kiota generated Python clients" +url="https://pypi.python.org/project/microsoft-kiota-abstractions" +arch="noarch" +license="MIT" +depends=" + py3-std-uritemplate + py3-opentelemetry-sdk + py3-importlib-metadata + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-abstractions-python/archive/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/kiota-abstractions-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=" +b416b14cc68dab4eb99d8abc2378c8691781c984f453c7328eefe5bc10788d8244bdc0e3c98d4c2cdbad60d5f672893da4eeed99037d4e361849bcef458547e1 py3-microsoft-kiota-abstractions-1.3.3.tar.gz +" diff --git a/ilot/py3-microsoft-kiota-authentication-azure/APKBUILD b/ilot/py3-microsoft-kiota-authentication-azure/APKBUILD new file mode 100644 index 0000000..2149918 --- /dev/null +++ b/ilot/py3-microsoft-kiota-authentication-azure/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-microsoft-kiota-authentication-azure +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=microsoft-kiota-authentication-azure +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Authentication provider for Kiota using Azure Identity" +url="https://pypi.python.org/project/microsoft-kiota-authentication-azure" +arch="noarch" +license="MIT" +depends=" + py3-azure-core + py3-microsoft-kiota-abstractions + py3-importlib-metadata + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +options="!check" # TODO +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-authentication-azure-python/archive/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/kiota-authentication-azure-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=" +4a58a49c027951dd856bc24b03c6ba44b448949bcd3210237d2574e3ceec32eefb403057720e4d517027494d6f977874dd48abbfb5cf856399eb5d1c895376fc py3-microsoft-kiota-authentication-azure-1.1.0.tar.gz +" diff --git a/ilot/py3-microsoft-kiota-http/APKBUILD b/ilot/py3-microsoft-kiota-http/APKBUILD new file mode 100644 index 0000000..e1ded6f --- /dev/null +++ b/ilot/py3-microsoft-kiota-http/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-microsoft-kiota-http +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=microsoft-kiota-http +pkgver=1.3.3 +pkgrel=0 +pkgdesc="Kiota http request adapter implementation for httpx library" +url="https://pypi.python.org/project/microsoft-kiota-http" +arch="noarch" +license="MIT" +depends=" + py3-microsoft-kiota-abstractions + py3-httpx + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-http-python/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/kiota-http-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=" +fff2dc37a0e379ad5689ff9532b43e6ee62ca97589b2feed39898c17a45c5cdb17c20bd714c46cd6ae6e2522de695b6c747aaf5fb0ef96dfd504cd37a6169a87 py3-microsoft-kiota-http-1.3.3.tar.gz +" diff --git a/ilot/py3-microsoft-kiota-serialization-form/APKBUILD b/ilot/py3-microsoft-kiota-serialization-form/APKBUILD new file mode 100644 index 0000000..de1939f --- /dev/null +++ b/ilot/py3-microsoft-kiota-serialization-form/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +" diff --git a/ilot/py3-microsoft-kiota-serialization-json/APKBUILD b/ilot/py3-microsoft-kiota-serialization-json/APKBUILD new file mode 100644 index 0000000..8efe8fa --- /dev/null +++ b/ilot/py3-microsoft-kiota-serialization-json/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-microsoft-kiota-serialization-json +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=microsoft-kiota-serialization-json +pkgver=1.3.2 +pkgrel=0 +pkgdesc="JSON serialization implementation for Kiota clients in Python" +url="https://pypi.python.org/project/microsoft-kiota-serialization-json" +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-json-python/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/kiota-serialization-json-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=" +bdf2a42d4509b7a6f093295c8f5d661e771d040965ebdd7fb7772503482fbc6d449c5ac7b16f5f497d9005018d463d3a68650b4b4da0f1a7fbcb0ad3377d12b5 py3-microsoft-kiota-serialization-json-1.3.2.tar.gz +" diff --git a/ilot/py3-microsoft-kiota-serialization-multipart/APKBUILD b/ilot/py3-microsoft-kiota-serialization-multipart/APKBUILD new file mode 100644 index 0000000..bf088b7 --- /dev/null +++ b/ilot/py3-microsoft-kiota-serialization-multipart/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 py3-microsoft-kiota-serialization-json" +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 +" diff --git a/ilot/py3-microsoft-kiota-serialization-text/APKBUILD b/ilot/py3-microsoft-kiota-serialization-text/APKBUILD new file mode 100644 index 0000000..7684d45 --- /dev/null +++ b/ilot/py3-microsoft-kiota-serialization-text/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-microsoft-kiota-serialization-text +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=microsoft-kiota-serialization-text +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Text serialization implementation for Kiota generated clients in Python" +url="https://pypi.python.org/project/microsoft-kiota-abstractions" +arch="noarch" +license="MIT" +depends=" + py3-microsoft-kiota-abstractions + py3-dateutil + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-serialization-text-python/archive/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/kiota-serialization-text-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=" +b3b0d0a7e69c70c14ed606f70179a49107f6df6f2ba577e9bacbdb15b3071062a180d2e6b77a43d82fe7a67264ad24aa685c71695042ffd54ea4406f9b990208 py3-microsoft-kiota-serialization-text-1.0.0.tar.gz +" diff --git a/ilot/py3-msal-extensions/APKBUILD b/ilot/py3-msal-extensions/APKBUILD new file mode 100644 index 0000000..a2e26c4 --- /dev/null +++ b/ilot/py3-msal-extensions/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +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 +" diff --git a/ilot/py3-msal/APKBUILD b/ilot/py3-msal/APKBUILD new file mode 100644 index 0000000..826a32a --- /dev/null +++ b/ilot/py3-msal/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-msal +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=msal +pkgver=1.31.0 +pkgrel=0 +pkgdesc="Microsoft Authentication Library (MSAL) for Python" +url="https://pypi.org/project/msal" +arch="noarch" +license="MIT" +depends=" + py3-requests + py3-cryptography + py3-jwt +" +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel" +options="!check" #todo +source="$pkgname-$pkgver.tar.gz::https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/$pkgver.tar.gz" +builddir="$srcdir"/microsoft-authentication-library-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=" +712342167c7cc958c16c45d9c21a58d83efd9ff3dccf4494d7c83fb226678ed944fef1751a4002fcb292450884c682f1b5d00cdca248d1def54d6f884cdb5dc2 py3-msal-1.31.0.tar.gz +" diff --git a/ilot/py3-msgraph-core/APKBUILD b/ilot/py3-msgraph-core/APKBUILD new file mode 100644 index 0000000..affc2a5 --- /dev/null +++ b/ilot/py3-msgraph-core/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-msgraph-core +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=msgraph-core +pkgver=1.1.3 +pkgrel=0 +pkgdesc="The Microsoft Graph Python SDK" +url="https://pypi.python.org/project/msgraph-core" +arch="noarch" +license="MIT" +depends=" + py3-azure-identity + py3-microsoft-kiota-authentication-azure + py3-microsoft-kiota-http + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoftgraph/msgraph-sdk-python-core/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/msgraph-sdk-python-core-$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=" +48b47b5b02062fe05f9f917d1c6461f539f9ff6dfbafb4a2dcfbe91237725eb7427b2673aec7eb994f733fab109879d96e06e122d72ecab69ff77a1f76fafe49 py3-msgraph-core-1.1.3.tar.gz +" diff --git a/ilot/py3-msgraph-sdk/APKBUILD b/ilot/py3-msgraph-sdk/APKBUILD new file mode 100644 index 0000000..d59a1e7 --- /dev/null +++ b/ilot/py3-msgraph-sdk/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-msgraph-sdk +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=msgraph-sdk +pkgver=1.8.0 +pkgrel=0 +pkgdesc="The Microsoft Graph Python SDK" +url="https://pypi.python.org/project/msgraph-sdk" +arch="noarch" +license="MIT" +depends=" + py3-microsoft-kiota-serialization-text + py3-microsoft-kiota-serialization-form + py3-microsoft-kiota-serialization-multipart + py3-msgraph-core + " +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-flit" +source="$pkgname-$pkgver.tar.gz::https://github.com/microsoftgraph/msgraph-sdk-python/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/$_pkgreal-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=" +e7d93a4b0f29023dcce0529b54a397b568f44ff40b1efe52e1c060b4552dd055e6a62e0ebcb72cbf3c1babe00440c41e6f897e86a01c3e261a8b88b23cd3af2c py3-msgraph-sdk-1.8.0.tar.gz +" diff --git a/ilot/py3-opentelemetry-sdk/APKBUILD b/ilot/py3-opentelemetry-sdk/APKBUILD new file mode 100644 index 0000000..14a474c --- /dev/null +++ b/ilot/py3-opentelemetry-sdk/APKBUILD @@ -0,0 +1,75 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-opentelemetry-sdk +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=opentelemetry-sdk +pkgver=1.27.0 +pkgrel=0 +pkgdesc="OpenTelemetry Python SDK" +url="https://github.com/open-telemetry/opentelemetry-python/tree/main" +arch="noarch" +license="Apache-2.0" +depends="py3-opentelemetry-semantic-conventions py3-typing-extensions" +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel py3-hatchling" +source="$pkgname-$pkgver.tar.gz::https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/opentelemetry-python-$pkgver" +options="!check" # TODO +# need to figure out -pyc +subpackages=" + $pkgname-pyc + py3-opentelemetry-api + py3-opentelemetry-semantic-conventions + py3-opentelemetry-proto + " + +build() { + for i in api semantic-conventions sdk proto; do + cd "$builddir"/opentelemetry-$i + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 + done +} + +check() { + for i in api semantic-conventions sdk proto; do + python3 -m venv --clear --without-pip --system-site-packages "$builddir"/.testenv + "$builddir"/.testenv/bin/python3 -m installer .dist/*.whl + "$builddir"/.testenv/bin/python3 -m pytest -v + done +} + +package() { + cd "$builddir"/opentelemetry-sdk + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +api() { + depends="py3-deprecated" + pkgdesc="OpenTelemetry Python API" + cd "$builddir"/opentelemetry-api + python3 -m installer -d "$subpkgdir" \ + .dist/*.whl +} + +conventions() { + pkgdesc="OpenTelemetry Semantic Conventions" + depends="py3-opentelemetry-api py3-deprecated" + cd "$builddir"/opentelemetry-semantic-conventions + python3 -m installer -d "$subpkgdir" \ + .dist/*.whl +} + +proto() { + pkgdesc="OpenTelemetry Python Proto" + depends="py3-protobuf" + cd "$builddir"/opentelemetry-proto + python3 -m installer -d "$subpkgdir" \ + .dist/*.whl +} + +sha512sums=" +d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b py3-opentelemetry-sdk-1.27.0.tar.gz +" diff --git a/ilot/py3-std-uritemplate/APKBUILD b/ilot/py3-std-uritemplate/APKBUILD new file mode 100644 index 0000000..9294abc --- /dev/null +++ b/ilot/py3-std-uritemplate/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-std-uritemplate +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=std-uritemplate +pkgver=1.0.6 +pkgrel=0 +pkgdesc="A complete and maintained cross-language implementation of the Uri Template specification RFC 6570 Level 4" +url="https://pypi.python.org/project/std-uritemplate" +arch="noarch" +license="Apache-2.0" +depends="python3" +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel poetry" +source="$pkgname-$pkgver.tar.gz::https://github.com/std-uritemplate/std-uritemplate/archive/refs/tags/$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir"/$_pkgreal-$pkgver/python +subpackages="$pkgname-pyc" + +prepare() { + default_prepare + ln -s ../Readme.md Readme.md +} +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +check() { + poetry run python test.py +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +4873ce356170aea1b45479d5ded0b596265782c097d3fd9d1bb4cc8ad902067bab654057173a2e2b1da37e5ac36ebee024feca43b0e4298b103dc979f97e7c1c py3-std-uritemplate-1.0.6.tar.gz +"