From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1488991-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 73FE615800F
	for <garchives@archives.gentoo.org>; Wed, 22 Feb 2023 07:42:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BF96EE079E;
	Wed, 22 Feb 2023 07:42:48 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ACC3AE079E
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Feb 2023 07:42:48 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F060F34068A
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Feb 2023 07:42:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E8058C1
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Feb 2023 07:42:44 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1677051741.a36725f4578e21e73fda03448f81b0158e5dc9d6.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nyx/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/nyx/nyx-2.1.0-r5.ebuild
X-VCS-Directories: net-misc/nyx/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a36725f4578e21e73fda03448f81b0158e5dc9d6
X-VCS-Branch: master
Date: Wed, 22 Feb 2023 07:42:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3e1dcb3e-e0fe-44c9-a7e7-eb873443ae1a
X-Archives-Hash: 0f96128f7338a77994a1362191d0b4de

commit:     a36725f4578e21e73fda03448f81b0158e5dc9d6
Author:     Daniel Brandt <poncho <AT> spahan <DOT> ch>
AuthorDate: Mon Feb 20 10:57:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 07:42:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36725f4

net-misc/nyx: allow net-libs/stem-1.8.1

Signed-off-by: Daniel Brandt <poncho <AT> spahan.ch>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/nyx/nyx-2.1.0-r5.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/net-misc/nyx/nyx-2.1.0-r5.ebuild b/net-misc/nyx/nyx-2.1.0-r5.ebuild
new file mode 100644
index 000000000000..7a7ed9a92d4f
--- /dev/null
+++ b/net-misc/nyx/nyx-2.1.0-r5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} pypy3 )
+PYTHON_REQ_USE='ncurses,sqlite(-)'
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Utility to monitor real time Tor status information"
+HOMEPAGE="https://nyx.torproject.org"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://git.torproject.org/nyx.git"
+	inherit git-r3
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# net-libs/stem-1.8.0_p20211118 was an incompatible git-snapshot
+# simply depend on net-libs/stem in the future
+RDEPEND="
+	|| ( <net-libs/stem-1.8.0_p20211118[${PYTHON_USEDEP}] ~net-libs/stem-1.8.1[${PYTHON_USEDEP}] )
+	net-vpn/tor"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	# bug #645336
+	doman nyx.1
+}