From dd7fcdaffc94c2c2a9e9ee70a16e2da831368a8c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 18 May 2022 15:28:09 +0000 Subject: Adding metadata --- dev-python/protobuf-python/protobuf-python-9999.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dev-python/protobuf-python/protobuf-python-9999.ebuild') diff --git a/dev-python/protobuf-python/protobuf-python-9999.ebuild b/dev-python/protobuf-python/protobuf-python-9999.ebuild index c2f36cf1d651..49ade3d4d08c 100644 --- a/dev-python/protobuf-python/protobuf-python-9999.ebuild +++ b/dev-python/protobuf-python/protobuf-python-9999.ebuild @@ -3,6 +3,7 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 @@ -18,6 +19,7 @@ DESCRIPTION="Google's Protocol Buffers - Python bindings" HOMEPAGE=" https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf/ + https://pypi.org/project/protobuf/ " if [[ "${PV}" != "9999" ]]; then SRC_URI=" @@ -63,7 +65,7 @@ src_configure() { DISTUTILS_ARGS=(--cpp_implementation) } -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name "*.pth" -type f -delete || die +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}/install" -name "*.pth" -type f -delete || die } -- cgit v1.3.1