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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9F97158089 for ; Tue, 7 Nov 2023 12:43:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E77C2BC013; Tue, 7 Nov 2023 12:43:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E97652BC013 for ; Tue, 7 Nov 2023 12:43:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01EB7335CB4 for ; Tue, 7 Nov 2023 12:43:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C8621325 for ; Tue, 7 Nov 2023 12:43:30 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1699360164.ddb728b7158dc39af5d63ab1a4d00b803e673e24.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/znc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/znc/znc-9999.ebuild X-VCS-Directories: net-irc/znc/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: ddb728b7158dc39af5d63ab1a4d00b803e673e24 X-VCS-Branch: master Date: Tue, 7 Nov 2023 12:43:30 +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: d05b941d-cf02-45bf-b0db-d95c9ebe0bfe X-Archives-Hash: 6e1170b67060ac9560f1cc51a02e2423 commit: ddb728b7158dc39af5d63ab1a4d00b803e673e24 Author: Louis Sautier gentoo org> AuthorDate: Sun Oct 29 13:19:42 2023 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Nov 7 12:29:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb728b7 net-irc/znc: add new dependency on argon2 + enable py312 Argon2 is now used to hash passwords instead of SHA-256. Also fix dependency on Python: it is also required to run tests because znc-buildmod is a Python script. Signed-off-by: Louis Sautier gentoo.org> net-irc/znc/znc-9999.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/net-irc/znc/znc-9999.ebuild b/net-irc/znc/znc-9999.ebuild index a247a1966b36..1f2334900220 100644 --- a/net-irc/znc/znc-9999.ebuild +++ b/net-irc/znc/znc-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit cmake python-single-r1 readme.gentoo-r1 systemd @@ -33,7 +33,11 @@ SLOT="0/${PV}" IUSE="+icu nls perl python +ssl sasl tcl test +zlib" RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )" +# tests run znc-buildmod which is a Python script +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} icu ) + test? ( ${PYTHON_REQUIRED_USE} ) +" # perl is a build-time dependency of modpython BDEPEND=" @@ -53,6 +57,7 @@ BDEPEND=" ) " DEPEND=" + app-crypt/argon2 icu? ( dev-libs/icu:= ) nls? ( dev-libs/boost:=[nls] ) perl? ( >=dev-lang/perl-5.10:= ) @@ -73,7 +78,7 @@ PATCHES=( ) pkg_setup() { - if use python; then + if use python || use test; then python-single-r1_pkg_setup fi }