Сравнение dnsviz-0.8.2-r1 с dnsviz-0.9.4-r1

/usr/portage/net-dns/dnsviz/dnsviz-0.9.4-r1.ebuild 2023-10-09 14:52:33.360368448 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_7 )
7
inherit distutils-r1 eutils
6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
8

  
9
inherit distutils-r1 optfeature
8 10

  
9 11
DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC"
10
HOMEPAGE="https://dnsviz.net/"
11
SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
HOMEPAGE="
13
	https://dnsviz.net/
14
	https://github.com/dnsviz/dnsviz/
15
	https://pypi.org/project/dnsviz/
16
"
17
SRC_URI="
18
	https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz
19
		-> ${P}.gh.tar.gz
20
"
12 21

  
13 22
SLOT="0"
14 23
LICENSE="GPL-2"
15
KEYWORDS="amd64 x86"
16
IUSE=""
17

  
18
DEPEND="
19
	dev-python/dnspython[${PYTHON_USEDEP}]
20
	dev-python/libnacl[${PYTHON_USEDEP}]
21
	>=dev-python/m2crypto-0.31.0[${PYTHON_USEDEP}]
22
	>=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]
23
	dev-python/setuptools[${PYTHON_USEDEP}]"
24
KEYWORDS="~amd64 ~x86"
25
IUSE="test"
26
RESTRICT="!test? ( test )"
24 27

  
25 28
RDEPEND="
26
	${DEPEND}"
29
	>=dev-python/dnspython-1.13[${PYTHON_USEDEP}]
30
	>=dev-python/m2crypto-0.37.0[${PYTHON_USEDEP}]
31
	>=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}]
32
"
33
BDEPEND="
34
	media-gfx/graphviz
35
	test? (
36
		${RDEPEND}
37
		net-dns/bind
38
	)
39
"
27 40

  
28 41
python_prepare_all() {
29
	# Fix the ebuild to use correct FHS/Gentoo policy paths for 0.8.2
30
	sed -i "s*share/doc/dnsviz*share/doc/dnsviz-${PV}*g" "${S}"/setup.py || die
42
	# Fix the ebuild to use correct FHS/Gentoo policy paths
43
	sed -i \
44
		-e "s|share/doc/dnsviz|share/doc/${PF}|g" \
45
			"${S}"/setup.py \
46
			|| die
47

  
48
	# skip online tests
49
	rm tests/*_online.py tests/dnsviz_probe_options.py || die
31 50

  
32 51
	distutils-r1_python_prepare_all
33 52
}
34 53

  
54
python_test() {
55
	eunittest -s tests -p "*.py" || die
56
}
57

  
35 58
pkg_postinst() {
36
	elog "Support for extra feature can be get from:"
37 59
	optfeature "Support for pre-deployment testing" net-dns/bind
38

  
39
	# Warn about extra requirements for >=OpenSSL 1.1.0
40
	if has_version '=dev-libs/openssl-1.1*'; then
41
	   echo
42
	   ewarn "With OpenSSL version 1.1.0 and later,the OpenSSL GOST Engine"
43
	   ewarn "is necessary to validate DNSSEC signatures with algorithm 12"
44
	   ewarn "(GOST R 34.10-2001) and digests of type 3 (GOST R 34.11-94)"
45
	   ewarn "OpenSSL GOST Engine can be get from --> dev-libs/gost-engine"
46
	fi
60
	optfeature "Support for DNSSEC signatures using GOST algorithm or digest" dev-libs/ghost-engine
47 61
}
Спасибо!