dev-python/netmap: update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-07-12 20:38:32 +02:00
committed by Andreas Billmeier
parent 4d47d965cf
commit bb8627f817
2 changed files with 5 additions and 15 deletions

View File

@@ -1,15 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="This is a python class to use nmap and access scan results from python3"
HOMEPAGE="https://github.com/home-assistant-libs/python-nmap https://pypi.org/project/netmap/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
@@ -20,14 +19,5 @@ RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="net-analyzer/nmap"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest