1 |
commit: b8494e7d12bef42ae654886a3970cc1e9e4f799e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 20 10:01:24 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 20 11:06:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8494e7d |
7 |
|
8 |
sys-block/thin-provisioning-tools: Bump to version 0.7.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
sys-block/thin-provisioning-tools/Manifest | 1 + |
13 |
.../thin-provisioning-tools-0.7.4.ebuild | 60 ++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest |
17 |
index 982aaae590a..d304aa7046c 100644 |
18 |
--- a/sys-block/thin-provisioning-tools/Manifest |
19 |
+++ b/sys-block/thin-provisioning-tools/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST thin-provisioning-tools-0.6.3.tar.gz 198697 SHA256 52d808c29dcaa83c142ceb2b |
21 |
DIST thin-provisioning-tools-0.7.0.tar.gz 230595 SHA256 68a815860fce3f09f64ef241fd4ba45713f4c7be384fe116ec1dbea467684b32 SHA512 cb6c44c7215aadd72292d73e2374d8c0c28566adcb10c7a3de83576dbd28649ebba6e2cc59945a28921e423540969cb21f648c37e375d68f48e56a8be4a4c7b8 WHIRLPOOL 80201034dafd00617951a30369fc617a9c91b4408ec5c5272b4406c8f86caf0ff738938d6ef92d27a9ac96c3110edfa16609f0777c8592e6a100aeb3e02d3837 |
22 |
DIST thin-provisioning-tools-0.7.1.tar.gz 247111 SHA256 da45e387bb7ad5b1b8727dc3e013a1136a18fe7a59bea19074a945ff6d73b925 SHA512 47ce2f0699e3bc21fa5bb1175e12fa8f545d2abfbed4529b144bd4812a4a0021635713c3e71228f20b30cbe067c77fb93db20b65075b2689ec2aa5b0385854b9 WHIRLPOOL 9723450f069df280b9dce3c53e0dff7342ed6757135ea3e07f7df5c081896d003aceafcb00af8f40a98aae7c42c401b7d363ebc4080f16435ba3962ae4f3edfb |
23 |
DIST thin-provisioning-tools-0.7.2.tar.gz 265819 SHA256 98e779cb3f9131bc0bb3051ac33ff93562085bee1cb5409f2184163d74092e7e SHA512 563363842ab0b92f563ac7fcaedb18b8fca70b0894ff30d55cc40487d53b035c32d3ef711adb7102ef1a55b26a75510239da2542b791d850a5cbccf1ddf1acdd WHIRLPOOL e0e0ab86a5d6746744b7cc2e75d3b9ea729ea7ecd4aa59b0eeaeaecf8746ddf10385b8ecad564d6dbab77e2defa641a717a0cbe83fab470a8dabc19013fcfff0 |
24 |
+DIST thin-provisioning-tools-0.7.4.tar.gz 276652 SHA256 f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904 SHA512 cf7f15efc1dca4e4961ae72a1cafa46985639619da90d0ef192d14e0c45ae7996365f3f87846cce6d27259f72caf14cba653254414876687e4d14f500687b3cb WHIRLPOOL ffbf7c098ae5844aead5383a3f65df5b16d7c2ce3702f92cee5c4468b772fa777bc7ec1333f41c96a9b55d54a483d15386e19499fb034224339f1b6a79e77956 |
25 |
|
26 |
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.4.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..36d3cd79766 |
29 |
--- /dev/null |
30 |
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.4.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="A suite of tools for thin provisioning on Linux" |
40 |
+HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools" |
41 |
+SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="static test" |
47 |
+ |
48 |
+LIB_DEPEND="dev-libs/expat[static-libs(+)] |
49 |
+ dev-libs/libaio[static-libs(+)]" |
50 |
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
51 |
+# || ( ) is a non-future proof workaround for Portage unefficiency wrt #477050 |
52 |
+DEPEND="${RDEPEND} |
53 |
+ static? ( ${LIB_DEPEND} ) |
54 |
+ test? ( |
55 |
+ || ( dev-lang/ruby:2.9 dev-lang/ruby:2.8 dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 ) |
56 |
+ >=dev-cpp/gmock-1.6 |
57 |
+ >=dev-cpp/gtest-1.6 |
58 |
+ dev-util/cucumber |
59 |
+ dev-util/aruba |
60 |
+ ) |
61 |
+ dev-libs/boost" |
62 |
+ |
63 |
+PATCHES=( "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch ) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ use static && append-ldflags -static |
72 |
+ STRIP=true econf \ |
73 |
+ --prefix="${EPREFIX}"/ \ |
74 |
+ --bindir="${EPREFIX}"/sbin \ |
75 |
+ --with-optimisation='' \ |
76 |
+ $(use_enable test testing) |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ MAKEOPTS+=" V=" |
81 |
+ default |
82 |
+} |
83 |
+ |
84 |
+src_test() { |
85 |
+ emake unit-test |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ emake DESTDIR="${D}" DATADIR="${ED%/}/usr/share" install |
90 |
+ dodoc README.md TODO.org |
91 |
+} |