summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-01 10:41:46 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-01 11:07:04 +0200
commitab0af71fdbb6bc77392f29de10381d5a28bd38f0 (patch)
treefd51113dcd8941fa2cce8ea8189014d4a05582af
parentsys-cluster/zookeeper-bin: Remove old (diff)
downloadgentoo-ab0af71f.tar.gz
gentoo-ab0af71f.tar.bz2
gentoo-ab0af71f.zip
sys-cluster/zookeeper-bin: Remove python2
Closes: https://bugs.gentoo.org/735490 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13-r1.ebuild (renamed from sys-cluster/zookeeper-bin/zookeeper-bin-3.4.13.ebuild)15
1 files changed, 1 insertions, 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
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