summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2021-09-30 01:14:58 -1000
committerMarc Schiffbauer <mschiff@gentoo.org>2021-09-30 01:15:37 -1000
commitfd0a4a6df9571241516e2af76d09265d369fadd5 (patch)
tree1f19e03d6722f8e2074bb526eb238619450c754f /app-backup
parentsys-kernel/vanilla-sources: Linux version bumps (diff)
downloadgentoo-fd0a4a6df9571241516e2af76d09265d369fadd5.tar.gz
gentoo-fd0a4a6df9571241516e2af76d09265d369fadd5.tar.bz2
gentoo-fd0a4a6df9571241516e2af76d09265d369fadd5.zip
app-backup/bareos: drop python2 dependency
Closes: https://bugs.gentoo.org/815175 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bareos/bareos-20.0.3-r2.ebuild (renamed from app-backup/bareos/bareos-20.0.3-r1.ebuild)8
1 files 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
index b46f2176016c..98191f5002a8 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