From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8AC9138335 for ; Tue, 18 Sep 2018 06:49:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2FC1E0DED; Tue, 18 Sep 2018 06:49:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72E2FE0DED for ; Tue, 18 Sep 2018 06:49:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61ED2335CC2 for ; Tue, 18 Sep 2018 06:49:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62FE23D3 for ; Tue, 18 Sep 2018 06:49:16 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1537253132.3d921cc0aaefdf54c321acf3201eab3a759e0070.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/leatherman/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/leatherman/Manifest dev-libs/leatherman/leatherman-1.5.0.ebuild X-VCS-Directories: dev-libs/leatherman/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 3d921cc0aaefdf54c321acf3201eab3a759e0070 X-VCS-Branch: master Date: Tue, 18 Sep 2018 06:49:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 25d7691f-8572-4065-acae-7cebfafdbfa7 X-Archives-Hash: 73440167934556171e6009095957c47b commit: 3d921cc0aaefdf54c321acf3201eab3a759e0070 Author: Matthew Thode gentoo org> AuthorDate: Tue Sep 18 06:45:32 2018 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Sep 18 06:45:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d921cc0 dev-libs/leatherman: 1.5.0 bump Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-libs/leatherman/Manifest | 1 + dev-libs/leatherman/leatherman-1.5.0.ebuild | 58 +++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest index 1c6f17ad1b4..5f19f09ed43 100644 --- a/dev-libs/leatherman/Manifest +++ b/dev-libs/leatherman/Manifest @@ -1,2 +1,3 @@ DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba725aadc6cffd78220f7f7f1b725cad960fc6d9fdd2d54a43c233b35959ebcb9c71d1191a5535703599fa32e3301e SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b DIST leatherman-1.4.2.tar.gz 814263 BLAKE2B 5ca8123f264ed0f7843c6fc1b0966c577fb9d12933e5baa375e0beef8ba17afe4388f1e05e1022e392c50e32e159b765531137cf069bd0f5b8baa3626c860949 SHA512 e0cb19605163b68ac5a8fc74e875d856af5e34345f19c38f0db45da7536ec27ba6cf4b4e8c5883ceb9a5978cdc8831181ec89ad4105252366b198af4f3f22bff +DIST leatherman-1.5.0.tar.gz 814292 BLAKE2B d48f09ade91fd5194669101fc5c9e60ad1eba09dce61507c716257bfeaef4cf8e9318f5674a23c92bf95324fad7712443f4c31ea09de1b9769e4d4e2d1a2de15 SHA512 9788722bb85ff3018f4b7ecccd9dbd86104d8bdafd6179766e137ed09343e4b6b2029e48afe2aa4bae03e2b45176fc619da0697e3e305ee4651cc21602e15af4 diff --git a/dev-libs/leatherman/leatherman-1.5.0.ebuild b/dev-libs/leatherman/leatherman-1.5.0.ebuild new file mode 100644 index 00000000000..d209a991053 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.5.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="A C++ toolkit" +HOMEPAGE="https://github.com/puppetlabs/leatherman" +SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +IUSE="debug static-libs test" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +SLOT="0/${PV}" + +RDEPEND="net-misc/curl" +DEPEND=">=dev-libs/boost-1.54:=[nls] + net-misc/curl + >=sys-devel/gcc-4.8:*" + +PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch ) + +src_prepare() { + sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + ) + if ! use static-libs; then + mycmakeargs+=( + -DLEATHERMAN_SHARED=ON + ) + else + mycmakeargs+=( + -DLEATHERMAN_SHARED=OFF + ) + fi + if use debug; then + mycmakeargs+=( + -DCMAKE_BUILD_TYPE=Debug + ) + fi + cmake-utils_src_configure +} + +src_test() { + "${WORKDIR}/${P}"_build/bin/leatherman_test +} + +src_install() { + cmake-utils_src_install +}