mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/2ping: enable py3.11, use PEP517, install bash completions
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user