Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/
Date: Tue, 12 May 2020 18:44:22
Message-Id: 1589309050.382faad973f24d70c1d11d13df5993512a5abb89.polynomial-c@gentoo
1 commit: 382faad973f24d70c1d11d13df5993512a5abb89
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 12 18:40:21 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue May 12 18:44:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382faad9
7
8 sys-libs/libblockdev: Removed old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/libblockdev/Manifest | 2 -
14 sys-libs/libblockdev/libblockdev-2.20-r2.ebuild | 107 ---------------------
15 sys-libs/libblockdev/libblockdev-2.22.ebuild | 121 ------------------------
16 3 files changed, 230 deletions(-)
17
18 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
19 index d744af09419..dac1ddca807 100644
20 --- a/sys-libs/libblockdev/Manifest
21 +++ b/sys-libs/libblockdev/Manifest
22 @@ -1,3 +1 @@
23 -DIST libblockdev-2.20-1.tar.gz 338039 BLAKE2B 77923e52b10e7853ae9433bf811d3a08f1c18da81d4f148b220d7e4101535f245612f0c82c96c6c3bc3e4c0631ada153c59c4587a86efdc5669a0b9f69e764be SHA512 4cb6b18d5de63461f35e0b6f6896599aa41da2c995839c2e88661dacdf07522842b612820fb1d83edbde72092cc62295d5411e8607f52c611db7f02aa16c9ab3
24 -DIST libblockdev-2.22.tar.gz 854888 BLAKE2B beb1ff0ac122eb12b2066d97c81a8c62a33369aa22a6ae5d141076d52fbd82d17504a97f1a0091773d9a65b25b976edecebe3a76ba91ee8e6032fd034298fa4a SHA512 69bbd5afbd8abb0e22ef72d80375e32db653f21cf3063cf69fff71ad069ee0e6119adf6918a63e7ba9ec4ca02ffe3337be3edeeafdd3e73e4e53d85e90bf2f45
25 DIST libblockdev-2.23.tar.gz 856829 BLAKE2B 131bf429e530fc9dd44fade4f5bc937ec220365b1ee2ae46818a6fa3ec7591775fdc3ed531350cc2546f4151e41551dfd3e331b0a6d5777769a7b54c5c15ed42 SHA512 ecc4d5a3cb977fbbe176bf6872b6754833d2869e927c32f8466685916ee4550cf806e0b0c8f5e8e76de3839ae591a4eec502ff974c2f0678af6cfd46dd3016f3
26
27 diff --git a/sys-libs/libblockdev/libblockdev-2.20-r2.ebuild b/sys-libs/libblockdev/libblockdev-2.20-r2.ebuild
28 deleted file mode 100644
29 index 60af4b7c506..00000000000
30 --- a/sys-libs/libblockdev/libblockdev-2.20-r2.ebuild
31 +++ /dev/null
32 @@ -1,107 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{6,7} )
39 -inherit autotools python-single-r1 xdg-utils
40 -
41 -MY_PV="${PV}-1"
42 -MY_P="${PN}-${MY_PV}"
43 -
44 -DESCRIPTION="A library for manipulating block devices"
45 -HOMEPAGE="https://github.com/storaged-project/libblockdev"
46 -SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
47 -LICENSE="LGPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
50 -IUSE="bcache +cryptsetup device-mapper dmraid doc escrow lvm kbd test vdo"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="
54 - >=dev-libs/glib-2.42.2
55 - dev-libs/libbytesize
56 - >=sys-apps/kmod-19
57 - >=sys-apps/util-linux-2.27
58 - >=sys-block/parted-3.1
59 - cryptsetup? (
60 - escrow? (
61 - >=dev-libs/nss-3.18.0
62 - dev-libs/volume_key
63 - )
64 - >=sys-fs/cryptsetup-1.6.7:=
65 - )
66 - device-mapper? ( sys-fs/lvm2 )
67 - dmraid? (
68 - sys-fs/dmraid
69 - sys-fs/lvm2
70 - )
71 - lvm? (
72 - sys-fs/lvm2
73 - virtual/udev
74 - )
75 - vdo? ( dev-libs/libyaml )
76 - ${PYTHON_DEPS}
77 -"
78 -
79 -DEPEND="
80 - ${RDEPEND}
81 -"
82 -BDEPEND="
83 - >=dev-libs/gobject-introspection-1.3.0
84 - sys-devel/autoconf-archive
85 - doc? ( dev-util/gtk-doc )
86 -"
87 -
88 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
89 - escrow? ( cryptsetup )"
90 -
91 -S="${WORKDIR}/${MY_P}"
92 -
93 -pkg_setup() {
94 - python-single-r1_pkg_setup
95 -}
96 -
97 -src_prepare() {
98 - xdg_environment_reset #623992
99 - default
100 - eautoreconf
101 -}
102 -
103 -src_configure() {
104 - local myeconfargs=(
105 - --with-btrfs
106 - --with-fs
107 - --with-part
108 - --without-mpath
109 - --without-nvdimm
110 - $(use_enable test tests)
111 - $(use_with bcache)
112 - $(use_with cryptsetup crypto)
113 - $(use_with device-mapper dm)
114 - $(use_with dmraid)
115 - $(use_with doc gtk-doc)
116 - $(use_with escrow)
117 - $(use_with kbd)
118 - $(use_with lvm lvm)
119 - $(use_with lvm lvm-dbus)
120 - $(use_with vdo)
121 - )
122 - if python_is_python3 ; then
123 - myeconfargs+=(
124 - --without-python2
125 - --with-python3
126 - )
127 - else
128 - myeconfargs+=(
129 - --with-python2
130 - --without-python3
131 - )
132 - fi
133 - econf "${myeconfargs[@]}"
134 -}
135 -
136 -src_install() {
137 - default
138 - find "${ED}" -name "*.la" -delete || die
139 -}
140
141 diff --git a/sys-libs/libblockdev/libblockdev-2.22.ebuild b/sys-libs/libblockdev/libblockdev-2.22.ebuild
142 deleted file mode 100644
143 index 10771c4f046..00000000000
144 --- a/sys-libs/libblockdev/libblockdev-2.22.ebuild
145 +++ /dev/null
146 @@ -1,121 +0,0 @@
147 -# Copyright 1999-2020 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=7
151 -
152 -PYTHON_COMPAT=( python3_{6,7} )
153 -inherit python-single-r1 xdg-utils
154 -
155 -DESCRIPTION="A library for manipulating block devices"
156 -HOMEPAGE="https://github.com/storaged-project/libblockdev"
157 -if [[ "${PV}" == *9999 ]] ; then
158 - inherit autotools git-r3
159 - EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git"
160 - BDEPEND="
161 - sys-devel/autoconf-archive
162 - "
163 -else
164 - MY_PV="${PV}-1"
165 - #MY_P="${PN}-${MY_PV}"
166 - #SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
167 - SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz"
168 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
169 - #S="${WORKDIR}/${MY_P}"
170 -fi
171 -LICENSE="LGPL-2+"
172 -SLOT="0"
173 -IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc lvm kbd test +tools vdo"
174 -RESTRICT="!test? ( test )"
175 -
176 -RDEPEND="
177 - >=dev-libs/glib-2.42.2
178 - dev-libs/libbytesize
179 - >=sys-apps/kmod-19
180 - >=sys-apps/util-linux-2.27
181 - >=sys-block/parted-3.1
182 - cryptsetup? (
183 - escrow? (
184 - >=dev-libs/nss-3.18.0
185 - dev-libs/volume_key
186 - )
187 - >=sys-fs/cryptsetup-1.6.7:=
188 - )
189 - device-mapper? ( sys-fs/lvm2 )
190 - dmraid? (
191 - sys-fs/dmraid
192 - sys-fs/lvm2
193 - )
194 - lvm? (
195 - sys-fs/lvm2
196 - virtual/udev
197 - )
198 - vdo? ( dev-libs/libyaml )
199 - ${PYTHON_DEPS}
200 -"
201 -
202 -DEPEND="
203 - ${RDEPEND}
204 -"
205 -
206 -BDEPEND+="
207 - >=dev-libs/gobject-introspection-1.3.0
208 - dev-util/gtk-doc-am
209 - gtk-doc? ( dev-util/gtk-doc )
210 -"
211 -
212 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
213 - escrow? ( cryptsetup )"
214 -
215 -pkg_setup() {
216 - python-single-r1_pkg_setup
217 -}
218 -
219 -src_prepare() {
220 - xdg_environment_reset #623992
221 - default
222 - [[ "${PV}" == *9999 ]] && eautoreconf
223 -}
224 -
225 -src_configure() {
226 - local myeconfargs=(
227 - --with-btrfs
228 - --with-fs
229 - --with-part
230 - --without-mpath
231 - --without-nvdimm
232 - $(use_enable test tests)
233 - $(use_with bcache)
234 - $(use_with cryptsetup crypto)
235 - $(use_with device-mapper dm)
236 - $(use_with dmraid)
237 - $(use_with escrow)
238 - $(use_with gtk-doc)
239 - $(use_with kbd)
240 - $(use_with lvm lvm)
241 - $(use_with lvm lvm-dbus)
242 - $(use_with tools)
243 - $(use_with vdo)
244 - )
245 - if python_is_python3 ; then
246 - myeconfargs+=(
247 - --without-python2
248 - --with-python3
249 - )
250 - else
251 - myeconfargs+=(
252 - --with-python2
253 - --without-python3
254 - )
255 - fi
256 - econf "${myeconfargs[@]}"
257 -}
258 -
259 -src_install() {
260 - default
261 - find "${ED}" -type f -name "*.la" -delete || die
262 - # This is installed even with USE=-lvm, but libbd_lvm are omitted so it
263 - # doesn't work at all.
264 - if ! use lvm; then
265 - rm -f "${ED}"/usr/bin/lvm-cache-stats || die
266 - fi
267 -}