re-add google-api-core-1.31.2 from main archiv, fixes #243

This commit is contained in:
Andreas Billmeier 2021-10-12 07:14:14 +02:00 committed by Andreas Billmeier
parent 285a0a20cc
commit 6869b6818c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST google-api-core-1.31.2.tar.gz 135491 BLAKE2B d2567f628ac888b8f708b5e62c7a34cdad592e98689b3208041e48f08345da5df7da295d261af73c8e89041c91297a90af243b24c250095493af07c6d892459f SHA512 e819bbaadf1aedf78cb397c9a5a9677fbc625285a4f3d14620e5af0ec125f97eaabe18e34a669daee3bd51520de0818a4e2f451f83502ad78adf77e4c739fa67
EBUILD google-api-core-1.31.2.ebuild 1521 BLAKE2B ba93ad7c7fc37752d1b2f6f8f902e4ea68be5c25c6b86add03312906749241834709b6a82b1a481ee9a599482c4a2be6e949e285769bb3b8aea32cb5b98912b0 SHA512 7053d7ea4e6667a7f6c7aa72bbaeda48d764c4f8a95ea30dca60e8fbf8df31334230125eb81298c202c847f2f3bc9e6bc20f018c286385aa0d22e53f43b9c82a
MISC metadata.xml 453 BLAKE2B b53e834b3c423d8bdceaa2568f38173fc203f92f2340edd42899e4d4a93602118dbdb2283d492e34189155c336ec659d96f907f257b34cbe5557be331169a4f5 SHA512 d26c893b82fa946cab27669148b3dc2dea8b985636209ae49294cb14a7055f6c4a3884b38bce6e4923a54e9872af7e540b33a992eb727caae96e071a8ffe3237

View File

@ -0,0 +1,51 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Core Library for Google Client Libraries"
HOMEPAGE="https://github.com/googleapis/python-api-core
https://googleapis.dev/python/google-api-core/latest"
SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P//google/python}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
dev-python/namespace-google[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
>=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/grpcio[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests --install pytest
EPYTEST_DESELECT=(
# TODO: package proto-plus
tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore
tests/unit/test_protobuf_helpers.py::test_field_mask_ignore_trailing_underscore_with_nesting
)
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">google-api-core</remote-id>
</upstream>
</pkgmetadata>