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 6E3CF1382C5 for ; Wed, 11 Apr 2018 09:36:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2F9CE09F4; Wed, 11 Apr 2018 09:36:52 +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 90EA1E09F4 for ; Wed, 11 Apr 2018 09:36:52 +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 422BD335C72 for ; Wed, 11 Apr 2018 09:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB8CD27E for ; Wed, 11 Apr 2018 09:36:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1523439361.13c451c6ad05a26f233900de7fce14faca99abc7.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cppcodec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cppcodec/Manifest dev-libs/cppcodec/cppcodec-0.1.ebuild X-VCS-Directories: dev-libs/cppcodec/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 13c451c6ad05a26f233900de7fce14faca99abc7 X-VCS-Branch: master Date: Wed, 11 Apr 2018 09:36:48 +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: d221d17d-6dae-448f-b20a-cfd18d429c2a X-Archives-Hash: b79a9fffad5dd0d8540f9b012e566f0d commit: 13c451c6ad05a26f233900de7fce14faca99abc7 Author: David Seifert gentoo org> AuthorDate: Wed Apr 11 09:36:01 2018 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Apr 11 09:36:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c451c6 dev-libs/cppcodec: Add 0.1 release Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-libs/cppcodec/Manifest | 1 + dev-libs/cppcodec/cppcodec-0.1.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/cppcodec/Manifest b/dev-libs/cppcodec/Manifest new file mode 100644 index 00000000000..8ddc96cd620 --- /dev/null +++ b/dev-libs/cppcodec/Manifest @@ -0,0 +1 @@ +DIST cppcodec-0.1.tar.gz 26932 BLAKE2B abfe4aa3126d5900f806682c6ecb60d3cab5eb41e21d68c3f0c55d011c528304be9d286e48c6dac7bd3edea9e519609091053b6aeb2ab85818837b10499b24ae SHA512 8b406755b3d9457e4e265f76abcb7a18daa4566ec9b56ac3a01b44fd62062eef8d91806e0009ce26ade92a35c5c0488eeaf7db695479a2013f8549ac5fa8626f diff --git a/dev-libs/cppcodec/cppcodec-0.1.ebuild b/dev-libs/cppcodec/cppcodec-0.1.ebuild new file mode 100644 index 00000000000..7a7f9e55ed6 --- /dev/null +++ b/dev-libs/cppcodec/cppcodec-0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +inherit cmake-utils + +DESCRIPTION="C++11 library to encode/decode base64, base64url, base32, base32hex and hex" +HOMEPAGE="https://github.com/tplgy/cppcodec" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tplgy/cppcodec.git" + + # Disable pulling in catch + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/tplgy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + virtual/pkgconfig + >=dev-cpp/catch-2.2.0 + )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake-utils_src_configure +}