commit: fd0a4a6df9571241516e2af76d09265d369fadd5 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> AuthorDate: Thu Sep 30 11:14:58 2021 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Thu Sep 30 11:15:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0a4a6d
app-backup/bareos: drop python2 dependency Closes: https://bugs.gentoo.org/815175 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> .../bareos/{bareos-20.0.3-r1.ebuild => bareos-20.0.3-r2.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-backup/bareos/bareos-20.0.3-r1.ebuild b/app-backup/bareos/bareos-20.0.3-r2.ebuild similarity index 98% rename from app-backup/bareos/bareos-20.0.3-r1.ebuild rename to app-backup/bareos/bareos-20.0.3-r2.ebuild index b46f2176016..98191f5002a 100644 --- a/app-backup/bareos/bareos-20.0.3-r1.ebuild +++ b/app-backup/bareos/bareos-20.0.3-r2.ebuild @@ -59,7 +59,6 @@ DEPEND=" sys-libs/ncurses:= sys-libs/zlib ) - vmware? ( dev-lang/python:2.7 ) " RDEPEND="${DEPEND} !clientonly? ( @@ -198,10 +197,11 @@ src_install() { rm -f "${D}"/etc/bareos/bareos-regress.conf rm -f "${D}"/etc/logrotate.d/bareos-dir - # get rid of py2 stuff if USE=-vmware + # get rid of py2 stuff + rm -rf "$D"/usr/lib64/python2.7 + rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so if ! use vmware; then - rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py,python-fd.so} - rm -rf "$D"/usr/lib64/python2.7 + rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py} fi # rename statically linked apps
