1 |
commit: 481c07ac93bb3d87238211ae50fbc50775ab249c |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 31 20:52:32 2018 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 31 20:53:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481c07ac |
7 |
|
8 |
dev-libs/leatherman: 1.5.3 bump |
9 |
|
10 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
dev-libs/leatherman/Manifest | 1 + |
14 |
dev-libs/leatherman/leatherman-1.5.3.ebuild | 58 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest |
18 |
index 36aee11e1cb..25e17450762 100644 |
19 |
--- a/dev-libs/leatherman/Manifest |
20 |
+++ b/dev-libs/leatherman/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba |
22 |
DIST leatherman-1.4.2.tar.gz 814263 BLAKE2B 5ca8123f264ed0f7843c6fc1b0966c577fb9d12933e5baa375e0beef8ba17afe4388f1e05e1022e392c50e32e159b765531137cf069bd0f5b8baa3626c860949 SHA512 e0cb19605163b68ac5a8fc74e875d856af5e34345f19c38f0db45da7536ec27ba6cf4b4e8c5883ceb9a5978cdc8831181ec89ad4105252366b198af4f3f22bff |
23 |
DIST leatherman-1.4.4.tar.gz 814289 BLAKE2B d53ff660e28eaea1c11f95cc70348a2a5883e0dc5ae56482b0afe96e61938e4d15688f8abf9783976443c00b6a69e9037b5080194babb97200e25e2c548b9153 SHA512 a1955a3f7a7fd190f7d85ad07e30dee74b0f4b7ed670a4a9a7613317d2898faf776cbed0c5c7b6da25ddd5099c9638e9abb2aca16aec61c568fc2f8c9789ffe4 |
24 |
DIST leatherman-1.5.2.tar.gz 814349 BLAKE2B 1bc2d85426683e9f82d31ba9e3b63b4c9185b0bfa5ae832ea252ecbd922b44dfa67b6011145489d5c5809a76011aef8b143f6b705ea0436d914fc0d8ca8091a2 SHA512 9cef854fd7a95c54fcfc2e639e469dfaa4625757ea8aceeb9ac2162bfc89cbcbc1d5e8217af5f1fad4f31d98528475e22157ca6b1046a36e0928074f866ddafd |
25 |
+DIST leatherman-1.5.3.tar.gz 814340 BLAKE2B 7dec42f1a62511a4f63ca197212f3b81f5baa862b0a7f825c2caa7e9af6bdd15e7b5aad39649d7e5dbb6bd62df19895bbf851421f9aa2795ced785c2e28bcdcf SHA512 e2616a42c6879755f338f9f0291bf28c7465d51caa3326be521ae3e0d5d79e82099c8720dc19223ad9112cde81c4579faf28a2b467f802baefc99dd59212b818 |
26 |
|
27 |
diff --git a/dev-libs/leatherman/leatherman-1.5.3.ebuild b/dev-libs/leatherman/leatherman-1.5.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..cc7a76208a2 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/leatherman/leatherman-1.5.3.ebuild |
32 |
@@ -0,0 +1,58 @@ |
33 |
+# Copyright 1999-2018 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 |
+} |