summaryrefslogtreecommitdiff
path: root/dev-python/protobuf-python/protobuf-python-9999.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-18 08:57:58 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-18 08:59:53 +0200
commite4ca3a7b55bd93ba6d55373ae5ee0e52deb26bc2 (patch)
tree063d399bdbe8f944cef7f643255b5b58beb4f78a /dev-python/protobuf-python/protobuf-python-9999.ebuild
parent7b7acddbf871cf9b91591ca3bc729b7e7bf4a341 (diff)
downloadgentoo-e4ca3a7b55bd93ba6d55373ae5ee0e52deb26bc2.tar.gz
gentoo-e4ca3a7b55bd93ba6d55373ae5ee0e52deb26bc2.tar.bz2
gentoo-e4ca3a7b55bd93ba6d55373ae5ee0e52deb26bc2.zip
dev-python/protobuf-python: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/protobuf-python/protobuf-python-9999.ebuild')
-rw-r--r--dev-python/protobuf-python/protobuf-python-9999.ebuild8
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
}