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

This commit is contained in:
Antoine Martin 2024-11-02 19:40:39 -04:00
parent d564d63986
commit 874e760dd8
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-abstractions
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=microsoft-kiota-abstractions
pkgver=1.3.3
pkgver=1.6.0
pkgrel=0
pkgdesc="Abstractions library for Kiota generated Python clients"
url="https://pypi.python.org/project/microsoft-kiota-abstractions"
@ -15,9 +15,12 @@ depends="
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"
makedepends="poetry py3-gpep517 py3-wheel py3-flit"
source="
$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-python/archive/refs/tags/microsoft-kiota-abstractions-v$pkgver.tar.gz
exclude-changelog-license.patch
"
builddir="$srcdir/kiota-python-microsoft-kiota-abstractions-v$pkgver/packages/abstractions"
subpackages="$pkgname-pyc"
build() {
@ -38,5 +41,6 @@ package() {
}
sha512sums="
b416b14cc68dab4eb99d8abc2378c8691781c984f453c7328eefe5bc10788d8244bdc0e3c98d4c2cdbad60d5f672893da4eeed99037d4e361849bcef458547e1 py3-microsoft-kiota-abstractions-1.3.3.tar.gz
377d3784d26f9495f3522599e044a75a33817db01dad5ff474027f48935a22c7abf5cec10cf855bcee1b28e4b31aa048b8cb6a9d0b0a7d18c26054ba29299cce py3-microsoft-kiota-abstractions-1.6.0.tar.gz
06ba9a557bbd3d60936122335604c24dd64cb686fc4c9f0eee06da6eb288ea62bd7add4a01318d644dc62733607543963ef2efcd231a70b1a0e47ce69d981a5e exclude-changelog-license.patch
"

View file

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