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 662F71396D1 for ; Tue, 22 Aug 2017 16:29:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81EC61FC09D; Tue, 22 Aug 2017 16:29:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 536F71FC09D for ; Tue, 22 Aug 2017 16:29:23 +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 CFBFC341C4D for ; Tue, 22 Aug 2017 16:29:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FBEF7ECE for ; Tue, 22 Aug 2017 16:29:20 +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: <1503419340.048cb31d566b4d2f2aee93f1ab125c52ab008df1.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.1.0.ebuild X-VCS-Directories: dev-libs/leatherman/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 048cb31d566b4d2f2aee93f1ab125c52ab008df1 X-VCS-Branch: master Date: Tue, 22 Aug 2017 16:29:20 +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: dd2b85ba-d193-46d3-a61a-25f6570cec58 X-Archives-Hash: 77798879f5bc3a07a9fe4054601b6802 commit: 048cb31d566b4d2f2aee93f1ab125c52ab008df1 Author: Matthew Thode gentoo org> AuthorDate: Tue Aug 22 16:24:26 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Aug 22 16:29:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048cb31d dev-libs/leatherman: 1.1.0 bup Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-libs/leatherman/Manifest | 1 + dev-libs/leatherman/leatherman-1.1.0.ebuild | 52 +++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest index 624acf6cd80..3ea154255d6 100644 --- a/dev-libs/leatherman/Manifest +++ b/dev-libs/leatherman/Manifest @@ -1,3 +1,4 @@ DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229 DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf428dd0ebbb4af619e3737f2131bdc0 SHA512 f93b6b0f1051507469bcb8d964cd38b238a269bf277f3b540d4b0e53700012aba3eefc8dc5656a4158ad55b8570ebdb09f528fb586621972b847e10305912ce4 WHIRLPOOL bb2ea8b025aa07b18c485e5d5b98cad035590cb2f13d59780b683a3c2003cfe676e160769e6293b185a8fb1c16c542e033fc10cb27ac6be705345d8c672b8e47 DIST leatherman-1.0.0.tar.gz 423859 SHA256 4bcb8eaf08429e9e62cc6fcbfc1f216bd2eff800f751dbacabbec7d714ed21a2 SHA512 a4fabe53662e00b7be563b768b317d186204b66c0949d4cf0b3c9133462a95fe449758f474b04285803a786745d27c7327429dc80ff4d6d2b52b3973d3927ef0 WHIRLPOOL 3490566cdb495bb972fe4e906412184f4d16505fb7cd156588da68d1d08eb79014cdc65faeeb04f1646aef9d7054e84e087280c4a67607884a389ac85a2cffa2 +DIST leatherman-1.1.0.tar.gz 429502 SHA256 893a40d45b26e4eb8375f00e2409ba3b29d3950471759fd3fe69ba58f59757aa SHA512 9673017898bf34e1b77ec858597260c808d0964d847736ec5d1c7eba15172b96198cc89d886f3acd4331075dc40a325060fc3b90b8c26f368f57ef6ee58c1da6 WHIRLPOOL de49ea8b83ec7496e95551b6c349b180dda224a629cb21e316535ec591fa9532e0471eb480c0963de585cf5fc35708cc595335fb1e365107ef7b66ca694e1de6 diff --git a/dev-libs/leatherman/leatherman-1.1.0.ebuild b/dev-libs/leatherman/leatherman-1.1.0.ebuild new file mode 100644 index 00000000000..fa1c63c5484 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22" + +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" +SLOT="0" +IUSE="debug test" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +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 + default +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DCMAKE_INSTALL_LOCALSTATEDIR=/var + ) + 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 +}