1 |
commit: 24eae4db1c3d186a579941f19feb39862e375265 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 21 10:14:39 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 10:16:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24eae4db |
7 |
|
8 |
sys-block/thin-provisioning-tools: Bump to version 0.8.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-block/thin-provisioning-tools/Manifest | 1 + |
14 |
.../thin-provisioning-tools-0.8.0.ebuild | 72 ++++++++++++++++++++++ |
15 |
2 files changed, 73 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest |
18 |
index 94797e60e21..a7be1f8bb4d 100644 |
19 |
--- a/sys-block/thin-provisioning-tools/Manifest |
20 |
+++ b/sys-block/thin-provisioning-tools/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST thin-provisioning-tools-0.6.3.tar.gz 198697 BLAKE2B 0bc9ae1ee650f4f2c553ca7 |
22 |
DIST thin-provisioning-tools-0.7.0.tar.gz 230595 BLAKE2B 00238a682f80600e3a5bb6d0d2a9662bd0fd3ae5404d5895427f169640b469780f554c22c6a93187058e6399c76ba14a6fa8d73f2bb09aa79927dd458b58ffa9 SHA512 cb6c44c7215aadd72292d73e2374d8c0c28566adcb10c7a3de83576dbd28649ebba6e2cc59945a28921e423540969cb21f648c37e375d68f48e56a8be4a4c7b8 |
23 |
DIST thin-provisioning-tools-0.7.5.tar.gz 278856 BLAKE2B f554a9001bc9dde3510e3702f184d48cd77ddfc04f16c7e054fea8a3a47fdce7796ca4fcdb8d155e3d22526535ae965e344b3c2735f6275a7702044536dff923 SHA512 65268cc0c68428fa89f039c097794f574ef79b1862de3208715b9180ba73b197f37d879b386b110c52d9f2d3e80fb069a8d48ee2939aa1fd2b88f2513babc763 |
24 |
DIST thin-provisioning-tools-0.7.6.tar.gz 285428 BLAKE2B af74eff6d435f00e347872786fee8627f02844af122a9f1bf9ffd00234ce5275d3a61d9b4204313a19813cadbc0197bbeb9a1bd92d55992c6d9a03a299579e29 SHA512 395035b6f59fafb1c0f3e68750611e04f10223bc8d57b257e25c28c928647d1d2c6e94014b64ed90eeae1151fc7e5d23cf1aa428716e343338cb3c8fe55ed704 |
25 |
+DIST thin-provisioning-tools-0.8.0.tar.gz 305009 BLAKE2B 1002916cd7b455be21091007f68d12455476efc234a3892607152085adab37db03cea9959cf76d6903dad680b209d87ec62745b268daa02ff11667d0e070da8c SHA512 b95f320f8da94b52327d7afece98020de65c7a3eccf9e6d8e8f89600b9f984e3d4ae928b52c04dd973d0d87885354567f6d392e9551e0e7394158406bae79891 |
26 |
|
27 |
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.0.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8b0eb97b216 |
30 |
--- /dev/null |
31 |
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.0.ebuild |
32 |
@@ -0,0 +1,72 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="A suite of tools for thin provisioning on Linux" |
41 |
+HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools" |
42 |
+ |
43 |
+if [[ ${PV} != *9999 ]]; then |
44 |
+ SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+else |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI='https://github.com/jthornber/thin-provisioning-tools.git' |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+IUSE="static test" |
54 |
+ |
55 |
+LIB_DEPEND="dev-libs/expat[static-libs(+)] |
56 |
+ dev-libs/libaio[static-libs(+)]" |
57 |
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ static? ( ${LIB_DEPEND} ) |
60 |
+ test? ( |
61 |
+ || ( |
62 |
+ dev-lang/ruby:2.6 |
63 |
+ dev-lang/ruby:2.5 |
64 |
+ dev-lang/ruby:2.4 |
65 |
+ ) |
66 |
+ >=dev-cpp/gtest-1.8.0 |
67 |
+ dev-util/cucumber |
68 |
+ dev-util/aruba |
69 |
+ ) |
70 |
+ dev-libs/boost" |
71 |
+ |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch |
74 |
+) |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ default |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ use static && append-ldflags -static |
83 |
+ local myeconfargs=( |
84 |
+ --prefix="${EPREFIX}"/ |
85 |
+ --bindir="${EPREFIX}"/sbin |
86 |
+ --with-optimisation='' |
87 |
+ $(use_enable test testing) |
88 |
+ ) |
89 |
+ STRIP=true econf "${myeconfargs[@]}" |
90 |
+} |
91 |
+ |
92 |
+src_compile() { |
93 |
+ MAKEOPTS+=" V=" |
94 |
+ default |
95 |
+} |
96 |
+ |
97 |
+src_test() { |
98 |
+ emake unit-test |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ emake DESTDIR="${D}" DATADIR="${D%/}/usr/share" install |
103 |
+ dodoc README.md TODO.org |
104 |
+} |