30 lines
607 B
Bash
30 lines
607 B
Bash
# Copyright 2023-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..13} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Object oriented interface to Linux TUN/TAP devices"
|
|
HOMEPAGE="https://github.com/johnthagen/pytap2 https://pypi.org/project/pytap2/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 arm64"
|
|
|
|
RDEPEND="
|
|
${PYTHON_DEPS}
|
|
sys-apps/net-tools
|
|
"
|
|
BDEPEND="
|
|
${RDEPEND}
|
|
test? (
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|