1 |
commit: d3f50f545abf1d908d807cf4478f73321a978123 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 26 15:39:09 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 26 15:54:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f50f54 |
7 |
|
8 |
dev-libs/leatherman: 1.6.0 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-libs/leatherman/Manifest | 1 + |
14 |
dev-libs/leatherman/leatherman-1.6.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 e1a5f5dbafc..976499231e9 100644 |
19 |
--- a/dev-libs/leatherman/Manifest |
20 |
+++ b/dev-libs/leatherman/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba725aadc6cffd78220f7f7f1b725cad960fc6d9fdd2d54a43c233b35959ebcb9c71d1191a5535703599fa32e3301e SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b |
23 |
DIST leatherman-1.5.4.tar.gz 814395 BLAKE2B 251cacad45e1571d54e7b78201bb0b3578d983022267bfd3438e921f93ba466995629759d9657c71938a5866fc13d1b70dabe2f3a43137ef52164f67da3a8aa5 SHA512 67a3a0a946024d0cee44ccb314d13abb3df83d7c7d0bfe58d5e966d57ef26240dc011a8e6865f017674a00043429379ae9e033a9197c4173c3fa173918d0b0f9 |
24 |
+DIST leatherman-1.6.0.tar.gz 814463 BLAKE2B 1c990c261ded1fd32bb5b1912f84a4bef8ac3ccfae9172e0496f90283e1a2ac210bf9dc1c7e88bcb8776798674d93c1313359135051b4c7f023e1e3080104e2e SHA512 d0d22b60db2c164183268d29fe1bc1ee9ed16797d38174849eaa74841f801869d038e5672664aae89517487811a70f689a345a2c87d3a2f0a04d55214e7f9eaa |
25 |
|
26 |
diff --git a/dev-libs/leatherman/leatherman-1.6.0.ebuild b/dev-libs/leatherman/leatherman-1.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..33542697140 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/leatherman/leatherman-1.6.0.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit cmake-utils multilib |
38 |
+ |
39 |
+DESCRIPTION="A C++ toolkit" |
40 |
+HOMEPAGE="https://github.com/puppetlabs/leatherman" |
41 |
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+IUSE="debug static-libs test" |
45 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
46 |
+SLOT="0/${PV}" |
47 |
+ |
48 |
+RDEPEND="net-misc/curl" |
49 |
+DEPEND=">=dev-libs/boost-1.54:=[nls] |
50 |
+ net-misc/curl |
51 |
+ >=sys-devel/gcc-4.8:*" |
52 |
+ |
53 |
+PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die |
57 |
+ cmake-utils_src_prepare |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local mycmakeargs=( |
62 |
+ -DCMAKE_VERBOSE_MAKEFILE=ON |
63 |
+ -DCMAKE_BUILD_TYPE=None |
64 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
65 |
+ ) |
66 |
+ if ! use static-libs; then |
67 |
+ mycmakeargs+=( |
68 |
+ -DLEATHERMAN_SHARED=ON |
69 |
+ ) |
70 |
+ else |
71 |
+ mycmakeargs+=( |
72 |
+ -DLEATHERMAN_SHARED=OFF |
73 |
+ ) |
74 |
+ fi |
75 |
+ if use debug; then |
76 |
+ mycmakeargs+=( |
77 |
+ -DCMAKE_BUILD_TYPE=Debug |
78 |
+ ) |
79 |
+ fi |
80 |
+ cmake-utils_src_configure |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ "${WORKDIR}/${P}"_build/bin/leatherman_test |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ cmake-utils_src_install |
89 |
+} |