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: Thu, 30 Jun 2022 09:02:06
Message-Id: 1656579704.b325080995418c9acd7bb34aa42a1c2d8330e391.marecki@gentoo
1 commit: b325080995418c9acd7bb34aa42a1c2d8330e391
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 08:10:22 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 09:01:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3250809
7
8 app-backup/borgmatic: drop 1.5.24, 1.6.3
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-backup/borgmatic/Manifest | 2 -
13 app-backup/borgmatic/borgmatic-1.5.24.ebuild | 65 ----------------------------
14 app-backup/borgmatic/borgmatic-1.6.3.ebuild | 65 ----------------------------
15 3 files changed, 132 deletions(-)
16
17 diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest
18 index 45f95ca2d1bc..dbaeb8f824b3 100644
19 --- a/app-backup/borgmatic/Manifest
20 +++ b/app-backup/borgmatic/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST borgmatic-1.5.24.tar.gz 291853 BLAKE2B d8c695c8faf713cd75e994d8ae7633674d01981047ce79d35d392b9db5a2dfb47c2be4a91e0f183ab2ead5877ee68983d0fdfd88ae7d28355d8029d39cbfdc04 SHA512 cfa1bd1dc6119497fba99d02e4f53322aede907ba8b30068b6c1dadc67f5e30466d2f1f0d83f1f15f71dfac08ef5b0adb376d24d62f1cd44992e7a45f99fde34
23 DIST borgmatic-1.6.1.tar.gz 300375 BLAKE2B b56c31da62591b8bfd3c0146e77cab7ab28f942c59ca0f6cf7342d80bc31249dfcbd59fae13025a0fe464de326b6758169be983d2b741ecc37062961541fb892 SHA512 c48fb89167ce188feeb9d51ae9caabf985f9c583d09840d3dd4aaf772a4acbd3c22399958740820b9fbf61603769a604dc92b72448e2c7196fae855549f3c6d5
24 -DIST borgmatic-1.6.3.tar.gz 320186 BLAKE2B 232c2878b0778f039b0c2fa7e6b4de37477b81c13082772752a78e8de0fff0b52fb6976a02ae6f13d9a33a74d96c2689ceee48f97d85381a2d06d0b61f6bb658 SHA512 eadca728680d86dc16c8444ac653c46e9c61e49f3eced1228d46ff77138e44985ee794dd21921f829db063106cdd697c997677bd983bf000aedb89c6c00c8f5d
25 DIST borgmatic-1.6.4.tar.gz 322306 BLAKE2B 48d01b56065f08db464ffab71cfdc6c2924ed899e07a6788f37217448d19d15d59ee3771ad545bf1c576da6a26d754f8c24eea82361d77fa616bebb54a6dd878 SHA512 8d0d4b1b6bbb562fcab49a8ba2cfd1d33f6e5053566096a6f01b83b2f69c37a437836d78d3547100f66bb1320c1e028a2223fcc2285ed0fb8d463c8d6eae5819
26
27 diff --git a/app-backup/borgmatic/borgmatic-1.5.24.ebuild b/app-backup/borgmatic/borgmatic-1.5.24.ebuild
28 deleted file mode 100644
29 index 4b88643aa9ca..000000000000
30 --- a/app-backup/borgmatic/borgmatic-1.5.24.ebuild
31 +++ /dev/null
32 @@ -1,65 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -DISTUTILS_SINGLE_IMPL=1
40 -DISTUTILS_USE_PEP517=setuptools
41 -
42 -inherit distutils-r1 systemd
43 -
44 -DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
45 -HOMEPAGE="https://torsion.org/borgmatic/"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="GPL-3"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm ~arm64 ~riscv"
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-0.5[${PYTHON_USEDEP}]
56 - dev-python/jsonschema[${PYTHON_USEDEP}]
57 - dev-python/requests[${PYTHON_USEDEP}]
58 - <dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
59 - dev-python/setuptools[${PYTHON_USEDEP}]
60 - ')"
61 -BDEPEND="
62 - test? (
63 - $(python_gen_cond_dep '
64 - >=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
65 - ')
66 - )"
67 -
68 -PATCHES=(
69 - "${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
70 - "${FILESDIR}"/${PN}-1.5.16-systemd_service_bin_path.patch
71 -)
72 -
73 -# test_borgmatic_version_matches_news_version tries to run the 'borgmatic'
74 -# executable so making it work would require passing --install
75 -# to distutils_enable_tests. Given that this is the only test requiring
76 -# this and that all it does is make sure the NEWS file has been updated
77 -# for the current version, just skip it.
78 -EPYTEST_DESELECT=(
79 - tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
80 -)
81 -
82 -distutils_enable_tests pytest
83 -
84 -src_install() {
85 - distutils-r1_src_install
86 - systemd_dounit sample/systemd/borgmatic.{service,timer}
87 - keepdir /etc/borgmatic
88 -}
89 -
90 -pkg_postinst() {
91 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
92 - elog "To generate a sample configuration file, run:"
93 - elog " generate-borgmatic-config"
94 - fi
95 - elog
96 - elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
97 -}
98
99 diff --git a/app-backup/borgmatic/borgmatic-1.6.3.ebuild b/app-backup/borgmatic/borgmatic-1.6.3.ebuild
100 deleted file mode 100644
101 index f48f145dc769..000000000000
102 --- a/app-backup/borgmatic/borgmatic-1.6.3.ebuild
103 +++ /dev/null
104 @@ -1,65 +0,0 @@
105 -# Copyright 1999-2022 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=8
109 -
110 -PYTHON_COMPAT=( python3_{8..10} )
111 -DISTUTILS_SINGLE_IMPL=1
112 -DISTUTILS_USE_PEP517=setuptools
113 -
114 -inherit distutils-r1 systemd
115 -
116 -DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
117 -HOMEPAGE="https://torsion.org/borgmatic/"
118 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
119 -
120 -LICENSE="GPL-3"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
123 -
124 -# borg is called as an external tool, hence no pythonic stuff
125 -RDEPEND="app-backup/borgbackup
126 - $(python_gen_cond_dep '
127 - <dev-python/colorama-0.5[${PYTHON_USEDEP}]
128 - dev-python/jsonschema[${PYTHON_USEDEP}]
129 - dev-python/requests[${PYTHON_USEDEP}]
130 - <dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
131 - dev-python/setuptools[${PYTHON_USEDEP}]
132 - ')"
133 -BDEPEND="
134 - test? (
135 - $(python_gen_cond_dep '
136 - >=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
137 - ')
138 - )"
139 -
140 -PATCHES=(
141 - "${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
142 - "${FILESDIR}"/${PN}-1.5.16-systemd_service_bin_path.patch
143 -)
144 -
145 -# test_borgmatic_version_matches_news_version tries to run the 'borgmatic'
146 -# executable so making it work would require passing --install
147 -# to distutils_enable_tests. Given that this is the only test requiring
148 -# this and that all it does is make sure the NEWS file has been updated
149 -# for the current version, just skip it.
150 -EPYTEST_DESELECT=(
151 - tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
152 -)
153 -
154 -distutils_enable_tests pytest
155 -
156 -src_install() {
157 - distutils-r1_src_install
158 - systemd_dounit sample/systemd/borgmatic.{service,timer}
159 - keepdir /etc/borgmatic
160 -}
161 -
162 -pkg_postinst() {
163 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
164 - elog "To generate a sample configuration file, run:"
165 - elog " generate-borgmatic-config"
166 - fi
167 - elog
168 - elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
169 -}