diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-29 09:04:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-29 10:06:43 +0200 |
commit | 5b32bb1d787a312f4e88c0f5a68767edf1ddaadb (patch) | |
tree | 478000894e6582a88570c2f113b4bd1bc9e7adeb /dev-python/ntplib | |
parent | app-admin/awscli: Bump to 1.19.84 (diff) | |
download | gentoo-5b32bb1d787a312f4e88c0f5a68767edf1ddaadb.tar.gz gentoo-5b32bb1d787a312f4e88c0f5a68767edf1ddaadb.tar.bz2 gentoo-5b32bb1d787a312f4e88c0f5a68767edf1ddaadb.zip |
dev-python/ntplib: Bump to 0.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ntplib')
-rw-r--r-- | dev-python/ntplib/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ntplib/ntplib-0.4.0.ebuild | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/ntplib/Manifest b/dev-python/ntplib/Manifest index 4b9abac69aa7..8ee3b8ffbac1 100644 --- a/dev-python/ntplib/Manifest +++ b/dev-python/ntplib/Manifest @@ -1 +1,2 @@ DIST ntplib-0.3.3.tar.gz 6808 BLAKE2B 192640fd46a12e6f6829b2e252bc3d8126104a15f6186d2f5164b74d6fd8aaa715c6df7c9d2d896512d82f729f85335d81e44eb86b6a7240595c40c8927c0b7b SHA512 4175ebb78228475b32744a59ad4c404f7b88344859c19874606967c7d83a4680bbc78ff42d13b866b8e6ef939d2f1948b0a0b42819c78a8520856bae48ec907f +DIST ntplib-0.4.0.gh.tar.gz 7315 BLAKE2B 508936a01e23dcb2ac9446f4ef6a1f8084a250cfb58e456efc25646b8fec49d3317f751fcffc9d397201d7b41c2b9d387afae2e4a75518225eacc4f3fb01c1c9 SHA512 ad735b1bccc4dc149622423b2877dc1d4b461f245dd0bd5b0cf963918ea63806772783e03eb8a66c75934746981fbd28789f19efa339c87b2f83e8218ee4a4c3 diff --git a/dev-python/ntplib/ntplib-0.4.0.ebuild b/dev-python/ntplib/ntplib-0.4.0.ebuild new file mode 100644 index 000000000000..b5c4c8472001 --- /dev/null +++ b/dev-python/ntplib/ntplib-0.4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) +inherit distutils-r1 + +DESCRIPTION="Python NTP library" +HOMEPAGE="https://pypi.org/project/ntplib/" +SRC_URI=" + https://github.com/cf-natali/ntplib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# tests fail with network-sandbox +PROPERTIES="test_network" +RESTRICT="test" + +python_test() { + "${EPYTHON}" ./test_ntplib.py -v || die +} |