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-fs/btrfs-progs/
Date: Fri, 05 Nov 2021 19:48:22
Message-Id: 1636141686.638e02f491a1e37f2af31523490f00f8a118419d.polynomial-c@gentoo
1 commit: 638e02f491a1e37f2af31523490f00f8a118419d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 5 19:47:50 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 5 19:48:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=638e02f4
7
8 sys-fs/btrfs-progs: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-fs/btrfs-progs/Manifest | 1 -
13 sys-fs/btrfs-progs/btrfs-progs-5.14.1.ebuild | 128 ---------------------------
14 2 files changed, 129 deletions(-)
15
16 diff --git a/sys-fs/btrfs-progs/Manifest b/sys-fs/btrfs-progs/Manifest
17 index 80e6fc4583c..439a2923d0b 100644
18 --- a/sys-fs/btrfs-progs/Manifest
19 +++ b/sys-fs/btrfs-progs/Manifest
20 @@ -1,4 +1,3 @@
21 DIST btrfs-progs-v5.10.1.tar.xz 2204164 BLAKE2B ed83729754f9abd22d4d2e7ae9a7e90e80be9b63d49a4a9692e20e5939467dbd864834b71495661e1c7a1fca89e253a62fbda37f1d01d2eadecb13f5904f0dd0 SHA512 32e5b8bda1863e34613802db91946f240b2cde21288ff8f95c1807e7afd0a67c5a704aa4d2bc0d7b1ca094de6831adbfec83fe61f74e1caf6d1975be7d972f2d
22 -DIST btrfs-progs-v5.14.1.tar.xz 2247384 BLAKE2B 70eb5f1f3f4b7acc2d4f662c0484984903a09c03bd4d3bd6e15ac712318c3ee9a3621e682f1d33a8b2b25280a63801e1a71d574c55dbd28e205e7fb4b549af47 SHA512 d706322b3c82825ab0eedc952a5e68642483539af5f3bf84d751ffed09d5e997f188370734145c7eb8b109be5bf6d77a2e3731521b3e34d46e1a454eef6bfb56
23 DIST btrfs-progs-v5.14.2.tar.xz 2252600 BLAKE2B 74ac21bc9bbc70a4034b6a439afbd0c0ab023ac7815c1cae1e7ac81c4239684d41be06bebe1d015dc2a0ba80cf0975e8f6da7e111b2825eb1a7814d1832914eb SHA512 dc1a73e49dd94ccd8128c197d99f112977b16350d22bc0ca32247211314a3fec66de73827305bf24ef8e0571fc890f00378d0ec3a82988f0ee54f5db10f6578c
24 DIST btrfs-progs-v5.15.tar.xz 2275480 BLAKE2B 45fa1e20d14bdd92b1a7761771c7b6c2795d885f91fb44c9c5cf9c735c0c6c0f319e701ca2f6bf19191c50552459287042b56d4308fcc2da5bd566e63c755941 SHA512 5fc182c490733cbe7f2cdb8e131e0c79e5cc374ae32427d5f9ee2251e00e6e1d8ba0fdbbe31d50230f2bded08a9b9c652a4288998a427643a2d738f57ce72f90
25
26 diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.14.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.14.1.ebuild
27 deleted file mode 100644
28 index 36548f98db8..00000000000
29 --- a/sys-fs/btrfs-progs/btrfs-progs-5.14.1.ebuild
30 +++ /dev/null
31 @@ -1,128 +0,0 @@
32 -# Copyright 2008-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{8..9} )
38 -
39 -inherit bash-completion-r1 python-single-r1
40 -
41 -libbtrfs_soname=0
42 -
43 -if [[ ${PV} != 9999 ]]; then
44 - MY_PV="v${PV/_/-}"
45 - [[ "${PV}" = *_rc* ]] || \
46 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
47 - SRC_URI="https://www.kernel.org/pub/linux/kernel/people/kdave/${PN}/${PN}-${MY_PV}.tar.xz"
48 - S="${WORKDIR}/${PN}-${MY_PV}"
49 -else
50 - WANT_LIBTOOL=none
51 - inherit autotools git-r3
52 - EGIT_REPO_URI="https://github.com/kdave/btrfs-progs.git"
53 - EGIT_BRANCH="devel"
54 -fi
55 -
56 -DESCRIPTION="Btrfs filesystem utilities"
57 -HOMEPAGE="https://btrfs.wiki.kernel.org"
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0/${libbtrfs_soname}"
61 -IUSE="+convert doc python reiserfs static static-libs +zstd"
62 -
63 -RESTRICT=test # tries to mount repared filesystems
64 -
65 -RDEPEND="
66 - dev-libs/lzo:2=
67 - sys-apps/util-linux:0=[static-libs(+)?]
68 - sys-libs/zlib:0=
69 - convert? (
70 - sys-fs/e2fsprogs:=
71 - reiserfs? (
72 - >=sys-fs/reiserfsprogs-3.6.27
73 - )
74 - )
75 - python? ( ${PYTHON_DEPS} )
76 - zstd? ( app-arch/zstd:0= )
77 -"
78 -DEPEND="${RDEPEND}
79 - >=sys-kernel/linux-headers-5.10
80 - convert? ( sys-apps/acl )
81 - python? (
82 - $(python_gen_cond_dep '
83 - dev-python/setuptools[${PYTHON_USEDEP}]
84 - ')
85 - )
86 - static? (
87 - dev-libs/lzo:2[static-libs(+)]
88 - sys-apps/util-linux:0[static-libs(+)]
89 - sys-libs/zlib:0[static-libs(+)]
90 - convert? (
91 - sys-fs/e2fsprogs[static-libs(+)]
92 - reiserfs? (
93 - >=sys-fs/reiserfsprogs-3.6.27[static-libs(+)]
94 - )
95 - )
96 - zstd? ( app-arch/zstd:0[static-libs(+)] )
97 - )
98 -"
99 -BDEPEND="
100 - doc? (
101 - || ( >=app-text/asciidoc-8.6.0 dev-ruby/asciidoctor )
102 - app-text/docbook-xml-dtd:4.5
103 - app-text/xmlto
104 - )
105 -"
106 -
107 -if [[ ${PV} == 9999 ]]; then
108 - DEPEND+=" sys-devel/gnuconfig"
109 -fi
110 -
111 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
112 -
113 -pkg_setup() {
114 - use python && python-single-r1_pkg_setup
115 -}
116 -
117 -src_prepare() {
118 - default
119 - if [[ ${PV} == 9999 ]]; then
120 - AT_M4DIR=m4 eautoreconf
121 - mkdir config || die
122 - local automakedir="$(autotools_run_tool --at-output automake --print-libdir)"
123 - [[ -e ${automakedir} ]] || die "Could not locate automake directory"
124 - ln -s "${automakedir}"/install-sh config/install-sh || die
125 - ln -s "${EPREFIX}"/usr/share/gnuconfig/config.guess config/config.guess || die
126 - ln -s "${EPREFIX}"/usr/share/gnuconfig/config.sub config/config.sub || die
127 - fi
128 -}
129 -
130 -src_configure() {
131 - local myeconfargs=(
132 - --bindir="${EPREFIX}"/sbin
133 - $(use_enable convert)
134 - $(use_enable doc documentation)
135 - $(use_enable elibc_glibc backtrace)
136 - $(use_enable python)
137 - $(use_enable static-libs static)
138 - $(use_enable zstd)
139 - --with-convert=ext2$(usex reiserfs ',reiserfs' '')
140 - )
141 - econf "${myeconfargs[@]}"
142 -}
143 -
144 -src_compile() {
145 - emake V=1 all $(usev static)
146 -}
147 -
148 -src_install() {
149 - local makeargs=(
150 - $(usex python install_python '')
151 - $(usex static install-static '')
152 - )
153 - emake V=1 DESTDIR="${D}" install "${makeargs[@]}"
154 - newbashcomp btrfs-completion btrfs
155 - use python && python_optimize
156 -
157 - # install prebuilt subset of manuals
158 - use doc || doman Documentation/*.[58]
159 -}