diff options
Diffstat (limited to 'dev-python/protobuf-python/protobuf-python-9999.ebuild')
| -rw-r--r-- | dev-python/protobuf-python/protobuf-python-9999.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
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 } |
