commit: ab0af71fdbb6bc77392f29de10381d5a28bd38f0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Sep 1 08:41:46 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Sep 1 09:07:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0af71f
sys-cluster/zookeeper-bin: Remove python2 Closes: https://bugs.gentoo.org/735490 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> ...r-bin-3.4.13.ebuild => zookeeper-bin-3.4.13-r1.ebuild} | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13.ebuild b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13-r1.ebuild similarity index 82% rename from sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13.ebuild rename to sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13-r1.ebuild index 23a5a2025ee..940d9e7fa92 100644 --- a/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13.ebuild +++ b/sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13-r1.ebuild @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils java-utils-2 user +inherit eutils java-utils-2 user MY_P="zookeeper" MY_PN=${MY_P}-${PV} @@ -33,11 +32,6 @@ pkg_setup() { } src_prepare() { - # python - sed -e "s|src/c/zookeeper.c|zookeeper.c|g" \ - -e "s|../../../|${S}|g" \ - -i contrib/zkpython/src/python/setup.py || die - # whyyyy u -Werror ?! so horribal! sed -e 's/-Werror//g' -i src/c/Makefile.* || die "Failed to rectify the Makefile" } @@ -55,13 +49,6 @@ src_compile() { src_install() { local DATA_DIR=/var/lib/${MY_P} - # python - cd "${S}"/contrib/zkpython/ || die - mv src/python/setup.py . - mv src/c/* . - python_foreach_impl distutils-r1_src_install - cd "${S}" || die - # cleanup sources rm -rf src/ || die rm bin/*.cmd || die
