From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 169461580EB for ; Sat, 24 May 2025 19:21:23 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 00FEC3430E5 for ; Sat, 24 May 2025 19:21:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E65BF110287; Sat, 24 May 2025 19:21:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D893F110287 for ; Sat, 24 May 2025 19:21:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 908833430A0 for ; Sat, 24 May 2025 19:21:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0236E19E5 for ; Sat, 24 May 2025 19:21:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748114428.6a849dc903c07abd478e7cb1ab9088809170c131.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/backintime/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/backintime/Manifest app-backup/backintime/backintime-1.5.2.ebuild X-VCS-Directories: app-backup/backintime/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6a849dc903c07abd478e7cb1ab9088809170c131 X-VCS-Branch: master Date: Sat, 24 May 2025 19:21:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f38876c6-eaac-4a36-90d1-8a4ed9806c87 X-Archives-Hash: 1b48c262d63fb9f0e12b57ce69693b08 commit: 6a849dc903c07abd478e7cb1ab9088809170c131 Author: Filip Kobierski pm me> AuthorDate: Thu Sep 5 19:50:53 2024 +0000 Commit: Sam James gentoo 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 pm.me> Part-of: https://github.com/gentoo/gentoo/pull/38465 Signed-off-by: Sam James 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}" +}