1 |
commit: 510bcc8b043df12b8f3567026e6e4671dcb0dd3a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 08:42:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 08:48:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=510bcc8b |
7 |
|
8 |
dev-python/k5test: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/k5test/Manifest | 2 -- |
13 |
dev-python/k5test/files/k5test-0.10.1-which.patch | 41 ----------------------- |
14 |
dev-python/k5test/k5test-0.10.1-r2.ebuild | 24 ------------- |
15 |
dev-python/k5test/k5test-0.10.2.ebuild | 20 ----------- |
16 |
4 files changed, 87 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/k5test/Manifest b/dev-python/k5test/Manifest |
19 |
index 81ed129f2183..6376de936aa0 100644 |
20 |
--- a/dev-python/k5test/Manifest |
21 |
+++ b/dev-python/k5test/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST k5test-0.10.1.tar.gz 13664 BLAKE2B 4be24a8c9b154f5ec7b83b6743d0f756cb813bdfe4496c6f8ed873a2fc5a725c17b34f7b243d106d7a985aa53351f9bdc354fabba6a8c5fa3d25927513441cb4 SHA512 eaf451f0a932fdb8758f23e17ec52b2c1617074f186dddfba1d9c6844291fb2f4b003e05f4a0e02ce1bae37ee4251ea8295d2ebc8d9002c83d3179000fa4785e |
24 |
-DIST k5test-0.10.2.tar.gz 13579 BLAKE2B 74ee10525a091bb67685ee765e74542f87935843f2693d579907f6f95f2fbd1b9ad1e485e5360d1b3c7ac6cdb7fce4b1515b93eba99008c43c857c6133d7d7f2 SHA512 4f01297179a8ededcde7d2f4128fe68a48567fff5cffd6e8f8fc1e8e0717acd5c6a05b7b5944baf5189bb58e67eaa553ca014d00e53ccdc834dca364d460520f |
25 |
DIST k5test-0.10.3.tar.gz 13580 BLAKE2B dd2775494de32b3eec92d387a2c907a82c4858c169f286152eb79ea16c5ad1e89b21df840a727df07e879583f6e3006687e339f876456be5628134fa2fdefea3 SHA512 8c07677fbed5189d4ef905d6b201470871eab96700318194527514e7d841a8ec2c28c4f5139dbb2d7fe9be0db4046656d0b3f69ace86c1bbbd3886096adb5792 |
26 |
|
27 |
diff --git a/dev-python/k5test/files/k5test-0.10.1-which.patch b/dev-python/k5test/files/k5test-0.10.1-which.patch |
28 |
deleted file mode 100644 |
29 |
index c5a72b5dc091..000000000000 |
30 |
--- a/dev-python/k5test/files/k5test-0.10.1-which.patch |
31 |
+++ /dev/null |
32 |
@@ -1,41 +0,0 @@ |
33 |
-From cff2138124cb7461fe2b1a270d0c0132e6f66f6b Mon Sep 17 00:00:00 2001 |
34 |
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
35 |
-Date: Wed, 26 Oct 2022 05:31:22 +0200 |
36 |
-Subject: [PATCH] Use built-in shutil.which() instead of which(1) tool |
37 |
- |
38 |
-Use the built-in shutil.which() function that is available since Python |
39 |
-3.3 instead of the external which(1) program. The latter is not part |
40 |
-of POSIX and may be missing entirely (Gentoo is activately working |
41 |
-towards removing it)> |
42 |
---- |
43 |
- k5test/realm.py | 11 ++++------- |
44 |
- 1 file changed, 4 insertions(+), 7 deletions(-) |
45 |
- |
46 |
-diff --git a/k5test/realm.py b/k5test/realm.py |
47 |
-index 8b24141..2260258 100644 |
48 |
---- a/k5test/realm.py |
49 |
-+++ b/k5test/realm.py |
50 |
-@@ -68,16 +68,13 @@ def _cfg_merge(cfg1, cfg2): |
51 |
- |
52 |
- |
53 |
- def _discover_path(name, default, paths): |
54 |
-- stderr_out = subprocess.DEVNULL |
55 |
-- try: |
56 |
-- path = subprocess.check_output(["which", name], stderr=stderr_out).strip() |
57 |
-- path = path.decode(sys.getfilesystemencoding() or sys.getdefaultencoding()) |
58 |
-+ path = shutil.which(name) |
59 |
-+ if path is not None: |
60 |
- _LOG.debug(f"Using discovered path for {name} ({path})") |
61 |
-- return path |
62 |
-- except subprocess.CalledProcessError as e: |
63 |
-+ else: |
64 |
- path = paths.get(name, default) |
65 |
- _LOG.debug(f"Using default path for {name} ({path}): {e}") |
66 |
-- return path |
67 |
-+ return path |
68 |
- |
69 |
- |
70 |
- class K5Realm(metaclass=abc.ABCMeta): |
71 |
--- |
72 |
-2.38.1 |
73 |
- |
74 |
|
75 |
diff --git a/dev-python/k5test/k5test-0.10.1-r2.ebuild b/dev-python/k5test/k5test-0.10.1-r2.ebuild |
76 |
deleted file mode 100644 |
77 |
index aa48a24cd102..000000000000 |
78 |
--- a/dev-python/k5test/k5test-0.10.1-r2.ebuild |
79 |
+++ /dev/null |
80 |
@@ -1,24 +0,0 @@ |
81 |
-# Copyright 2021-2022 Gentoo Authors |
82 |
-# Distributed under the terms of the GNU General Public License v2 |
83 |
- |
84 |
-EAPI=8 |
85 |
- |
86 |
-DISTUTILS_USE_PEP517=setuptools |
87 |
-PYTHON_COMPAT=( python3_{8..11} ) |
88 |
- |
89 |
-inherit distutils-r1 |
90 |
- |
91 |
-DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" |
92 |
-HOMEPAGE=" |
93 |
- https://github.com/pythongssapi/k5test/ |
94 |
- https://pypi.org/project/k5test/ |
95 |
-" |
96 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
97 |
- |
98 |
-LICENSE="MIT" |
99 |
-SLOT="0" |
100 |
-KEYWORDS="amd64 ~arm arm64 ~riscv x86" |
101 |
- |
102 |
-PATCHES=( |
103 |
- "${FILESDIR}"/${P}-which.patch |
104 |
-) |
105 |
|
106 |
diff --git a/dev-python/k5test/k5test-0.10.2.ebuild b/dev-python/k5test/k5test-0.10.2.ebuild |
107 |
deleted file mode 100644 |
108 |
index c8ee7bd62dd7..000000000000 |
109 |
--- a/dev-python/k5test/k5test-0.10.2.ebuild |
110 |
+++ /dev/null |
111 |
@@ -1,20 +0,0 @@ |
112 |
-# Copyright 2021-2022 Gentoo Authors |
113 |
-# Distributed under the terms of the GNU General Public License v2 |
114 |
- |
115 |
-EAPI=8 |
116 |
- |
117 |
-DISTUTILS_USE_PEP517=setuptools |
118 |
-PYTHON_COMPAT=( python3_{8..11} ) |
119 |
- |
120 |
-inherit distutils-r1 |
121 |
- |
122 |
-DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" |
123 |
-HOMEPAGE=" |
124 |
- https://github.com/pythongssapi/k5test/ |
125 |
- https://pypi.org/project/k5test/ |
126 |
-" |
127 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
128 |
- |
129 |
-LICENSE="MIT" |
130 |
-SLOT="0" |
131 |
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |