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