1 |
commit: 5b32bb1d787a312f4e88c0f5a68767edf1ddaadb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 29 07:04:19 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 08:06:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b32bb1d |
7 |
|
8 |
dev-python/ntplib: Bump to 0.4.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ntplib/Manifest | 1 + |
13 |
dev-python/ntplib/ntplib-0.4.0.ebuild | 24 ++++++++++++++++++++++++ |
14 |
2 files changed, 25 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ntplib/Manifest b/dev-python/ntplib/Manifest |
17 |
index 4b9abac69aa..8ee3b8ffbac 100644 |
18 |
--- a/dev-python/ntplib/Manifest |
19 |
+++ b/dev-python/ntplib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ntplib-0.3.3.tar.gz 6808 BLAKE2B 192640fd46a12e6f6829b2e252bc3d8126104a15f6186d2f5164b74d6fd8aaa715c6df7c9d2d896512d82f729f85335d81e44eb86b6a7240595c40c8927c0b7b SHA512 4175ebb78228475b32744a59ad4c404f7b88344859c19874606967c7d83a4680bbc78ff42d13b866b8e6ef939d2f1948b0a0b42819c78a8520856bae48ec907f |
22 |
+DIST ntplib-0.4.0.gh.tar.gz 7315 BLAKE2B 508936a01e23dcb2ac9446f4ef6a1f8084a250cfb58e456efc25646b8fec49d3317f751fcffc9d397201d7b41c2b9d387afae2e4a75518225eacc4f3fb01c1c9 SHA512 ad735b1bccc4dc149622423b2877dc1d4b461f245dd0bd5b0cf963918ea63806772783e03eb8a66c75934746981fbd28789f19efa339c87b2f83e8218ee4a4c3 |
23 |
|
24 |
diff --git a/dev-python/ntplib/ntplib-0.4.0.ebuild b/dev-python/ntplib/ntplib-0.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..b5c4c847200 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ntplib/ntplib-0.4.0.ebuild |
29 |
@@ -0,0 +1,24 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python NTP library" |
39 |
+HOMEPAGE="https://pypi.org/project/ntplib/" |
40 |
+SRC_URI=" |
41 |
+ https://github.com/cf-natali/ntplib/archive/${PV}.tar.gz |
42 |
+ -> ${P}.gh.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+# tests fail with network-sandbox |
48 |
+PROPERTIES="test_network" |
49 |
+RESTRICT="test" |
50 |
+ |
51 |
+python_test() { |
52 |
+ "${EPYTHON}" ./test_ntplib.py -v || die |
53 |
+} |