kiota-authentication-azure

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

View file

@ -16,7 +16,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-authentication-azure-v$pkgver.tar.gz"
source="
$pkgname-$pkgver.tar.gz::https://github.com/microsoft/kiota-python/archive/refs/tags/microsoft-kiota-authentication-azure-v$pkgver.tar.gz
exclude-license.patch
"
options="!check" # TODO
builddir="$srcdir/kiota-python-microsoft-kiota-authentication-azure-v$pkgver/packages/authentication/azure"
subpackages="$pkgname-pyc"
@ -40,4 +43,5 @@ package() {
sha512sums="
228b4548ddcf7444baaca8f3cc0c4401387a3c8ed6662f5f4b345dde738f3c55175ff09c2fbe00370c7da26a289fd94ce874ae38cf7bd9352199c57d33053762 py3-microsoft-kiota-authentication-azure-1.6.0.tar.gz
f2724788a6198d27574990af9af4a3dc752181e0bc0a4af57674623575d2af7d1beade5bb4519f143978c7dee5cd687b25097e26b61b08e4ad2f64ce3de386aa exclude-license.patch
"

View file

@ -0,0 +1,19 @@
diff --git a/pyproject.toml.orig b/pyproject.toml
index b755d03..c0e2d4d 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_authentication_azure"}]
-include = ["CHANGELOG.md", "LICENSE"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
@@ -57,4 +56,4 @@ profile = "hug"
[tool.poetry-monorepo.deps]
enabled = true
-commands = ["build", "export", "publish"]
\ No newline at end of file
+commands = ["build", "export", "publish"]