ilot/py3-microsoft-kiota-serialization-text: upgrade to 1.6.0

This commit is contained in:
Antoine Martin 2024-11-02 19:41:46 -04:00
parent 874e760dd8
commit 779e887738
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-serialization-text
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=microsoft-kiota-serialization-text
pkgver=1.0.0
pkgver=1.6.0
pkgrel=0
pkgdesc="Text serialization implementation for Kiota generated clients in Python"
url="https://pypi.python.org/project/microsoft-kiota-abstractions"
@ -14,9 +14,12 @@ depends="
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"
makedepends="poetry py3-gpep517 py3-wheel py3-flit"
source="
$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-python/archive/refs/tags/microsoft-kiota-serialization-text-v$pkgver.tar.gz
exclude-changelog.patch
"
builddir="$srcdir/kiota-python-microsoft-kiota-serialization-text-v$pkgver/packages/serialization/text"
subpackages="$pkgname-pyc"
build() {
@ -37,5 +40,6 @@ package() {
}
sha512sums="
b3b0d0a7e69c70c14ed606f70179a49107f6df6f2ba577e9bacbdb15b3071062a180d2e6b77a43d82fe7a67264ad24aa685c71695042ffd54ea4406f9b990208 py3-microsoft-kiota-serialization-text-1.0.0.tar.gz
d0bfd98a480c9cc4bc539b5a3061e2c89f181feaee728bdbc28ff38ac5df360ce1809fed31f90bc67a1614a49a394ba24b92a9dc002049c3755659038b527647 py3-microsoft-kiota-serialization-text-1.6.0.tar.gz
ebc929fc1a28f155661aba6767b57a2d954de61d33d5960821c163f1c1447ff3e149ed4e998a0c1b6349d256fc3bc7d684ec15ff1c233edcf917e5641c5c7438 exclude-changelog.patch
"

View file

@ -0,0 +1,19 @@
diff --git a/pyproject.toml.orig b/pyproject.toml
index bd96b8f..9446d14 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_serialization_text"}]
-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"]