commit: 210184362f468856c1d023517664e68b758f7c14
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 14:18:14 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 15:19:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21018436
dev-python/backports-entry_points_selectable: Strip namespace
Strip namespace __init__.py to avoid file collisions and/or breakage.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../backports-entry_points_selectable-1.1.1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.1.ebuild
b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.1.ebuild
index 5cf1f1d5f6a8..469b1af9da05 100644
---
a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.1.ebuild
+++
b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.1.ebuild
@@ -27,3 +27,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips
~ppc ~ppc64 ~riscv ~
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_compile() {
+ distutils-r1_python_compile
+ rm "${BUILD_DIR}/install$(python_get_sitedir)"/backports/__init__.py ||
die
+}