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: Sat, 07 May 2022 13:43:09
Message-Id: 1651930975.8b9f0fc0a8f2fd1b09834a5834646b40dd283102.polynomial-c@gentoo
1 commit: 8b9f0fc0a8f2fd1b09834a5834646b40dd283102
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 13:23:56 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 13:42:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9f0fc0
7
8 sys-libs/libblockdev: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-libs/libblockdev/Manifest | 1 -
13 sys-libs/libblockdev/libblockdev-2.25.ebuild | 119 ---------------------------
14 2 files changed, 120 deletions(-)
15
16 diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
17 index b0eb31d6494c..84b8e10b03ef 100644
18 --- a/sys-libs/libblockdev/Manifest
19 +++ b/sys-libs/libblockdev/Manifest
20 @@ -1,2 +1 @@
21 -DIST libblockdev-2.25.tar.gz 930238 BLAKE2B ae28c40b5e114826baf4a8ba9012267b297dbc4abee52669cf39c886d2c9989291f41937ec742c7457049a6a30e674f9c89ad6478923f393ae1773db3afcf621 SHA512 628d05f3a257b44208a9d0b5d84ae248fefd415812d9a93d132c03039b09fefc4d6110beb9aa0d3072e3f0c992e642d7867d0241209056538f132f86a748e195
22 DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a SHA512 ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523
23
24 diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild b/sys-libs/libblockdev/libblockdev-2.25.ebuild
25 deleted file mode 100644
26 index 542a3e9e88c6..000000000000
27 --- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
28 +++ /dev/null
29 @@ -1,119 +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 -inherit autotools python-single-r1 xdg-utils
37 -
38 -DESCRIPTION="A library for manipulating block devices"
39 -HOMEPAGE="https://github.com/storaged-project/libblockdev"
40 -if [[ "${PV}" == *9999 ]] ; then
41 - inherit git-r3
42 - EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git"
43 - BDEPEND="
44 - sys-devel/autoconf-archive
45 - "
46 -else
47 - MY_PV="${PV}-1"
48 - #MY_P="${PN}-${MY_PV}"
49 - #SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
50 - SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz"
51 - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
52 - #S="${WORKDIR}/${MY_P}"
53 -fi
54 -LICENSE="LGPL-2+"
55 -SLOT="0"
56 -IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo"
57 -RESTRICT="!test? ( test )"
58 -
59 -RDEPEND="
60 - >=dev-libs/glib-2.42.2
61 - dev-libs/libbytesize
62 - >=sys-apps/kmod-19
63 - >=sys-apps/util-linux-2.27
64 - >=sys-block/parted-3.1
65 - cryptsetup? (
66 - escrow? (
67 - >=dev-libs/nss-3.18.0
68 - dev-libs/volume_key
69 - )
70 - >=sys-fs/cryptsetup-1.6.7:=
71 - )
72 - device-mapper? ( sys-fs/lvm2 )
73 - dmraid? (
74 - sys-fs/dmraid
75 - sys-fs/lvm2
76 - )
77 - lvm? (
78 - sys-fs/lvm2
79 - virtual/udev
80 - )
81 - vdo? ( dev-libs/libyaml )
82 - ${PYTHON_DEPS}
83 -"
84 -
85 -DEPEND="
86 - ${RDEPEND}
87 -"
88 -
89 -BDEPEND+="
90 - dev-util/gtk-doc-am
91 - gtk-doc? ( dev-util/gtk-doc )
92 - introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
93 -"
94 -
95 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
96 - escrow? ( cryptsetup )"
97 -
98 -pkg_setup() {
99 - python-single-r1_pkg_setup
100 -}
101 -
102 -src_prepare() {
103 - xdg_environment_reset #623992
104 - default
105 -
106 - # https://bugs.gentoo.org/744289
107 - find -type f \( -name "Makefile.am" -o -name "configure.ac" \) -print0 \
108 - | xargs --null sed "s@ -Werror@@" -i || die
109 -
110 - eautoreconf
111 -}
112 -
113 -src_configure() {
114 - local myeconfargs=(
115 - --with-btrfs
116 - --with-fs
117 - --with-part
118 - --without-mpath
119 - --without-nvdimm
120 - $(use_enable introspection)
121 - $(use_enable test tests)
122 - $(use_with bcache)
123 - $(use_with cryptsetup crypto)
124 - $(use_with device-mapper dm)
125 - $(use_with dmraid)
126 - $(use_with escrow)
127 - $(use_with gtk-doc)
128 - $(use_with kbd)
129 - $(use_with lvm lvm)
130 - $(use_with lvm lvm-dbus)
131 - $(use_with tools)
132 - $(use_with vdo)
133 - --without-python2
134 - --with-python3
135 - )
136 - econf "${myeconfargs[@]}"
137 -}
138 -
139 -src_install() {
140 - default
141 - find "${ED}" -type f -name "*.la" -delete || die
142 - # This is installed even with USE=-lvm, but libbd_lvm are omitted so it
143 - # doesn't work at all.
144 - if ! use lvm; then
145 - rm -f "${ED}"/usr/bin/lvm-cache-stats || die
146 - fi
147 - python_optimize #718576
148 -}