From 9693bd3886aebe34b394b7b2ae6b4bf7aeea2847 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Fri, 4 Nov 2022 10:09:17 +0500 Subject: [PATCH] dev-python/azure-core: new package, add 1.26.1 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/azure-core/Manifest | 1 + .../azure-core/azure-core-1.26.1.ebuild | 47 +++++++++++++++++++ dev-python/azure-core/metadata.xml | 11 +++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/azure-core/Manifest create mode 100644 dev-python/azure-core/azure-core-1.26.1.ebuild create mode 100644 dev-python/azure-core/metadata.xml diff --git a/dev-python/azure-core/Manifest b/dev-python/azure-core/Manifest new file mode 100644 index 0000000000..5bcbdfcfb4 --- /dev/null +++ b/dev-python/azure-core/Manifest @@ -0,0 +1 @@ +DIST azure-core-1.26.1.zip 366521 BLAKE2B 538aa1699bc708744800f98391d4913f3bed561718f9143394d4f6b7cbe18097054e941882f6237e9c8fef2d218c955f3b0a8c2cb23e51121c05cb5437afd4f9 SHA512 dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931 diff --git a/dev-python/azure-core/azure-core-1.26.1.ebuild b/dev-python/azure-core/azure-core-1.26.1.ebuild new file mode 100644 index 0000000000..b2487e7102 --- /dev/null +++ b/dev-python/azure-core/azure-core-1.26.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature + +DESCRIPTION="Microsoft Azure Core Library for Python" +HOMEPAGE=" + https://pypi.org/project/azure-core/ + https://github.com/Azure/azure-sdk-for-python +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND="app-arch/unzip" +# TODO: package azure-sdk-tools +#BDEPEND=" +# app-arch/unzip +# test? ( +# dev-python/aiohttp[${PYTHON_USEDEP}] +# dev-python/azure-sdk-tools[${PYTHON_USEDEP}] +# dev-python/flask[${PYTHON_USEDEP}] +# dev-python/msrest[${PYTHON_USEDEP}] +# dev-python/pytest-trio[${PYTHON_USEDEP}] +# dev-python/requests[${PYTHON_USEDEP}] +# ) +#" + +DOCS=( {CHANGELOG,CLIENT_LIBRARY_DEVELOPER,README}.md ) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "aio support" dev-python/aiohttp +} diff --git a/dev-python/azure-core/metadata.xml b/dev-python/azure-core/metadata.xml new file mode 100644 index 0000000000..2d0b0b281a --- /dev/null +++ b/dev-python/azure-core/metadata.xml @@ -0,0 +1,11 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + azure-core + +