1 |
commit: 4118489f003bed40dc9c799d3ba81b8417c812d6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 20 11:35:25 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 20 12:03:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4118489f |
7 |
|
8 |
dev-python/libnacl: Bump to 1.8.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/libnacl/Manifest | 1 + |
13 |
dev-python/libnacl/libnacl-1.8.0.ebuild | 39 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libnacl/Manifest b/dev-python/libnacl/Manifest |
17 |
index dc991fce9560..b62fd3b8ac51 100644 |
18 |
--- a/dev-python/libnacl/Manifest |
19 |
+++ b/dev-python/libnacl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libnacl-1.7.2.tar.gz 43343 BLAKE2B 4f7d03661e1385033c51821bf673c81ced11a1523b371ec7da42ed9cf75bdaadee1e679059dfae85871530652b5fea80bfb91c19a8a1eefb4ecf1b8661f11e19 SHA512 a4efbf73f73d9493ac365efa5a5bd6481f85ce4c880ad236bbf7478090bdea857e78e33e445c4e467d2a2032040863b835f32f9a942d2f1e467015bd76b0d469 |
22 |
+DIST libnacl-1.8.0.gh.tar.gz 43351 BLAKE2B 4ba0ebcb50755d80418ffe7238c65d9309954cb2a0eac61937c488144b56093f3fcd87f0bf22a290c7b415c70cb781fbf7a2c608863d43694230fe34b3ad418e SHA512 7a39d646083591782691c4d58fd4d743b385ee553bcc4c4741707a237fa3b1213629b5070390526175bdfe8436859aa7711779ff8b22a981227edb30b94e82d6 |
23 |
|
24 |
diff --git a/dev-python/libnacl/libnacl-1.8.0.ebuild b/dev-python/libnacl/libnacl-1.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..fbdab660d5d5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/libnacl/libnacl-1.8.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python ctypes wrapper for libsodium" |
41 |
+HOMEPAGE=" |
42 |
+ https://libnacl.readthedocs.io/ |
43 |
+ https://github.com/saltstack/libnacl/ |
44 |
+ https://pypi.org/project/libnacl/ |
45 |
+" |
46 |
+# forked because upstream didn't push the tag for almost a year now |
47 |
+SRC_URI=" |
48 |
+ https://github.com/mgorny/libnacl/archive/v${PV}.tar.gz |
49 |
+ -> ${P}.gh.tar.gz |
50 |
+" |
51 |
+ |
52 |
+LICENSE="Apache-2.0" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-libs/libsodium |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ ${RDEPEND} |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests unittest |
64 |
+ |
65 |
+python_test() { |
66 |
+ eunittest -p 'test_*.py' tests/ || |
67 |
+ die "Tests failed with ${EPYTHON}" |
68 |
+} |