1 |
commit: 6d641fbab5204bf6d49798f65465b71477eea911 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 11:20:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 11:20:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d641fba |
7 |
|
8 |
dev-python/keyring: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/keyring/Manifest | 1 - |
13 |
dev-python/keyring/keyring-19.2.0.ebuild | 57 -------------------------------- |
14 |
2 files changed, 58 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/keyring/Manifest b/dev-python/keyring/Manifest |
17 |
index 0c5d7675ef4..ddf875dc99e 100644 |
18 |
--- a/dev-python/keyring/Manifest |
19 |
+++ b/dev-python/keyring/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST keyring-19.2.0.tar.gz 41728 BLAKE2B 24a8f095f4009f37fa6d5e7bc2b12be816a5db2abfa4416fc18203a818296c775fe34a2936a71b191700ad511e01059974aec374aea5ee312507a27bd8be76b8 SHA512 5104423289b9e537e64760afed38e5851766b9c955c0659b078cdaba82813e93922e488b5465157cb930285416feef07c0b559fc49909f58bc85b6f30d55dd75 |
22 |
DIST keyring-19.3.0.tar.gz 43587 BLAKE2B a1003aa55ac48f39e84431c50fe3e24e1da76a0db177eed08bd2c2110b78d10cbfcf7188519435732be68452a0318119cca1563168410b16fc529a3a7e98125c SHA512 b1d26f665203b11712ef91057ecd78cce58b35038b259605c42997283f6c41449baf242ecf43510b29598559b8aecf733eb66be6e0c439564256f40eb0f6982c |
23 |
|
24 |
diff --git a/dev-python/keyring/keyring-19.2.0.ebuild b/dev-python/keyring/keyring-19.2.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index b3e081b63d4..00000000000 |
27 |
--- a/dev-python/keyring/keyring-19.2.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,57 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( pypy3 python3_{6,7} ) |
36 |
- |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="Provides access to the system keyring service" |
40 |
-HOMEPAGE="https://github.com/jaraco/keyring" |
41 |
-SRC_URI="https://github.com/jaraco/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
- |
43 |
-SLOT="0" |
44 |
-LICENSE="PSF-2" |
45 |
-KEYWORDS="amd64 ~arm ~arm64 x86" |
46 |
-IUSE="doc test" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- dev-python/secretstorage[${PYTHON_USEDEP}] |
50 |
- dev-python/entrypoints[${PYTHON_USEDEP}] |
51 |
-" |
52 |
-BDEPEND=" |
53 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
- test? ( ${RDEPEND} ) |
55 |
-" |
56 |
- |
57 |
-RESTRICT="!test? ( test )" |
58 |
- |
59 |
-PATCHES=( |
60 |
- "${FILESDIR}/keyring-19.1.0-tests.patch" |
61 |
-) |
62 |
- |
63 |
-distutils_enable_tests pytest |
64 |
-distutils_enable_sphinx docs \ |
65 |
- dev-python/jaraco-packaging dev-python/rst-linker |
66 |
- |
67 |
-python_prepare_all() { |
68 |
- # avoid a setuptools_scm dependency |
69 |
- sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die |
70 |
- sed -r -i "s:setuptools(_|-)scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \ |
71 |
- setup.cfg || die |
72 |
- |
73 |
- # avoid other deps |
74 |
- sed -i -r "$(printf -- 's:[[:space:]]*--%s::;' --doctest-modules --flake8 --black --cov)" \ |
75 |
- pytest.ini || die |
76 |
- |
77 |
- distutils-r1_python_prepare_all |
78 |
-} |
79 |
- |
80 |
-python_test() { |
81 |
- # Override pytest options to skip flake8 |
82 |
- # Skip an interactive test |
83 |
- pytest -vv --override-ini="addopts=--doctest-modules" \ |
84 |
- --ignore ${PN}/tests/backends/test_kwallet.py \ |
85 |
- || die "testsuite failed under ${EPYTHON}" |
86 |
-} |