dev-python/virtualenv: arm64 keyworded (bug #700918)
[gentoo.git] / dev-python / ntplib / ntplib-0.3.3.ebuild
1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=6
5 PYTHON_COMPAT=( python3_{6,7,8} )
6
7 inherit distutils-r1
8
9 DESCRIPTION="Python NTP library"
10 HOMEPAGE="https://pypi.org/project/ntplib/"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17 # tests fail with network-sandbox
18 RESTRICT="test"
19
20 python_test() {
21         "${EPYTHON}" ./test_ntplib.py || die
22 }