mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 08:18:49 -04:00
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYPI_NO_NORMALIZE=1
|
|
inherit distutils-r1 optfeature pypi
|
|
|
|
DESCRIPTION="Microsoft Azure Core Library for Python"
|
|
HOMEPAGE="
|
|
https://pypi.org/project/azure-core/
|
|
https://github.com/Azure/azure-sdk-for-python
|
|
"
|
|
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .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
|
|
}
|