1 |
commit: cda4eb8f266c588c9ef5884dc92148bca94b45ac |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 18 16:14:00 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 18 16:16:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cda4eb8f |
7 |
|
8 |
dev-libs/leatherman: 1.7.2 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.69, 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.7.2.ebuild | 58 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest |
18 |
index ab2c6eb8283..f3dd51de6eb 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.7.1.tar.gz 814579 BLAKE2B e29e8bbdb58800e35c4c790b833a512ead0e177e22f140f16ef725738336b49afa709976ab6062b7219b705e14a369f31eef0ded26d51240919ace2cba1de739 SHA512 753cb89f7511b6fbc66e49e9c1fc3ecf1a2d61781b65baea763666f49780cf84a20e0a90fb98e7146f6e11555f892cbfb9c3b4f0d84961af7cce7fc4a277a7f1 |
24 |
+DIST leatherman-1.7.2.tar.gz 815088 BLAKE2B d011d2ae8b75c2a6c10c35da0293624fac0a30dac35d5b7f8b2fee264140666996821f60c8f67eeafc351b669c8263d1a95a00ffcdcd28448b36852c607ca69f SHA512 2976e8d56e603ba86bc22217c1c6b729fed62536ea56b0a74afed4d48a85429d2c79900652344e63905448a13d60d29440623980fd770d40e3db729af5d70ef3 |
25 |
|
26 |
diff --git a/dev-libs/leatherman/leatherman-1.7.2.ebuild b/dev-libs/leatherman/leatherman-1.7.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..33542697140 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/leatherman/leatherman-1.7.2.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 |
+} |