summaryrefslogtreecommitdiff
path: root/dev-python/python-jose
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/python-jose
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/python-jose')
-rw-r--r--dev-python/python-jose/Manifest1
-rw-r--r--dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch22
-rw-r--r--dev-python/python-jose/metadata.xml14
-rw-r--r--dev-python/python-jose/python-jose-3.5.0.ebuild54
4 files changed, 0 insertions, 91 deletions
diff --git a/dev-python/python-jose/Manifest b/dev-python/python-jose/Manifest
deleted file mode 100644
index be771831f584..000000000000
--- a/dev-python/python-jose/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST python-jose-3.5.0.gh.tar.gz 88599 BLAKE2B 1d92b80c14e6ceeda3371c7b9bc86df01deb98e30eecf922edc7215322ba5aa3ff46102330b40e2aec51673ad9d0d448cb81741655ded9cb47f6764944b8dd6d SHA512 8ecebb3133b1ec237aeaab6967e172e70de0e965ae39089e6a336bc00ac0a693dbfcfb90002284f89e1cd88d1570ea482c5d56fd9a04848a384e9a34a460648c
diff --git a/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch b/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch
deleted file mode 100644
index f3ed737bfb66..000000000000
--- a/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Appears to be cryptography related. Works with and without the patch for
-cryptography-45.0.6
-
-From 7c0e4c6640bdc9cd60ac66d96d5d90f4377873db Mon Sep 17 00:00:00 2001
-From: dotlambda <github@dotlambda.de>
-Date: Tue, 21 Oct 2025 20:29:01 -0700
-Subject: [PATCH] fix test_incorrect_public_key_hmac_signing
-
-It used to fail with
-
- TypeError: curve must be an EllipticCurve instance
---- a/tests/algorithms/test_EC.py
-+++ b/tests/algorithms/test_EC.py
-@@ -235,7 +235,7 @@ def test_incorrect_public_key_hmac_signing():
- def b64(x):
- return base64.urlsafe_b64encode(x).replace(b"=", b"")
-
-- KEY = CryptographyEc.generate_private_key(CryptographyEc.SECP256R1)
-+ KEY = CryptographyEc.generate_private_key(CryptographyEc.SECP256R1(), CryptographyEc.SECP256R1)
- PUBKEY = KEY.public_key().public_bytes(
- encoding=serialization.Encoding.OpenSSH,
- format=serialization.PublicFormat.OpenSSH,
diff --git a/dev-python/python-jose/metadata.xml b/dev-python/python-jose/metadata.xml
deleted file mode 100644
index 4a931d06aaaf..000000000000
--- a/dev-python/python-jose/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">mpdavis/python-jose</remote-id>
- <remote-id type="pypi">python-jose</remote-id>
- <bugs-to>https://github.com/mpdavis/python-jose/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/python-jose/python-jose-3.5.0.ebuild b/dev-python/python-jose/python-jose-3.5.0.ebuild
deleted file mode 100644
index 7929185204c2..000000000000
--- a/dev-python/python-jose/python-jose-3.5.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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_{13..14} )
-
-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"
-
-# TODO: require only one crypto backend?
-RDEPEND="
- dev-python/cryptography[${PYTHON_USEDEP}]
- dev-python/ecdsa[${PYTHON_USEDEP}]
- >=dev-python/pyasn1-0.5.0[${PYTHON_USEDEP}]
- >=dev-python/pycryptodome-3.3.1[${PYTHON_USEDEP}]
- dev-python/rsa[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
-"
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-distutils_enable_sphinx docs
-
-PATCHES=(
- "${FILESDIR}"/python-jose-3.5.0-test-failure.patch
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # unpin dependencies
- sed -i -e 's:, <[0-9.]*::' setup.cfg || die
-}
-
-python_test() {
- # bug #723616
- epytest -o addopts=
-}