summaryrefslogtreecommitdiff
path: root/dev-python/google-api-core
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-22 15:47:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-22 15:47:57 +0000
commit60b99ff2b3fe2d1ee73141d81f7724071820c047 (patch)
treeaf95c2154e76f83a99ec66688cf7bc5e4788a82b /dev-python/google-api-core
parent5ff35cfdfb57ddfb3ab1f55b87510f2ec75a4d1f (diff)
downloadbaldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.tar.gz
baldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.tar.xz
baldeagleos-repo-60b99ff2b3fe2d1ee73141d81f7724071820c047.zip
Adding metadata
Diffstat (limited to 'dev-python/google-api-core')
-rw-r--r--dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild (renamed from dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild)3
-rw-r--r--dev-python/google-api-core/google-api-core-2.7.1.ebuild65
-rw-r--r--dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild (renamed from dev-python/google-api-core/google-api-core-2.7.2.ebuild)1
3 files changed, 3 insertions, 66 deletions
diff --git a/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild b/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild
index 48570cca9b40..aaaf1fef4c45 100644
--- a/dev-python/google-api-core/google-api-core-2.7.1-r1.ebuild
+++ b/dev-python/google-api-core/google-api-core-2.7.1-r2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${P//google/python}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
dev-python/protobuf-python[${PYTHON_USEDEP}]
@@ -24,6 +24,7 @@ RDEPEND="
>=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/namespace-google
"
# grpcio support is broken if grpcio-status is not installed,
# and we do not package the latter
diff --git a/dev-python/google-api-core/google-api-core-2.7.1.ebuild b/dev-python/google-api-core/google-api-core-2.7.1.ebuild
deleted file mode 100644
index 8bb10f8baa8a..000000000000
--- a/dev-python/google-api-core/google-api-core-2.7.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-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/index.html"
-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}]
-"
-# grpcio support is broken if grpcio-status is not installed,
-# and we do not package the latter
-BDEPEND="
- test? (
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/proto-plus[${PYTHON_USEDEP}]
- dev-python/rsa[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # failing due to missing grpcio-status
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter
- tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write
- tests/unit/test_grpc_helpers.py::test_wrap_unary_errors
- tests/unit/test_grpc_helpers.py::Test_StreamingResponseIterator::test___next___w_rpc_error
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization
- tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration
- # TODO
- tests/unit/test_operation.py::test_exception_with_error_code
-)
-
-python_compile() {
- distutils-r1_python_compile
- find "${BUILD_DIR}" -name '*.pth' -delete || die
-}
-
-python_test() {
- epytest -p no:aiohttp -p no:trio
-}
diff --git a/dev-python/google-api-core/google-api-core-2.7.2.ebuild b/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild
index 152433cc3df7..e85779648c06 100644
--- a/dev-python/google-api-core/google-api-core-2.7.2.ebuild
+++ b/dev-python/google-api-core/google-api-core-2.7.2-r1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
>=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/namespace-google
"
BDEPEND="
test? (