Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/backintime/
Date: Sat, 07 May 2016 22:03:49
Message-Id: 1462658605.21f7db9006140c7aa28c14aefba92fd30a58cb95.xmw@gentoo
1 commit: 21f7db9006140c7aa28c14aefba92fd30a58cb95
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 22:03:25 2016 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 22:03:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f7db90
7
8 app-backup/backintime: Version bump (thanks Yanestra for the hint, bug 579560).
9
10 Package-Manager: portage-2.2.28
11
12 app-backup/backintime/Manifest | 1 +
13 app-backup/backintime/backintime-1.1.12.ebuild | 78 ++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/app-backup/backintime/Manifest b/app-backup/backintime/Manifest
17 index e377aca..eca5319 100644
18 --- a/app-backup/backintime/Manifest
19 +++ b/app-backup/backintime/Manifest
20 @@ -1 +1,2 @@
21 +DIST backintime-1.1.12.tar.gz 656192 SHA256 a835e4eccb70ea3e8156861750a4c93d33dbc0e8590daf390c5a54dcc6b0ee4c SHA512 e1dc3e3d2bac8b0f390898029978e806128ffd6005471a7e8a697c44f9e271f9902b496b33b037133f9a509f4ca3f8b8f10adf681b670ec9a1a751dfc786cb62 WHIRLPOOL 8ada493d2cbb38879bc7481899eb41fa235b9e4e7d3a003d40b230c32924e568a2fa0b43bbd875c734279f36d63dd678cd7eabf406a18cc4b7c45d716cacfae1
22 DIST backintime-1.1.8.tar.gz 617754 SHA256 a1f2d210e95633dfe383eb50b3b560d1e09c43de4ce89dd4cb193cab40cb8a1e SHA512 550e270dcf341ec5ad952f4decd836007d19ff9bf60cada834dfb488dbf29954b6fd3ed80a4f8fb4406a0166895a7f7c922e5622d06c43086dd54073e5aabd99 WHIRLPOOL ea9af3c432c61def4214e1d1e2c70e40cb7e50867bb0fa08930740c13133293ad135fd6c97295ab176deaedacb33e72583dc7c34dcfc3cb375a8b6e7fc7ab632
23
24 diff --git a/app-backup/backintime/backintime-1.1.12.ebuild b/app-backup/backintime/backintime-1.1.12.ebuild
25 new file mode 100644
26 index 0000000..62e5964
27 --- /dev/null
28 +++ b/app-backup/backintime/backintime-1.1.12.ebuild
29 @@ -0,0 +1,78 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +PYTHON_COMPAT=( python3_3 python3_4 )
37 +
38 +inherit eutils python-single-r1
39 +
40 +DESCRIPTION="Backup system inspired by TimeVault and FlyBack, with a GUI for GNOME and KDE4"
41 +HOMEPAGE="http://backintime.le-web.org/"
42 +SRC_URI="http://${PN}.le-web.org/download/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="qt4"
48 +
49 +DEPEND="${PYTHON_DEPS}
50 + dev-python/dbus-python[${PYTHON_USEDEP}]
51 + dev-python/keyring[${PYTHON_USEDEP}]
52 + net-misc/openssh
53 + net-misc/rsync[xattr,acl]"
54 +RDEPEND="${DEPEND}
55 + qt4? ( dev-python/PyQt4 )"
56 +
57 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
58 +
59 +src_prepare() {
60 + #fix doc install location
61 + sed -e "s:/doc/${PN}-common:/doc/${PF}:g" \
62 + -i common/configure || die
63 + sed -e "s:/doc/${PN}-qt4:/doc/${PF}:g" \
64 + -i qt4/configure || die
65 + sed -e "/addInstallFile \"..\/VERSION/d" \
66 + -e "/addInstallFile \"..\/LICENSE/d" \
67 + -e "/addInstallFile \"..\/debian\/copyright/d" \
68 + -i {qt4,common}/configure || die
69 +
70 + if [ -n ${LINGUAS+x} ] ; then
71 + cd common/po || die
72 + for po in *.po ; do
73 + if ! has ${po/.po} ${LINGUAS} ; then
74 + rm ${po} || die
75 + fi
76 + done
77 + fi
78 +}
79 +
80 +src_configure() {
81 + cd "${S}"/common || die
82 + ./configure --python3 --no-fuse-group || die
83 + if use qt4 ; then
84 + cd "${S}"/qt4 || die
85 + ./configure --python3 || die
86 + fi
87 +}
88 +
89 +src_compile() {
90 + cd "${S}"/common || die
91 + emake
92 + if use qt4 ; then
93 + cd "${S}"/qt4 || die
94 + emake
95 + fi
96 +}
97 +
98 +src_install() {
99 + cd "${S}"/common || die
100 + emake DESTDIR="${D}" install
101 + if use qt4 ; then
102 + cd "${S}"/qt4 || die
103 + emake DESTDIR="${D}" install
104 + fi
105 +
106 + python_optimize "${D}"
107 +}