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: Wed, 26 May 2021 09:09:50
Message-Id: 1622020018.ce60762618a312661dac10abc6545e8e1319c4b5.marecki@gentoo
1 commit: ce60762618a312661dac10abc6545e8e1319c4b5
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 26 09:06:58 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 09:06:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce607626
7
8 app-backup/borgmatic: drop 1.5.12
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.12.ebuild | 71 ----------------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest
17 index e74bd2d232c..62d8db17a1b 100644
18 --- a/app-backup/borgmatic/Manifest
19 +++ b/app-backup/borgmatic/Manifest
20 @@ -1,2 +1 @@
21 -DIST borgmatic-1.5.12.tar.gz 72964 BLAKE2B d71537eed019b10c3257d4b068c31aff63919e0cdb068b49c2ed92d2e97d37b8735f30b1225fb453e79372aeab49817e9200770aac4cc0f80c0bac14e84678d1 SHA512 67c7c7683e9fb7dd0321b3db6887212b040596f1d7e767cceeae6fa4cc02bb0a46344befbbc7a33b454a4692b04ae88d9031f71867788a94f771999d885112d5
22 DIST borgmatic-1.5.13.tar.gz 72469 BLAKE2B 3a71be201143a96968bb1ea6008b62e11f6ab199f44f38d0d66f31f24827a8f32cc7b8f50cc5d33a8bbd7046e6697afe509525be90dd9519f4c686b8737f64c5 SHA512 60bcbcc825db3f93a423ab8e44e0b0809ff4937d8e41bc56ec6226e4865c3a66fae8b6749d33cdb0692ea9dd07cfff56750ff2feee68c96791b83c9dd5f35433
23
24 diff --git a/app-backup/borgmatic/borgmatic-1.5.12.ebuild b/app-backup/borgmatic/borgmatic-1.5.12.ebuild
25 deleted file mode 100644
26 index bea1072b443..00000000000
27 --- a/app-backup/borgmatic/borgmatic-1.5.12.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..9} )
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 ~arm ~arm64"
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.11 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 -}