Python Azure
This commit is contained in:
3
dev-python/azure-cosmos/Manifest
Normal file
3
dev-python/azure-cosmos/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST azure-cosmos-3.1.2.tar.gz 137228 BLAKE2B 8b3cfbabd143500f864621442daf94fa73e67b1aae20152069dfd323ed9004357bafcd39c92a9e5c0ddd0ced922a2d096a4051cd71950a5b2fef4d420835a55d SHA512 c1e2d046acf7417940f6af9c3d59d28b2c8ba531cce6dc2fcbfe99cbf8ad2be990595664180259a0881bf5ccf27df3ab566a602c1d36ad8a715533078d2bd04d
|
||||
EBUILD azure-cosmos-3.1.2-r1.ebuild 1065 BLAKE2B b6a5e322d78bb067b9bee9677386011e0b82c1cc6ab5e09118de22cbcf9f0d93e68274ffe90aa41a18c4fbe41133041f6475d49d06d1096fa7e0cbba3ca30e2e SHA512 397bc3514ae26115f321f214849eee4e695df9e18bc26aac6add3ab069259b051c5b2339ef46032536e76865a9461d45724849e07981700e18dc1f28a3057130
|
||||
MISC metadata.xml 268 BLAKE2B 720206b568d4dbdb18bd676847c3c2d1667f1c1306e8cdc852fa1526c65ac0d079d46cc1f5a62c326797ab3f55254a32a365f31341b1c8c236bc557fb42930d8 SHA512 0fb8eed57ca7950c62b4d265a644ef1c519cfdd5bd3c400b1171140a95472ced04b123300e1b051c5ed3e7de2901fc9fbefaafd4ff7c2c69804d68a882e90c7a
|
||||
45
dev-python/azure-cosmos/azure-cosmos-3.1.2-r1.ebuild
Normal file
45
dev-python/azure-cosmos/azure-cosmos-3.1.2-r1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Microsoft Azure Cosmos DB SQL API client library for Python"
|
||||
HOMEPAGE="https://pypi.org/project/azure-cosmos"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
# They fail.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/msrestazure-0.6.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/azure-common-1.1.27[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/find_package/ s:])):, 'samples', 'samples.*', 'doc'])):" setup.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover -s ./test -v -p '*.py' || die
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
python_export PYTHON_SITEDIR
|
||||
|
||||
# __init__.py are provided by net-misc/azure-cli
|
||||
rm "${ED}${PYTHON_SITEDIR}/azure/__init__.py" || die
|
||||
|
||||
# Avoid portage file collisions
|
||||
rm -r "${ED}${PYTHON_SITEDIR}/azure/__pycache__" || die
|
||||
}
|
||||
8
dev-python/azure-cosmos/metadata.xml
Normal file
8
dev-python/azure-cosmos/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vincent.hardy@linuxunderground.be</email>
|
||||
<name>Vincent Hardy</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user