-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-cloud-translate-3.15.2.ebuild
- Loading branch information
Showing
7 changed files
with
63 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST python-cloud-core-2.3.0.tar.gz 69387 BLAKE2B ea2a574a5f2f9125d31de65f6c3fdcb4ccd93e17241cfc500be7c3812230af9e53cb073919c4db85f694f8fab86110a5adc8d94b2bcf479cc13f88dcb5ba182e SHA512 e9fb110269de55d5e67ca4dc23cc5c1e3be743ddd9beca878ab32734eec45fefcaaf5c7b6ac960a9d44623b040332132bb60f5a9abafee1eefcdb33603a54b12 | ||
DIST python-cloud-core-2.4.1.tar.gz 87178 BLAKE2B 8a0f72e3709ead4edff2d5fbe394eae9b85ace8ab7bd7efff7517040e517bc9c5ccd2e652cd426f54221b544b7e41b5479d7c00a0cf5f31311fe1cbabc83f643 SHA512 bb34a0777e2a346e29cede77c08d8ceef58297ec7db88312d03e3daf19a6a6dd3e33315e38a0f50686c8c6d027d26be1b4179d7429fc0f87575cd7a8a9e4b9f3 |
51 changes: 51 additions & 0 deletions
51
dev-python/google-cloud-core/google-cloud-core-2.4.1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DISTUTILS_USE_PEP517=setuptools | ||
# test requires dev-python/grpcio | ||
PYTHON_COMPAT=( python3_{10..12} ) | ||
|
||
inherit distutils-r1 optfeature | ||
|
||
MY_PN="${PN//google/python}" | ||
MY_P="${MY_PN}-${PV}" | ||
|
||
DESCRIPTION="Google Cloud API client core library" | ||
HOMEPAGE="https://github.com/googleapis/python-cloud-core" | ||
SRC_URI="https://github.com/googleapis/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="amd64 ~arm64 ~x86" | ||
|
||
RDEPEND=" | ||
dev-python/google-api-core[${PYTHON_USEDEP}] | ||
dev-python/google-auth[${PYTHON_USEDEP}] | ||
dev-python/importlib-metadata[${PYTHON_USEDEP}] | ||
" | ||
BDEPEND="test? ( dev-python/grpcio[${PYTHON_USEDEP}] )" | ||
|
||
S="${WORKDIR}/${MY_P}" | ||
|
||
distutils_enable_tests pytest | ||
|
||
python_compile() { | ||
distutils-r1_python_compile | ||
find "${BUILD_DIR}" -name '*.pth' -delete || die | ||
} | ||
|
||
src_test() { | ||
rm -r google || die "rm failed" | ||
distutils-r1_src_test | ||
} | ||
|
||
python_test() { | ||
distutils_write_namespace google | ||
epytest -v tests || die "tests failed with ${EPYTHON}" | ||
} | ||
|
||
pkg_postinst() { | ||
optfeature "support grpc" dev-python/grpcio | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
DIST google-cloud-translate-3.11.1.tar.gz 136185 BLAKE2B 56ce40beeefbac230d159ca40c0dd37936c7e3f32967d6690ac7a0adc58bdf27acb6f91a40fc851a27151d031aefe2849f41a5cfb4de603a1d9f65b7c52cafd0 SHA512 663a1a3d2a6f351d7d3a12d3b37c17d60cf0101c6b364f9d86219c8577bb024a5991af8b49be00f6975274569eb96433ac64191057124520594f880d289242d2 | ||
DIST google-cloud-translate-3.11.2.tar.gz 136314 BLAKE2B 18c76aecb5a3095217ab780e81c74f6e68f62ede47503016b2ca2068b64c541187aa4528b43b69b84ae941472f6e79c3f86491fac5e7200f79625e8aaaa27358 SHA512 a0fe5d4774b0ef49c75231f07cc2ebfaa1f9971d58e87e5650f351b4bca8aa298192ad4c3b7fd2a67d245f9c848902cc0d80828bfbce89582638d3e3a1d26730 | ||
DIST google-cloud-translate-3.15.2.tar.gz 170699 BLAKE2B ed31c07bba72df15d2b6c28edefe712a6141d218bd449f309140559b6353328e36bbd102045a09bf9f072b7216e3c95c0aaf2b8aca8ca0f2b52595362c4bc48c SHA512 d35f5a386f86331cd2f7f1611cce3eaeeba2570243cfe5f3b5caa745e4f507fbdc31fb81eb1eb2fbc5c6567f9f7c3fae8a078e7821e1fb293c871e215ba44294 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
DIST google-generativeai-0.2.2.gh.tar.gz 95613 BLAKE2B e35676400c68bfef20e2cfd0c96694f6fbecd038aa8a38bf24622da82d5aca9dfb8817d07f50e1827a5bf5342aae2c48818737a4a239b9277ec144691feeb57d SHA512 4007ce9dbf57677429f0a3729b65c9dbd1a40d417667b48619cf5b08d1ab8aad4a9eb2b756ac158adc757d9da6a1453d1ce2bc5479147fa2b43502f7c8cb616a | ||
DIST google-generativeai-0.3.2.gh.tar.gz 123634 BLAKE2B 02052716dc6320c524009566045ca929832b82fbb2d65bc5e2d43fa3f44440e5297deb65dc5eeae32a8a3939e077570a8d2a06d8645471afa5696b64e2099ed0 SHA512 c672758190afc657dc9a1ee7d340fa55120bcb93d7af1a1b9a23a305599df4e5fe7c8be2ac76985973bea9701ce4689ac12d2869728da9ddbbb2508d1287320e |
30 changes: 0 additions & 30 deletions
30
dev-python/google-generativeai/google-generativeai-0.2.2.ebuild
This file was deleted.
Oops, something went wrong.