Diff netaddr-0.8.0-r1 with a netaddr-0.9.0
/usr/portage/dev-python/netaddr/netaddr-0.9.0.ebuild 2023-10-09 14:52:30.316368371 +0300 | ||
---|---|---|
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 | 7 |
PYTHON_COMPAT=( python3_{10..12} ) |
8 | 8 | |
9 |
inherit distutils-r1 optfeature |
|
9 |
inherit distutils-r1 optfeature pypi |
|
10 | 10 | |
11 | 11 |
DESCRIPTION="Network address representation and manipulation library" |
12 | 12 |
HOMEPAGE=" |
... | ... | |
14 | 14 |
https://pypi.org/project/netaddr/ |
15 | 15 |
https://netaddr.readthedocs.io/ |
16 | 16 |
" |
17 |
SRC_URI=" |
|
18 |
https://github.com/netaddr/netaddr/archive/${PV}.tar.gz |
|
19 |
-> ${P}.tar.gz |
|
20 |
" |
|
21 | 17 | |
22 | 18 |
LICENSE="BSD" |
23 | 19 |
SLOT="0" |
24 |
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" |
|
20 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
|
25 | 21 | |
26 | 22 |
distutils_enable_sphinx docs/source |
27 | 23 |
distutils_enable_tests pytest |
28 | 24 | |
29 |
src_prepare() { |
|
30 |
# Disable coverage (requires additional plugins) |
|
31 |
sed -i 's/^addopts = .*//' pytest.ini || die |
|
32 |
distutils-r1_src_prepare |
|
33 |
} |
|
34 | ||
35 | 25 |
pkg_postinst() { |
36 | 26 |
optfeature "CLI support" dev-python/ipython |
37 | 27 |
} |