From e4ca3a7b55bd93ba6d55373ae5ee0e52deb26bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 18 May 2022 08:57:58 +0200 Subject: dev-python/protobuf-python: Use PEP517 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 9347d6babd62..3541dfec56fd 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_{8..10} ) 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.2.3