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