Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bareos/
Date: Thu, 30 Sep 2021 11:16:21
Message-Id: 1633000537.fd0a4a6df9571241516e2af76d09265d369fadd5.mschiff@gentoo
1 commit: fd0a4a6df9571241516e2af76d09265d369fadd5
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 30 11:14:58 2021 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 30 11:15:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0a4a6d
7
8 app-backup/bareos: drop python2 dependency
9
10 Closes: https://bugs.gentoo.org/815175
11 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
12
13 .../bareos/{bareos-20.0.3-r1.ebuild => bareos-20.0.3-r2.ebuild} | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/app-backup/bareos/bareos-20.0.3-r1.ebuild b/app-backup/bareos/bareos-20.0.3-r2.ebuild
17 similarity index 98%
18 rename from app-backup/bareos/bareos-20.0.3-r1.ebuild
19 rename to app-backup/bareos/bareos-20.0.3-r2.ebuild
20 index b46f2176016..98191f5002a 100644
21 --- a/app-backup/bareos/bareos-20.0.3-r1.ebuild
22 +++ b/app-backup/bareos/bareos-20.0.3-r2.ebuild
23 @@ -59,7 +59,6 @@ DEPEND="
24 sys-libs/ncurses:=
25 sys-libs/zlib
26 )
27 - vmware? ( dev-lang/python:2.7 )
28 "
29 RDEPEND="${DEPEND}
30 !clientonly? (
31 @@ -198,10 +197,11 @@ src_install() {
32 rm -f "${D}"/etc/bareos/bareos-regress.conf
33 rm -f "${D}"/etc/logrotate.d/bareos-dir
34
35 - # get rid of py2 stuff if USE=-vmware
36 + # get rid of py2 stuff
37 + rm -rf "$D"/usr/lib64/python2.7
38 + rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so
39 if ! use vmware; then
40 - rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py,python-fd.so}
41 - rm -rf "$D"/usr/lib64/python2.7
42 + rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py}
43 fi
44
45 # rename statically linked apps