From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DABC15801B for ; Sat, 5 Aug 2023 14:53:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E596D2BC024; Sat, 5 Aug 2023 14:53:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9FC82BC024 for ; Sat, 5 Aug 2023 14:53:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8F6E340DF8 for ; Sat, 5 Aug 2023 14:53:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD730F00 for ; Sat, 5 Aug 2023 14:53:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1691247179.06e9cc8918c93fe11d9fa436ec33f4da9361eca9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libnacl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libnacl/Manifest dev-python/libnacl/libnacl-2.0.0.ebuild X-VCS-Directories: dev-python/libnacl/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 06e9cc8918c93fe11d9fa436ec33f4da9361eca9 X-VCS-Branch: master Date: Sat, 5 Aug 2023 14:53:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a9c10245-7a3d-46fd-abde-98632f6fd880 X-Archives-Hash: 4e0019875987c87b0201e11196f310c1 commit: 06e9cc8918c93fe11d9fa436ec33f4da9361eca9 Author: Michał Górny gentoo org> AuthorDate: Sat Aug 5 14:46:42 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Aug 5 14:52:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e9cc89 dev-python/libnacl: Bump to 2.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/libnacl/Manifest | 1 + dev-python/libnacl/libnacl-2.0.0.ebuild | 38 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/libnacl/Manifest b/dev-python/libnacl/Manifest index 8ae7433f684a..d2d1fa7285f1 100644 --- a/dev-python/libnacl/Manifest +++ b/dev-python/libnacl/Manifest @@ -1,2 +1,3 @@ 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 +DIST libnacl-2.0.0.gh.tar.gz 44710 BLAKE2B 50fa7d446370bb6043d942b28364b5bf2a23efcd6f3c82a59ee0ef0f7666a9ebe8e3dcf487d43e6ecb548ededb5e6228b3da401dc30924fef90047da40888168 SHA512 f8159ae479d920058662ffde2ac3bad2c8b413d55ca0bd442b81c7071b4cfca90eae277f85e7bf0bb63cd71ee1e0ad4cbbb03468ed55d1bcbe06d2e9a0976b72 diff --git a/dev-python/libnacl/libnacl-2.0.0.ebuild b/dev-python/libnacl/libnacl-2.0.0.ebuild new file mode 100644 index 000000000000..62aad69145c6 --- /dev/null +++ b/dev-python/libnacl/libnacl-2.0.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}" +}