serialization-json

This commit is contained in:
Antoine Martin 2024-11-02 20:00:08 -04:00
parent 88d990a60c
commit 7e1da8efaf
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 17 additions and 1 deletions

View file

@ -15,7 +15,10 @@ depends="
"
checkdepends="py3-pytest"
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-json-v$pkgver.tar.gz"
source="
$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-python/archive/refs/tags/microsoft-kiota-serialization-json-v$pkgver.tar.gz
exclude-changelog-license.patch
"
options="!check" # TODO
builddir="$srcdir/kiota-python-microsoft-kiota-serialization-json-v$pkgver/packages/serialization/json"
subpackages="$pkgname-pyc"
@ -39,4 +42,5 @@ package() {
sha512sums="
4e5c9c0d9549bff19b37680b5a6f6e0e73710c05de25f6d3b29bbe80776d1525f5fb19e7d9ab55433ec193b2359e8a01eca9e09340c2c8ef739e30acf6f5b075 py3-microsoft-kiota-serialization-json-1.6.0.tar.gz
fb81d10a177ff89af906989b87298a8ea3ceb188dd00d038ef1bf7e255893135e3d106450f3d14fd0b63f7f4f821305ddf6f3298bd1cb713df03393854b12452 exclude-changelog-license.patch
"

View file

@ -0,0 +1,12 @@
diff --git a/pyproject.toml b/pyproject.toml
index ebeab4b..c3262a7 100644
--- a/pyproject.toml
+++ 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_json"}]
-include = ["CHANGELOG.md", "LICENSE"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"