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 8E265138334 for ; Sat, 1 Dec 2018 19:40:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42CCEE07DF; Sat, 1 Dec 2018 19:40:58 +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 EEC28E07DF for ; Sat, 1 Dec 2018 19:40:57 +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 8B25A335C5D for ; Sat, 1 Dec 2018 19:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98480266 for ; Sat, 1 Dec 2018 19:40:53 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1543693244.ad24ef353b6a1998a659cc747a5c54e5973c47ec.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/cpuminer-opt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/cpuminer-opt/cpuminer-opt-3.8.8.1-r1.ebuild net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: ad24ef353b6a1998a659cc747a5c54e5973c47ec X-VCS-Branch: master Date: Sat, 1 Dec 2018 19:40:53 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8252afb-8f51-4408-9630-05141554609a X-Archives-Hash: 952155cb7cd841f982117924a810a900 commit: ad24ef353b6a1998a659cc747a5c54e5973c47ec Author: Craig Andrews gentoo org> AuthorDate: Sat Dec 1 19:27:19 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sat Dec 1 19:40:44 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad24ef35 net-p2p/cpuminer-opt: curl is an unconditional dependency, add test Closes: https://bugs.gentoo.org/651270 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews gentoo.org> ...cpuminer-opt-9999.ebuild => cpuminer-opt-3.8.8.1-r1.ebuild} | 10 +++++++--- net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.8.1-r1.ebuild similarity index 86% copy from net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild copy to net-p2p/cpuminer-opt/cpuminer-opt-3.8.8.1-r1.ebuild index a1f4a660f6b..38cf197f497 100644 --- a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.8.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ REQUIRED_USE="cpu_flags_x86_sse2" DEPEND=" dev-libs/gmp:0 dev-libs/jansson - curl? ( >=net-misc/curl-7.15[ssl] ) + >=net-misc/curl-7.15[ssl] !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) " @@ -35,7 +35,7 @@ src_prepare() { src_configure() { append-ldflags -Wl,-z,noexecstack - econf --with-crypto $(use_with curl) + econf --with-crypto --with-curl } src_install() { @@ -44,3 +44,7 @@ src_install() { insinto "/etc/${PN}" doins cpuminer-conf.json } + +src_test() { + ./cpuminer --cputest || die +} diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild index a1f4a660f6b..38cf197f497 100644 --- a/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild +++ b/net-p2p/cpuminer-opt/cpuminer-opt-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ REQUIRED_USE="cpu_flags_x86_sse2" DEPEND=" dev-libs/gmp:0 dev-libs/jansson - curl? ( >=net-misc/curl-7.15[ssl] ) + >=net-misc/curl-7.15[ssl] !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) " @@ -35,7 +35,7 @@ src_prepare() { src_configure() { append-ldflags -Wl,-z,noexecstack - econf --with-crypto $(use_with curl) + econf --with-crypto --with-curl } src_install() { @@ -44,3 +44,7 @@ src_install() { insinto "/etc/${PN}" doins cpuminer-conf.json } + +src_test() { + ./cpuminer --cputest || die +}