public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/backintime/
Date: Sat, 24 May 2025 19:21:20 +0000 (UTC)	[thread overview]
Message-ID: <1748114428.6a849dc903c07abd478e7cb1ab9088809170c131.sam@gentoo> (raw)

commit:     6a849dc903c07abd478e7cb1ab9088809170c131
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Thu Sep  5 19:50:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 24 19:20:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a849dc9

app-backup/backintime: add 1.5.2, fix license

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/38465
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-backup/backintime/Manifest                |   1 +
 app-backup/backintime/backintime-1.5.2.ebuild | 102 ++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/app-backup/backintime/Manifest b/app-backup/backintime/Manifest
index 75dff2a0bb6a..a2354bc3f0db 100644
--- a/app-backup/backintime/Manifest
+++ b/app-backup/backintime/Manifest
@@ -1 +1,2 @@
 DIST backintime-1.5.1.tar.gz 2009248 BLAKE2B 5136b4c59f5d9e4d8e79b9e004ca666caf494d8613697a6a3ab1c9c31b42cbdcce832f821dc98adda624423101d15c787e730922da479bb7ae657cbf87375ad2 SHA512 3c629a49c5eb2e740dfdebd49d8b04cae6a15a1602a68429097d62e652c6fe18b5fdeb45460456c157a1e148cca30a220ccd4decadf7836487ba8c03f075e294
+DIST backintime-1.5.2.tar.gz 2012428 BLAKE2B ea593f6cffb7ca2382188eff51fee156ce9ed3258e26ff4abc84252d0809ecae7b8b4c9d13251aef6776e13e2050c124aa400dd8758ef2df421e08cdaf8026bb SHA512 9b33eddb38b85c6490f3eb5b93c2c457933951a39253d563759be4194fd7da0dea55f0884d2b70353861360e4defbe6d646080711a178309ee0161290062eb03

diff --git a/app-backup/backintime/backintime-1.5.2.ebuild b/app-backup/backintime/backintime-1.5.2.ebuild
new file mode 100644
index 000000000000..a8750d07a601
--- /dev/null
+++ b/app-backup/backintime/backintime-1.5.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-single-r1 xdg
+
+DESCRIPTION="Backup system inspired by TimeVault and FlyBack"
+HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/"
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/bit-team/backintime/"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="examples gui test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		dev-python/dbus-python[${PYTHON_USEDEP}]
+		dev-python/keyring[${PYTHON_USEDEP}]
+		dev-python/packaging[${PYTHON_USEDEP}]
+	')
+"
+RDEPEND="
+	${DEPEND}
+	virtual/openssh
+	net-misc/rsync[xattr,acl]
+	gui? ( dev-python/PyQt6[gui,widgets] )
+"
+BDEPEND="
+	sys-devel/gettext
+	test? ( $(python_gen_cond_dep 'dev-python/pyfakefs[${PYTHON_USEDEP}]') )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.5.1-no-compress-docs-examples.patch"
+)
+
+src_prepare() {
+	default
+
+	# Looks at host system too much, so too flaky
+	rm common/test/test_tools.py || die
+	# Fails with dbus/udev issue (likely sandbox)
+	rm common/test/test_snapshots.py || die
+}
+
+src_configure() {
+	# TODO: Review https://github.com/bit-team/backintime/blob/dev/CONTRIBUTING.md#dependencies
+	# for deps (some may be optfeatures).
+	pushd common > /dev/null || die
+	# Not autotools
+	./configure --python="${PYTHON}" --no-fuse-group || die
+	popd > /dev/null || die
+
+	if use gui ; then
+		pushd qt > /dev/null || die
+		./configure --python="${PYTHON}" || die
+		popd > /dev/null || die
+	fi
+}
+
+src_compile() {
+	emake -C common
+
+	use gui && emake -C qt
+}
+
+src_test() {
+	# pytest should work but it can't find the backintime binary, so
+	# use the unittest-based runner instead.
+	# https://github.com/bit-team/backintime/blob/dev/CONTRIBUTING.md#how-to-contribute-to-back-in-time
+	emake -C common test-v
+}
+
+src_install() {
+	emake -C common DESTDIR="${D}" install
+
+	if use gui; then
+		emake -C qt DESTDIR="${D}" install
+	fi
+
+	einstalldocs
+
+	if use examples ; then
+		docinto examples
+		dodoc common/{config-example-local,config-example-ssh}
+	fi
+
+	python_optimize "${D}"
+}


             reply	other threads:[~2025-05-24 19:21 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-24 19:21 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-06  0:13 [gentoo-commits] repo/gentoo:master commit in: app-backup/backintime/ Sam James
2025-07-07 22:11 Sam James
2025-05-24 20:05 Sam James
2025-05-24 19:21 Sam James
2025-05-24 19:21 Sam James
2025-01-24  7:14 Joonas Niilola
2025-01-22 21:57 Andreas Sturmlechner
2025-01-13  6:54 Joonas Niilola
2024-11-24  7:54 Joonas Niilola
2024-06-03  7:42 Sam James
2024-06-03  7:42 Sam James
2024-06-03  7:42 Sam James
2024-06-03  7:36 Sam James
2024-06-03  7:36 Sam James
2023-05-04  4:36 Sam James
2023-05-03  5:59 Sam James
2022-11-23 20:19 Andreas Sturmlechner
2022-05-16 12:22 Jakov Smolić
2022-05-16  2:53 Sam James
2022-03-18 14:00 Joonas Niilola
2021-12-05  4:00 Sam James
2021-08-10  2:59 Sam James
2021-08-10  2:59 Sam James
2020-12-04 15:19 Aaron Bauman
2020-02-07  9:08 Michał Górny
2020-01-16 12:55 Andreas Sturmlechner
2020-01-13  8:50 Agostino Sarubbo
2020-01-13  8:45 Agostino Sarubbo
2020-01-01  7:55 Andreas Sturmlechner
2018-04-26  3:32 Andreas Sturmlechner
2018-04-21 22:18 Aaron Bauman
2018-04-03 16:22 Andreas Sturmlechner
2017-12-22  9:01 Michael Weber
2017-12-22  8:51 Michael Weber
2017-12-19  8:32 Jason Zaman
2017-12-18 16:43 Michael Weber
2017-12-18 16:43 Michael Weber
2016-12-19 19:56 Tobias Klausmann
2016-10-09  7:47 Pacho Ramos
2016-05-07 22:03 Michael Weber
2016-01-06 13:34 Agostino Sarubbo
2016-01-03 11:54 Agostino Sarubbo
2016-01-02 22:49 Michael Weber
2016-01-02 21:41 Michael Weber
2015-12-07  8:58 Justin Lecher
2015-11-26  9:58 Agostino Sarubbo
2015-11-09  9:43 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1748114428.6a849dc903c07abd478e7cb1ab9088809170c131.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox