diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-08 13:43:22 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-12-08 13:43:22 +0000 |
| commit | bf35cff020d11fa408559f7c8d39e18c20733839 (patch) | |
| tree | 966f7c860cd9963648c8436009a3eefdac971958 /dev-python/google-api-core | |
| parent | da82d90935bfd6e16c24c0306b89362d3daf65dc (diff) | |
| download | baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.tar.gz baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.tar.xz baldeagleos-repo-bf35cff020d11fa408559f7c8d39e18c20733839.zip | |
Adding metadata
Diffstat (limited to 'dev-python/google-api-core')
| -rw-r--r-- | dev-python/google-api-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/google-api-core/google-api-core-2.3.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 6e8a8eb6083f..8fb2f11472a6 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST google-api-core-2.2.2.tar.gz 140701 BLAKE2B 4e90db4311fc88d3fc8e29d6d8f11ae1424000c0e293f219d679984ec4a2c1bbbaf72d734b937d6916302f3a9a8b1cb369dd719972f4eb2d3f7264bf16ffbc7f SHA512 9b307c8ebd224b7614bd1d9f48d752852929b726c04df24f81e0b1b601f9a14d10654e9ef53b6a5ab677e8e57256f87b8683fa4dde0585f9c2e6d313d29d53fe +DIST google-api-core-2.3.0.tar.gz 155449 BLAKE2B 4aba324a18c8b6f9b9afd223688771fc6a57ee71f550736cfb5c9fac861a6a84369eb4e6ebec0664241590624c52cd0bcc8762afeb230debc16f0849fde049bf SHA512 f85c9279822ab818aa9d183bc930e61be9cfb2e65ab6a46fcd8aaab2531b4258c6247b02fb8f4f29841d9ab13ca33e129198589cbc37b3c77677a72e72635285 diff --git a/dev-python/google-api-core/google-api-core-2.3.0.ebuild b/dev-python/google-api-core/google-api-core-2.3.0.ebuild new file mode 100644 index 000000000000..b678fbba508f --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +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/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/grpcio + 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 +} |
