diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-01 10:41:46 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-01 11:07:04 +0200 |
commit | ab0af71fdbb6bc77392f29de10381d5a28bd38f0 (patch) | |
tree | fd51113dcd8941fa2cce8ea8189014d4a05582af /sys-cluster/zookeeper-bin | |
parent | sys-cluster/zookeeper-bin: Remove old (diff) | |
download | gentoo-ab0af71fdbb6bc77392f29de10381d5a28bd38f0.tar.gz gentoo-ab0af71fdbb6bc77392f29de10381d5a28bd38f0.tar.bz2 gentoo-ab0af71fdbb6bc77392f29de10381d5a28bd38f0.zip |
sys-cluster/zookeeper-bin: Remove python2
Closes: https://bugs.gentoo.org/735490
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-cluster/zookeeper-bin')
-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 23a5a2025ee1..940d9e7fa92f 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 |