dev-python/rsa: drop 4.8-r2

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2022-08-21 21:57:49 +03:00
parent f4399ef94b
commit 79072333f1
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
3 changed files with 0 additions and 68 deletions

View File

@ -1,2 +1 @@
DIST python-rsa-version-4.8.gh.tar.gz 73634 BLAKE2B 55f25b6747f4f0bad12cbbb75c6e6fdbe6f913265866f11430644b46f9d3a2f615e6ed460d04cc732cfe29f0a4e47b14f2581f29d523b3018272ef976a6a04aa SHA512 d65e5d3c902508f4ea7424099471cd68568b052b9647a87ceb155ecc444ba6a8bd0ebef6fe1bf38720a19193cd494a8b64f744cca5812d1a3bec28f3fa3a9a3d
DIST python-rsa-version-4.9.gh.tar.gz 59238 BLAKE2B 077679131fcd29a0f396ad9db45db9a6891be45afe96a328f66191d747f10d36a3248b0929d5c8270ff32a39d08a9c15d80973ba3af83f7368e792cf003f186a SHA512 0b49c1e5ffb6235ccb9e34c81ad717276c04956e21dd54c08b5cae7dd28ecc115235b2793c8bfc2fbb46a260e574d35cab23729567efeee108b79544793e60ad

View File

@ -1,28 +0,0 @@
https://github.com/sybrenstuvel/python-rsa/commit/3031bf5c6ae64083431e849903b0104d2cfae893
https://bugs.gentoo.org/859175
From 3031bf5c6ae64083431e849903b0104d2cfae893 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Thu, 27 Jan 2022 10:26:23 +0100
Subject: [PATCH] Do not include arbitrary files in wheel
Fix the include key to apply to sdist format only. Otherwise, the
listed files are added to the top directory of wheel as well and end up
being installed in top-level site-packages directory, e.g.:
* FILES:+usr/lib/python3.9/site-packages/CHANGELOG.md
* FILES:+usr/lib/python3.9/site-packages/LICENSE
* FILES:+usr/lib/python3.9/site-packages/README.md
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,7 +26,9 @@ classifiers = [
"Topic :: Security :: Cryptography",
]
include = [
- "LICENSE", "README.md", "CHANGELOG.md",
+ { path = "LICENSE", format = "sdist" },
+ { path = "README.md", format = "sdist" },
+ { path = "CHANGELOG.md", format = "sdist" },
]
[tool.poetry.dependencies]

View File

@ -1,39 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
MY_P=python-rsa-version-${PV}
DESCRIPTION="Pure-Python RSA implementation"
HOMEPAGE="
https://stuvel.eu/rsa/
https://github.com/sybrenstuvel/python-rsa/
https://pypi.org/project/rsa/
"
SRC_URI="
https://github.com/sybrenstuvel/python-rsa/archive/version-${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv sparc x86"
RDEPEND="
>=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/${P}-includes.patch" )
distutils_enable_tests unittest
src_prepare() {
rm tests/test_mypy.py || die
distutils-r1_src_prepare
}