commit: f631f69632d493e4fcdfa6aaf5aec972da8d3ebd Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Aug 5 05:21:51 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Aug 5 05:30:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f631f696
dev-python/libnacl: Bump to 1.9.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/libnacl/Manifest | 1 + dev-python/libnacl/libnacl-1.9.0.ebuild | 38 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/libnacl/Manifest b/dev-python/libnacl/Manifest index 647e0d3abd16..8ae7433f684a 100644 --- a/dev-python/libnacl/Manifest +++ b/dev-python/libnacl/Manifest @@ -1 +1,2 @@ DIST libnacl-1.8.0.gh.tar.gz 43351 BLAKE2B 4ba0ebcb50755d80418ffe7238c65d9309954cb2a0eac61937c488144b56093f3fcd87f0bf22a290c7b415c70cb781fbf7a2c608863d43694230fe34b3ad418e SHA512 7a39d646083591782691c4d58fd4d743b385ee553bcc4c4741707a237fa3b1213629b5070390526175bdfe8436859aa7711779ff8b22a981227edb30b94e82d6 +DIST libnacl-1.9.0.gh.tar.gz 43752 BLAKE2B 4a604958aeb9c4b26351b74fa3452b72b7e822c9ea28f4a070464568f1eed184615f0ad5624a2838bf055cf221a9a0f493419b16f2bf2be26c608b396d3f234c SHA512 1c1011f218864f4eab6a985a957f7ec5b8a227ed107ab336a0bc076be10bae6d598f3e81f3a20177e81f25f93c36b23118f515b98f87e11b1f727cae3db1e267 diff --git a/dev-python/libnacl/libnacl-1.9.0.ebuild b/dev-python/libnacl/libnacl-1.9.0.ebuild new file mode 100644 index 000000000000..62aad69145c6 --- /dev/null +++ b/dev-python/libnacl/libnacl-1.9.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python ctypes wrapper for libsodium" +HOMEPAGE=" + https://libnacl.readthedocs.io/ + https://github.com/saltstack/libnacl/ + https://pypi.org/project/libnacl/ +" +SRC_URI=" + https://github.com/saltstack/libnacl/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-libs/libsodium +" +BDEPEND=" + ${RDEPEND} +" + +distutils_enable_tests unittest + +python_test() { + eunittest -p 'test_*.py' tests/ || + die "Tests failed with ${EPYTHON}" +}