googleapis-common-protos: fix https://bugs.gentoo.org/880109

This commit is contained in:
Anton Bolshakov 2022-11-07 11:46:21 +08:00
parent e955566de9
commit 70f6b79b87
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST googleapis-common-protos-1.56.4.tar.gz 109551 BLAKE2B 14886a639258c62442f1bd33959f303f280728584d1d2cb2c0f9666b1fd645b9166eea3c149d3081a36ca61b7c48ef0677760d0078f6c46f6c9ce3338d0664b6 SHA512 c4dc3d5390caf5b671b5cf091410d660a96e5e5df5b9584cc757cc5c6929dabd8456965a7721a7573fa28ba8143af8f4c30183193f2e735eb1e25b66b1e15d7c

View file

@ -0,0 +1,33 @@
# 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_{8..10} )
inherit distutils-r1
DESCRIPTION="Python classes generated from the common protos in the googleapis repository"
HOMEPAGE="
https://github.com/googleapis/python-api-common-protos/
https://pypi.org/project/googleapis-common-protos/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND="
<dev-python/protobuf-python-5[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.15.0[${PYTHON_USEDEP}]
!dev-python/namespace-google
"
python_compile() {
distutils-r1_python_compile
find "${BUILD_DIR}" -name '*.pth' -delete || die
}
# no tests as this is all generated code

View file

@ -0,0 +1,17 @@
<?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">googleapis-common-protos</remote-id>
<remote-id type="github">googleapis/python-api-common-protos</remote-id>
</upstream>
</pkgmetadata>