mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/protobuf: Revert incorrect namespace backport from 6.x
Upstream changed the way namespaces are installed in 6.x, but 5.x still uses the deprecated `namespace_packages=` key. Revert the `__init__.py` removal to fix installing packages and reenable the old eclass logic. Bug: https://bugs.gentoo.org/956779 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -27,10 +27,3 @@ SRC_URI="
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-3)"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# strip old-style namespace
|
||||
rm google/__init__.py || die
|
||||
}
|
||||
@@ -27,10 +27,3 @@ SRC_URI="
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1-3)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# strip old-style namespace
|
||||
rm google/__init__.py || die
|
||||
}
|
||||
Reference in New Issue
Block a user