kiota-http

This commit is contained in:
Antoine Martin 2024-11-02 20:04:46 -04:00
parent f8ede8f3f7
commit ceac7b682d
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 24 additions and 1 deletions

View file

@ -15,7 +15,10 @@ depends="
" "
checkdepends="py3-pytest" checkdepends="py3-pytest"
makedepends="poetry py3-gpep517 py3-wheel py3-flit" 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" 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 options="!check" # TODO
builddir="$srcdir/kiota-python-microsoft-kiota-http-v$pkgver/packages/http/httpx" builddir="$srcdir/kiota-python-microsoft-kiota-http-v$pkgver/packages/http/httpx"
subpackages="$pkgname-pyc" subpackages="$pkgname-pyc"
@ -39,4 +42,5 @@ package() {
sha512sums=" sha512sums="
190ef1e74fa6305f41aecc464630883291ad2bbd897e3abf5d91d94996eccb7a825511ee5ccbb0aca79888bf5991323bbddb5c91327d4e4887c93b72c92b71da py3-microsoft-kiota-http-1.6.0.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"]