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: Tue, 28 Apr 2020 22:20:45
Message-Id: 1588112349.ca2bcfd7a969b807a09ceadfb9a7b4ae2a8a5024.marecki@gentoo
1 commit: ca2bcfd7a969b807a09ceadfb9a7b4ae2a8a5024
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 28 22:16:35 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 22:19:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca2bcfd7
7
8 app-backup/borgmatic: remove old
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-backup/borgmatic/borgmatic-1.5.1-r1.ebuild | 65 --------------------------
13 1 file changed, 65 deletions(-)
14
15 diff --git a/app-backup/borgmatic/borgmatic-1.5.1-r1.ebuild b/app-backup/borgmatic/borgmatic-1.5.1-r1.ebuild
16 deleted file mode 100644
17 index d5b11aab9bb..00000000000
18 --- a/app-backup/borgmatic/borgmatic-1.5.1-r1.ebuild
19 +++ /dev/null
20 @@ -1,65 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -PYTHON_COMPAT=( python3_{6,7} )
27 -
28 -DISTUTILS_USE_SETUPTOOLS="rdepend"
29 -inherit distutils-r1 systemd
30 -
31 -DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
32 -HOMEPAGE="https://torsion.org/borgmatic/"
33 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 -
35 -LICENSE="GPL-3"
36 -SLOT="0"
37 -KEYWORDS="~amd64"
38 -
39 -DEPEND="${PYTHON_DEPS}
40 - dev-python/colorama[${PYTHON_USEDEP}]
41 - >=dev-python/pykwalify-1.6.0[${PYTHON_USEDEP}]
42 - dev-python/requests[${PYTHON_USEDEP}]
43 - <dev-python/ruamel-yaml-0.17.0"[${PYTHON_USEDEP}]
44 -RDEPEND="${DEPEND}
45 - app-backup/borgbackup"
46 -BDEPEND="test? (
47 - ${DEPEND}
48 - dev-python/flexmock[${PYTHON_USEDEP}]
49 - )"
50 -
51 -PATCHES=(
52 - "${FILESDIR}"/${PN}-1.5.1-systemd_service_bin_path.patch
53 - "${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
54 -)
55 -
56 -distutils_enable_tests pytest
57 -
58 -src_prepare() {
59 - distutils-r1_src_prepare
60 -
61 - # Unlike the other two test files in integration/commands, which use the
62 - # relevant modules' respective APIs, test_borgmatic.py tries to call the
63 - # 'borgmatic' executable - which has not even been created by now.
64 - # Seeing as the only test run from this file as of 2020-03-25 is the
65 - # parsing of contents of 'borgmatic --version', just skip it for now.
66 - rm -f "${S}"/tests/integration/commands/test_borgmatic.py
67 -}
68 -
69 -src_install() {
70 - distutils-r1_src_install
71 - systemd_dounit sample/systemd/borgmatic.{service,timer}
72 - keepdir /etc/borgmatic
73 -}
74 -
75 -pkg_postinst() {
76 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
77 - elog "To generate a sample configuration file, run:"
78 - elog " generate-borgmatic-config"
79 - else
80 - elog "To upgrade your configuration file to the current version, run:"
81 - elog " upgrade-borgmatic-config"
82 - fi
83 - elog
84 - elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
85 -}