1 |
commit: 60a8c426c7d36b279d8f23aa56770c144bc14b33 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 31 15:54:08 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 31 15:54:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a8c426 |
7 |
|
8 |
dev-libs/leatherman: 1.9.0 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-libs/leatherman/Manifest | 1 + |
14 |
dev-libs/leatherman/leatherman-1.9.0.ebuild | 58 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest |
18 |
index f82f6072fe3..46e77334802 100644 |
19 |
--- a/dev-libs/leatherman/Manifest |
20 |
+++ b/dev-libs/leatherman/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba725aadc6cffd78220f7f7f1b725cad960fc6d9fdd2d54a43c233b35959ebcb9c71d1191a5535703599fa32e3301e SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b |
23 |
DIST leatherman-1.7.3.tar.gz 815236 BLAKE2B 26bb6cbf19675741c0d325f42ccce993cd7fa58b116601fa5fc79d2fb443f2c8b26799138289714a1663996247c267efb5485b04cfa68161bc291d91758f7f84 SHA512 4ce424d90c83e5268925095f267f3365b0a75e60d92af83836c790f538d381153c200fff1a1e152b60e247240698d3cbe9a59c4e366040eece0101819775ddff |
24 |
DIST leatherman-1.8.0.tar.gz 815287 BLAKE2B a8377cedac49e0845e689e4e8ff58fb59e6e59c77e8cd363774d22650b4b286d85e0b5e52b926c3e4169ba2eadf9fc50f16f5161001a16f63c49f3ca66c996cc SHA512 fb308025f0807b12527fe6fc287fee861eb27b6987df38c03e1da73c477aec5a2a6c92860c983c4cc10282388ee34f2cf657a38831db007519c471f815f492f6 |
25 |
+DIST leatherman-1.9.0.tar.gz 815504 BLAKE2B 62b4b9aeca3279b7f89fba1c3a7655e59c5d490cb44ba92e4c2dfe5ffa78eeb02a448bd6c6e6b08c324531b799ab5d1800a3b57c4e490794f76bf9737db16963 SHA512 d8e0fe7f165845056a0308241ef0e656077269cd6cbc656b1a72295ff475e813d3f523c8d45b14d7e10a8deebe786ac7fc836c46d4230142812a9c0362cd8967 |
26 |
|
27 |
diff --git a/dev-libs/leatherman/leatherman-1.9.0.ebuild b/dev-libs/leatherman/leatherman-1.9.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..33542697140 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/leatherman/leatherman-1.9.0.ebuild |
32 |
@@ -0,0 +1,58 @@ |
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 cmake-utils multilib |
39 |
+ |
40 |
+DESCRIPTION="A C++ toolkit" |
41 |
+HOMEPAGE="https://github.com/puppetlabs/leatherman" |
42 |
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+IUSE="debug static-libs test" |
46 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
47 |
+SLOT="0/${PV}" |
48 |
+ |
49 |
+RDEPEND="net-misc/curl" |
50 |
+DEPEND=">=dev-libs/boost-1.54:=[nls] |
51 |
+ net-misc/curl |
52 |
+ >=sys-devel/gcc-4.8:*" |
53 |
+ |
54 |
+PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch ) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die |
58 |
+ cmake-utils_src_prepare |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local mycmakeargs=( |
63 |
+ -DCMAKE_VERBOSE_MAKEFILE=ON |
64 |
+ -DCMAKE_BUILD_TYPE=None |
65 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
66 |
+ ) |
67 |
+ if ! use static-libs; then |
68 |
+ mycmakeargs+=( |
69 |
+ -DLEATHERMAN_SHARED=ON |
70 |
+ ) |
71 |
+ else |
72 |
+ mycmakeargs+=( |
73 |
+ -DLEATHERMAN_SHARED=OFF |
74 |
+ ) |
75 |
+ fi |
76 |
+ if use debug; then |
77 |
+ mycmakeargs+=( |
78 |
+ -DCMAKE_BUILD_TYPE=Debug |
79 |
+ ) |
80 |
+ fi |
81 |
+ cmake-utils_src_configure |
82 |
+} |
83 |
+ |
84 |
+src_test() { |
85 |
+ "${WORKDIR}/${P}"_build/bin/leatherman_test |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ cmake-utils_src_install |
90 |
+} |