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 EB26C138334 for ; Fri, 12 Oct 2018 12:01:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C6FAE09D4; Fri, 12 Oct 2018 12:01:52 +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 6CBD7E09D4 for ; Fri, 12 Oct 2018 12:01:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2AD73335CB5 for ; Fri, 12 Oct 2018 12:01:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D5663F1 for ; Fri, 12 Oct 2018 12:01:48 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1539345662.4a7590590647791319d3fb5285f095afdc876476.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/i2pd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/i2pd/i2pd-2.21.0.ebuild X-VCS-Directories: net-vpn/i2pd/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 4a7590590647791319d3fb5285f095afdc876476 X-VCS-Branch: master Date: Fri, 12 Oct 2018 12:01: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: 1e1f4aaa-620b-4bd1-9f52-42623ab8933c X-Archives-Hash: cd81b40762aa3e4d3787788b238fbec6 commit: 4a7590590647791319d3fb5285f095afdc876476 Author: Alexey Korepanov yandex ru> AuthorDate: Thu Oct 11 13:03:40 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Oct 12 12:01:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a759059 net-vpn/i2pd: use eapi7-ver and cosmetic Signed-off-by: Alexey Korepanov yandex.ru> Signed-off-by: Anthony G. Basile gentoo.org> net-vpn/i2pd/i2pd-2.21.0.ebuild | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/net-vpn/i2pd/i2pd-2.21.0.ebuild b/net-vpn/i2pd/i2pd-2.21.0.ebuild index d7948631012..1fff5a0abb4 100644 --- a/net-vpn/i2pd/i2pd-2.21.0.ebuild +++ b/net-vpn/i2pd/i2pd-2.21.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils systemd user cmake-utils versionator toolchain-funcs +inherit systemd user cmake-utils eapi7-ver toolchain-funcs DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" HOMEPAGE="https://github.com/PurpleI2P/i2pd" @@ -13,18 +13,24 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp websocket" # if using libressl, require >=boost-1.65, see #597798 -RDEPEND="!static? ( dev-libs/boost[threads] - !libressl? ( dev-libs/openssl:0[-bindist] ) - libressl? ( dev-libs/libressl:0 - >=dev-libs/boost-1.65 ) - sys-libs/zlib - upnp? ( net-libs/miniupnpc ) - )" +RDEPEND=" + !static? ( + dev-libs/boost[threads] + !libressl? ( dev-libs/openssl:0[-bindist] ) + libressl? ( + dev-libs/libressl:0 + >=dev-libs/boost-1.65 + ) + upnp? ( net-libs/miniupnpc ) + )" DEPEND="${RDEPEND} - static? ( dev-libs/boost[static-libs,threads] + static? ( + dev-libs/boost[static-libs,threads] !libressl? ( dev-libs/openssl:0[static-libs] ) - libressl? ( dev-libs/libressl:0[static-libs] - >=dev-libs/boost-1.65 ) + libressl? ( + dev-libs/libressl:0[static-libs] + >=dev-libs/boost-1.65 + ) sys-libs/zlib[static-libs] upnp? ( net-libs/miniupnpc[static-libs] ) ) @@ -40,7 +46,7 @@ DOCS=( README.md contrib/i2pd.conf contrib/tunnels.conf ) PATCHES=( "${FILESDIR}/${PN}-2.14.0-fix_installed_components.patch" ) pkg_pretend() { - if tc-is-gcc && ! version_is_at_least "4.7" "$(gcc-version)"; then + if tc-is-gcc && ! ver_test "$(gcc-version)" -ge "4.7"; then die "At least gcc 4.7 is required" fi if use i2p-hardening && ! tc-is-gcc; then