1 |
commit: 5e2e6ca351d628234c488794d9f385ed534bb9ae |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 31 17:42:40 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 31 17:44:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2e6ca3 |
7 |
|
8 |
dev-libs/leatherman: 1.2.0 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-libs/leatherman/Manifest | 1 + |
13 |
dev-libs/leatherman/leatherman-1.2.0.ebuild | 52 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest |
17 |
index 4665ba39298..cf13f123a71 100644 |
18 |
--- a/dev-libs/leatherman/Manifest |
19 |
+++ b/dev-libs/leatherman/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf42 |
21 |
DIST leatherman-1.0.0.tar.gz 423859 SHA256 4bcb8eaf08429e9e62cc6fcbfc1f216bd2eff800f751dbacabbec7d714ed21a2 SHA512 a4fabe53662e00b7be563b768b317d186204b66c0949d4cf0b3c9133462a95fe449758f474b04285803a786745d27c7327429dc80ff4d6d2b52b3973d3927ef0 WHIRLPOOL 3490566cdb495bb972fe4e906412184f4d16505fb7cd156588da68d1d08eb79014cdc65faeeb04f1646aef9d7054e84e087280c4a67607884a389ac85a2cffa2 |
22 |
DIST leatherman-1.1.1.tar.gz 429468 SHA256 5c277b094cdfd8bfec43aef57bd02443d8789e85c203821acb7d0fbe42fa20c3 SHA512 a27976185ea356e9c3318b2d2f9f3fd41e5586ea376788fda8ee1061d98c8127aec7056231f0614a45b09113756c6778e52b5277dbf71c42a8f46fd0560dd9ce WHIRLPOOL e2e2b726e9086fe26265f8fe9f8c0b13e43e8df4edc4c81b438259acb78a5e90dd1ab5d5beef69e3c068b69481477f1722645abf5d95843acd1effa97c3fff7b |
23 |
DIST leatherman-1.1.2.tar.gz 430545 SHA256 1feca2ba8472252132ad90c6bcc3fba6dbb85ee912b1cbcde9853d812d54729f SHA512 2b0ae54664ed0506c7c87079f9d7096a031b324650be7713cf7d0172d48fb36d619a1c00e6604dd0ac8aa397b72fded2b4ff535ebe853f42c9bddc0d3a3bde15 WHIRLPOOL 521d540530c7ffdb43296c475ca8903785484880b593f50417bb66b570814019a64ba655fe3a76723a86964a537109b1fc1ef5ffbaf78991b7a6c1e619888a9a |
24 |
+DIST leatherman-1.2.0.tar.gz 431224 SHA256 96cc533e1cf3f7d3bcb1d358acf8b59f151646ea33147a516bb1a82f01355d87 SHA512 9873cc9c7c85280da443141dc72cc77bdd8f929d9b4ca327bdd9dd2bcb1763b154a5c95e7c52b5d0c8836fc6d2dcd36471e127166357cb1ccabec4aabac493a3 WHIRLPOOL 0a1ad1797a7fbbc55a8d8cf7ed649c8ed3b88096c4b6dd14e935068cb6d7632e926528ef4161c7675384520b2e1de7ddbb31488352d8b6c20ebce814b3de10d1 |
25 |
|
26 |
diff --git a/dev-libs/leatherman/leatherman-1.2.0.ebuild b/dev-libs/leatherman/leatherman-1.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..73272169b5e |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/leatherman/leatherman-1.2.0.ebuild |
31 |
@@ -0,0 +1,52 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+USE_RUBY="ruby21 ruby22" |
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 |
+SLOT="0" |
46 |
+IUSE="debug test" |
47 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
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 |
+ default |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local mycmakeargs=( |
63 |
+ -DCMAKE_VERBOSE_MAKEFILE=ON |
64 |
+ -DCMAKE_BUILD_TYPE=None |
65 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
66 |
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc |
67 |
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var |
68 |
+ ) |
69 |
+ if use debug; then |
70 |
+ mycmakeargs+=( |
71 |
+ -DCMAKE_BUILD_TYPE=Debug |
72 |
+ ) |
73 |
+ fi |
74 |
+ cmake-utils_src_configure |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ "${WORKDIR}/${P}"_build/bin/leatherman_test |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ cmake-utils_src_install |
83 |
+} |