ilot/py3-microsoft-kiota-http: upgrade to 1.6.0

This commit is contained in:
Antoine Martin 2024-11-02 19:37:20 -04:00
parent 360b60188f
commit d4eeae6ddd
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 28 additions and 5 deletions

View file

@ -3,7 +3,7 @@
pkgname=py3-microsoft-kiota-http
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=microsoft-kiota-http
pkgver=1.3.3
pkgver=1.6.0
pkgrel=0
pkgdesc="Kiota http request adapter implementation for httpx library"
url="https://pypi.python.org/project/microsoft-kiota-http"
@ -14,10 +14,13 @@ depends="
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"
makedepends="poetry py3-gpep517 py3-wheel py3-flit"
source="
$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-python/archive/refs/tags/microsoft-kiota-http-v$pkgver.tar.gz
exclude-changelog.patch
"
options="!check" # TODO
builddir="$srcdir/kiota-http-python-$pkgver"
builddir="$srcdir/kiota-python-microsoft-kiota-http-v$pkgver/packages/http/httpx"
subpackages="$pkgname-pyc"
build() {
@ -38,5 +41,6 @@ package() {
}
sha512sums="
fff2dc37a0e379ad5689ff9532b43e6ee62ca97589b2feed39898c17a45c5cdb17c20bd714c46cd6ae6e2522de695b6c747aaf5fb0ef96dfd504cd37a6169a87 py3-microsoft-kiota-http-1.3.3.tar.gz
190ef1e74fa6305f41aecc464630883291ad2bbd897e3abf5d91d94996eccb7a825511ee5ccbb0aca79888bf5991323bbddb5c91327d4e4887c93b72c92b71da py3-microsoft-kiota-http-1.6.0.tar.gz
0e7798fd6ad35df725eb6fab69927325c5f3490e67453beafc34e1f72224bfa5eb4d802c953bfc732545e952a1e69a4f50e083b2277248f5d5b46b7c122c359d exclude-changelog.patch
"

View file

@ -0,0 +1,19 @@
diff --git a/pyproject.toml.orig b/pyproject.toml
index 168b1f2..b245e98 100644
--- a/pyproject.toml.orig
+++ b/pyproject.toml
@@ -23,7 +23,6 @@ homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
packages = [{include = "kiota_http"}]
-include = ["CHANGELOG.md", "LICENSE"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
@@ -58,4 +57,4 @@ profile = "hug"
[tool.poetry-monorepo.deps]
enabled = true
-commands = ["build", "export", "publish"]
\ No newline at end of file
+commands = ["build", "export", "publish"]