Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/borgmatic/
Date: Sat, 21 Nov 2020 22:05:38
Message-Id: 1605996319.d4f8116af440c6c90e9acb73f46d2bec1fe9fa86.marecki@gentoo
1 commit: d4f8116af440c6c90e9acb73f46d2bec1fe9fa86
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 21 21:38:24 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 21 22:05:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f8116a
7
8 app-backup/borgmatic: remove old
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-backup/borgmatic/Manifest | 1 -
13 app-backup/borgmatic/borgmatic-1.5.9.ebuild | 71 -----------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest
17 index 4f5713fb265..e4c21c5e949 100644
18 --- a/app-backup/borgmatic/Manifest
19 +++ b/app-backup/borgmatic/Manifest
20 @@ -1,2 +1 @@
21 DIST borgmatic-1.5.10.tar.gz 71743 BLAKE2B b2b5f9135a15730ca7ddddeaa7f621f82207f1dcf383c3be7459eb39dbffc85a310184a4ddce3fb0bd47aa213cb588eb3f3e2f73418659330a421b7da5b87698 SHA512 52436535810ce42f5ab30ae8a4705005e8c7a5d91d52520aab4160320215196cdc088dfae1a21a0d65d0161fb2bb3c9b984cfe2cb5204f7b9bd0ed27c3a38c5b
22 -DIST borgmatic-1.5.9.tar.gz 71857 BLAKE2B c30c2629e327168ee81e9ecc26c811c5bab7369063f5711cd79567922f21d4e5c0980fe34021340d94923cea85ab0c307f9f348268c3f2063d084d0360e5fdfa SHA512 a1ea62ffdc1457fc1e7b964a474bc25d2b2d3d153ba2026018d5081011acf8d6d1329a440c2616e201ebf0351bf2f12a1e37ec2477a6f5da44de315ec3bb0c3a
23
24 diff --git a/app-backup/borgmatic/borgmatic-1.5.9.ebuild b/app-backup/borgmatic/borgmatic-1.5.9.ebuild
25 deleted file mode 100644
26 index e1682b5e20d..00000000000
27 --- a/app-backup/borgmatic/borgmatic-1.5.9.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{6..8} )
36 -DISTUTILS_SINGLE_IMPL=1
37 -DISTUTILS_USE_SETUPTOOLS="rdepend"
38 -
39 -inherit distutils-r1 systemd
40 -
41 -DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
42 -HOMEPAGE="https://torsion.org/borgmatic/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="amd64"
48 -
49 -# Fails due to problems with dev-python/flexmock-0.10.4; see Bug #740128
50 -RESTRICT="test"
51 -
52 -# borg is called as an external tool, hence no pythonic stuff
53 -RDEPEND="app-backup/borgbackup
54 - $(python_gen_cond_dep '
55 - dev-python/colorama[${PYTHON_USEDEP}]
56 - >=dev-python/pykwalify-1.6.0[${PYTHON_USEDEP}]
57 - dev-python/requests[${PYTHON_USEDEP}]
58 - <dev-python/ruamel-yaml-0.17.0[${PYTHON_USEDEP}]
59 - ')"
60 -BDEPEND="
61 - test? (
62 - $(python_gen_cond_dep '
63 - dev-python/flexmock[${PYTHON_USEDEP}]
64 - ')
65 - )"
66 -
67 -PATCHES=(
68 - "${FILESDIR}"/${PN}-1.5.1-systemd_service_bin_path.patch
69 - "${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
70 -)
71 -
72 -distutils_enable_tests pytest
73 -
74 -src_prepare() {
75 - distutils-r1_src_prepare
76 -
77 - # Unlike the other two test files in integration/commands, which use the
78 - # relevant modules' respective APIs, test_borgmatic.py tries to call the
79 - # 'borgmatic' executable - which by the time we execute src_test will
80 - # not have been created yet. distutils_install_for_testing would likely
81 - # take care of this - but between the aforementioned behaviour inconsistency
82 - # and the fact the only test run from this file as of version 1.5.1 is the
83 - # parsing of contents of 'borgmatic --version', just skip it for now.
84 - rm -f "${S}"/tests/integration/commands/test_borgmatic.py
85 -}
86 -
87 -src_install() {
88 - distutils-r1_src_install
89 - systemd_dounit sample/systemd/borgmatic.{service,timer}
90 - keepdir /etc/borgmatic
91 -}
92 -
93 -pkg_postinst() {
94 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
95 - elog "To generate a sample configuration file, run:"
96 - elog " generate-borgmatic-config"
97 - fi
98 - elog
99 - elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
100 -}