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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E191C15800F for ; Fri, 17 Feb 2023 09:48:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34A9BE0867; Fri, 17 Feb 2023 09:48:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 188FEE0867 for ; Fri, 17 Feb 2023 09:48:40 +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 3A5FF34110D for ; Fri, 17 Feb 2023 09:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DA5A8B4 for ; Fri, 17 Feb 2023 09:48:37 +0000 (UTC) From: "Sam James" 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" Message-ID: <1676627302.8b68f5bbd45d6781892ad0467fa87ececfb6d26e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/2ping/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/2ping/2ping-4.5.1-r1.ebuild net-analyzer/2ping/2ping-4.5.1.ebuild X-VCS-Directories: net-analyzer/2ping/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8b68f5bbd45d6781892ad0467fa87ececfb6d26e X-VCS-Branch: master Date: Fri, 17 Feb 2023 09:48:37 +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: 608b8451-ffa9-4a16-8636-20e46b4e278b X-Archives-Hash: eb04941b4d06c6d85706db2f4b667624 commit: 8b68f5bbd45d6781892ad0467fa87ececfb6d26e Author: Sam James gentoo org> AuthorDate: Fri Feb 17 09:36:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 17 09:48:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b68f5bb net-analyzer/2ping: enable py3.11, use PEP517, install bash completions Signed-off-by: Sam James gentoo.org> .../2ping/{2ping-4.5.1.ebuild => 2ping-4.5.1-r1.ebuild} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/net-analyzer/2ping/2ping-4.5.1.ebuild b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild similarity index 71% rename from net-analyzer/2ping/2ping-4.5.1.ebuild rename to net-analyzer/2ping/2ping-4.5.1-r1.ebuild index 0e3433304a98..e26ab3b49f42 100644 --- a/net-analyzer/2ping/2ping-4.5.1.ebuild +++ b/net-analyzer/2ping/2ping-4.5.1-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) - -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit bash-completion-r1 distutils-r1 DESCRIPTION="A bi-directional ping utility" HOMEPAGE="https://www.finnie.org/software/2ping/" @@ -16,10 +16,17 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86" IUSE="server" +distutils_enable_tests pytest + src_install() { distutils-r1_src_install + doman doc/2ping.1 dodoc doc/{2ping-protocol-examples.py,2ping-protocol.md} + + newbashcomp 2ping.bash_completion 2ping + dosym 2ping $(get_bashcompdir)/2ping6 + use server && { doinitd "${FILESDIR}"/2pingd newconfd "${FILESDIR}"/2pingd.conf 2pingd