From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id C6D081582EF for ; Fri, 14 Feb 2025 19:08:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AA3BA342F99 for ; Fri, 14 Feb 2025 19:08:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A92EB11042D; Fri, 14 Feb 2025 19:08:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 9CE2111042D for ; Fri, 14 Feb 2025 19:08:42 +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 49A1A342F99 for ; Fri, 14 Feb 2025 19:08:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D83512654 for ; Fri, 14 Feb 2025 19:08:40 +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: <1739560117.e484fe922cbfb13c75692d520942a138676d7111.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-jose/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-jose/Manifest dev-python/python-jose/python-jose-3.4.0.ebuild X-VCS-Directories: dev-python/python-jose/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e484fe922cbfb13c75692d520942a138676d7111 X-VCS-Branch: master Date: Fri, 14 Feb 2025 19:08:40 +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: f4ce3619-0f3f-4d9b-98f7-8541fbc8052e X-Archives-Hash: 7cd76ba0d8668b52726408355de5b5ec commit: e484fe922cbfb13c75692d520942a138676d7111 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 14 19:05:40 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 14 19:08:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e484fe92 dev-python/python-jose: Bump to 3.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/python-jose/Manifest | 1 + dev-python/python-jose/python-jose-3.4.0.ebuild | 42 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/python-jose/Manifest b/dev-python/python-jose/Manifest index 933c00c5dfdd..48a43f3f8fd8 100644 --- a/dev-python/python-jose/Manifest +++ b/dev-python/python-jose/Manifest @@ -1 +1,2 @@ DIST python-jose-3.3.0.gh.tar.gz 126578 BLAKE2B d1279d2a0788b4d395e760ee3a1b2ce8c9340ad12ebe103cb1ba98aea33566cf0134d5af75be9727fff96adab4fc88f1b471ba9ea7d36c16de10587a9efd1304 SHA512 de7147cc6e12406d6e459c32829acae46395acba727c53e65bc05f4794ee3050eecd355e3ae2e87f4ebdbd871f53822eea08a10f25d7ca6088fc6128dc7d9637 +DIST python-jose-3.4.0.gh.tar.gz 88084 BLAKE2B 9cec36d634019248508164a246c6debc3778321f75aec1d9870611df4b162ee87722137983124b5a5afb7525bb8dfb845e3a302068d7c1d295a326f635016ca5 SHA512 61988e07a2251b475346ac56d7845e1c573e1c4b7bdccec13937c31c325c0731c6679047451a08be79044e5a57a5470e90b43bb94b0a249c84c11675779f3dcf diff --git a/dev-python/python-jose/python-jose-3.4.0.ebuild b/dev-python/python-jose/python-jose-3.4.0.ebuild new file mode 100644 index 000000000000..8d6be90dbf14 --- /dev/null +++ b/dev-python/python-jose/python-jose-3.4.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A JavaScript Object Signing and Encryption (JOSE) implementation in Python" +HOMEPAGE=" + https://github.com/mpdavis/python-jose/ + https://pypi.org/project/python-jose/ +" +# pypi tarball lacks unit tests +SRC_URI=" + https://github.com/mpdavis/python-jose/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +# TODO: require only one crypto backend? +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/ecdsa[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.3.1[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e '/addopts/d' -i setup.cfg || die +}