mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-backup/backintime: drop 1.5.1
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
6683eb0a0d
commit
be7cfbaf6d
@ -1,2 +1 @@
|
||||
DIST backintime-1.5.1.tar.gz 2009248 BLAKE2B 5136b4c59f5d9e4d8e79b9e004ca666caf494d8613697a6a3ab1c9c31b42cbdcce832f821dc98adda624423101d15c787e730922da479bb7ae657cbf87375ad2 SHA512 3c629a49c5eb2e740dfdebd49d8b04cae6a15a1602a68429097d62e652c6fe18b5fdeb45460456c157a1e148cca30a220ccd4decadf7836487ba8c03f075e294
|
||||
DIST backintime-1.5.4.tar.gz 7844427 BLAKE2B 6f37f70067ebf8cf4847b22c77ad1183b8139f67216e88722d4d029d7314a0cff12f7ba28f684ba78d9b0b0c58916b32e8ab25dea87219e86e6fd412832b03e0 SHA512 b09c6926351985ae8eccb9f31d74c09e345063c8d0091dc19fbb8650a1bcb1ec190db7c7df82b945badb4dfbf70bbd3677f7fea0b3eee0419f0fe866785a5f5d
|
||||
|
||||
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2025 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 x86"
|
||||
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
|
||||
|
||||
if use gui ; then
|
||||
emake -C qt
|
||||
fi
|
||||
}
|
||||
|
||||
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}"
|
||||
}
|
||||
@ -1,119 +0,0 @@
|
||||
diff --git a/common/configure b/common/configure
|
||||
index a750fd03..baf216b1 100755
|
||||
--- a/common/configure
|
||||
+++ b/common/configure
|
||||
@@ -161,7 +161,7 @@ printf "DEST=\$(DESTDIR)\$(PREFIX)\n\n" >> ${MAKEFILE}
|
||||
|
||||
printf "all:\tbuild\n\n" >> ${MAKEFILE}
|
||||
|
||||
-printf "build:\ttranslate compress\n" >> ${MAKEFILE}
|
||||
+printf "build:\ttranslate\n" >> ${MAKEFILE}
|
||||
|
||||
printf "clean:\n" >> ${MAKEFILE}
|
||||
printf "\trm -f po/*.mo\n" >> ${MAKEFILE}
|
||||
@@ -192,28 +192,11 @@ addInstallFiles "plugins/*.py" "/share/backintime/plugins"
|
||||
addUninstallDir "/share/backintime"
|
||||
addNewline
|
||||
|
||||
-addComment "documentation"
|
||||
-addInstallDir "/share/doc/backintime-common"
|
||||
-addInstallFile "../AUTHORS" "/share/doc/backintime-common"
|
||||
-addInstallFile "../LICENSE" "/share/doc/backintime-common"
|
||||
-addInstallFile "../README.md" "/share/doc/backintime-common"
|
||||
-addInstallFile "../TRANSLATIONS" "/share/doc/backintime-common"
|
||||
-addInstallFile "../CHANGES" "/share/doc/backintime-common"
|
||||
-addNewline
|
||||
-
|
||||
-addComment "config-examples"
|
||||
-addInstallDir "/share/doc/backintime-common/examples"
|
||||
-addInstallFile "config-example-local.gz" "/share/doc/backintime-common/examples"
|
||||
-addInstallFile "config-example-ssh.gz" "/share/doc/backintime-common/examples"
|
||||
-addUninstallDir "/share/doc/backintime-common"
|
||||
-addUninstallDir "/share/doc"
|
||||
-addNewline
|
||||
-
|
||||
addComment "man"
|
||||
addInstallDir "/share/man/man1"
|
||||
-addInstallFile "man/C/backintime.1.gz" "/share/man/man1"
|
||||
-addInstallFile "man/C/backintime-askpass.1.gz" "/share/man/man1"
|
||||
-addInstallFile "man/C/backintime-config.1.gz" "/share/man/man1"
|
||||
+addInstallFile "man/C/backintime.1" "/share/man/man1"
|
||||
+addInstallFile "man/C/backintime-askpass.1" "/share/man/man1"
|
||||
+addInstallFile "man/C/backintime-config.1" "/share/man/man1"
|
||||
addUninstallDir "/share/man"
|
||||
addNewline
|
||||
|
||||
@@ -237,15 +220,6 @@ addSymlink "backintime" "/share/bash-completion/completions/backinti
|
||||
addUninstallDir "/share/bash-completion"
|
||||
addNewline
|
||||
|
||||
-#compress
|
||||
-printf "compress:\n" >> ${MAKEFILE}
|
||||
-printf "\t# Man pages\n" >> ${MAKEFILE}
|
||||
-printf "\tfor i in \$\$(ls -1 man/C/); do case \$\$i in *.gz|*~) continue;; *) gzip -n --best -c man/C/\$\$i > man/C/\$\${i}.gz;; esac; done\n\n" >> ${MAKEFILE}
|
||||
-
|
||||
-printf "\t# Config-examples\n" >> ${MAKEFILE}
|
||||
-printf "\tgzip -n --best -c config-example-local > config-example-local.gz\n" >> ${MAKEFILE}
|
||||
-printf "\tgzip -n --best -c config-example-ssh > config-example-ssh.gz\n\n" >> ${MAKEFILE}
|
||||
-
|
||||
#translate
|
||||
printf "translate:\t$mos\n\n" >> ${MAKEFILE}
|
||||
|
||||
diff --git a/qt/configure b/qt/configure
|
||||
index b2044754..12741123 100755
|
||||
--- a/qt/configure
|
||||
+++ b/qt/configure
|
||||
@@ -138,7 +138,7 @@ printf "DEST=\$(DESTDIR)\$(PREFIX)\n\n" >> ${MAKEFILE}
|
||||
|
||||
printf "all:\tbuild\n\n" >> ${MAKEFILE}
|
||||
|
||||
-printf "build:\tcompress\n\n" >> ${MAKEFILE}
|
||||
+printf "build:\n\n" >> ${MAKEFILE}
|
||||
|
||||
printf "clean:\n" >> ${MAKEFILE}
|
||||
printf "\trm -f po/*.mo\n" >> ${MAKEFILE}
|
||||
@@ -149,7 +149,6 @@ printf "install:\n" >> ${MAKEFILE}
|
||||
|
||||
# Migration
|
||||
printf "\t# Clean-up installed old files that were renamed or moved in later BiT versions\n" >> ${MAKEFILE}
|
||||
-printf "\trm -f \$(DEST)/etc/dbus-1/system.d/net.launchpad.backintime.serviceHelper.conf\n" >> ${MAKEFILE}
|
||||
printf "\trm -f \$(DEST)/share/backintime/plugins/qt4plugin.py\n" >> ${MAKEFILE}
|
||||
addNewline
|
||||
|
||||
@@ -199,15 +198,6 @@ addInstallFiles "net.launchpad.backintime*.policy" "/share/polkit-1/actions"
|
||||
addUninstallDir "/share/polkit-1"
|
||||
addNewline
|
||||
|
||||
-addComment "documentation"
|
||||
-addInstallDir "/share/doc/backintime-qt"
|
||||
-addInstallFile "../AUTHORS" "/share/doc/backintime-qt"
|
||||
-addInstallFile "../LICENSE" "/share/doc/backintime-qt"
|
||||
-addInstallFile "../README.md" "/share/doc/backintime-qt"
|
||||
-addInstallFile "../TRANSLATIONS" "/share/doc/backintime-qt"
|
||||
-addInstallFile "../CHANGES" "/share/doc/backintime-qt"
|
||||
-addNewline
|
||||
-
|
||||
addComment ".desktop"
|
||||
addInstallDir "/share/applications"
|
||||
addInstallFiles "*.desktop" "/share/applications"
|
||||
@@ -215,7 +205,7 @@ addNewline
|
||||
|
||||
addComment "man"
|
||||
addInstallDir "/share/man/man1"
|
||||
-addInstallFile "man/C/backintime-qt.1.gz" "/share/man/man1"
|
||||
+addInstallFile "man/C/backintime-qt.1" "/share/man/man1"
|
||||
addUninstallDir "/share/man"
|
||||
addNewline
|
||||
|
||||
@@ -230,11 +220,6 @@ addUninstallDir "/share/icons"
|
||||
addUninstallDir "/share"
|
||||
addNewline
|
||||
|
||||
-#compress
|
||||
-printf "compress:\n" >> ${MAKEFILE}
|
||||
-printf "\t# Man pages\n" >> ${MAKEFILE}
|
||||
-printf "\tfor i in \$\$(ls -1 man/C/); do case \$\$i in *.gz|*~) continue;; *) gzip -n --best -c man/C/\$\$i > man/C/\$\${i}.gz;; esac; done\n\n" >> ${MAKEFILE}
|
||||
-
|
||||
# Uninstall
|
||||
printf "uninstall: uninstall_files uninstall_dirs\n\n" >> ${MAKEFILE}
|
||||
printf "uninstall_files:\n" >> ${MAKEFILE}
|
||||
Loading…
x
Reference in New Issue
Block a user