diff options
Diffstat (limited to 'dev-python/k5test')
-rw-r--r-- | dev-python/k5test/Manifest | 7 | ||||
-rw-r--r-- | dev-python/k5test/files/k5test-0.10.1-which.patch | 41 | ||||
-rw-r--r-- | dev-python/k5test/k5test-0.10.1-r2.ebuild | 24 | ||||
-rw-r--r-- | dev-python/k5test/k5test-0.10.2.ebuild | 20 | ||||
-rw-r--r-- | dev-python/k5test/k5test-0.10.3.ebuild | 2 |
5 files changed, 2 insertions, 92 deletions
diff --git a/dev-python/k5test/Manifest b/dev-python/k5test/Manifest index 04c0693f2914..f30501d678b5 100644 --- a/dev-python/k5test/Manifest +++ b/dev-python/k5test/Manifest @@ -1,8 +1,3 @@ -AUX k5test-0.10.1-which.patch 1399 BLAKE2B 0ddd4f99103c94c4e73eb3be54c1844206b366e99bcc1a026ee6981fb1a02f09e98061ee79a03dff91f8fba16945141cb64025b1416f4ded03c1d672768d4b88 SHA512 fd699ffe140a90a961a18b1df30eec08b7fb4d4ade24a23d5d6586bd76dbc15e4c2b5a9b342346d81eab0d7d3bcbae9a62489423de641c26414cc964c9586009 -DIST k5test-0.10.1.tar.gz 13664 BLAKE2B 4be24a8c9b154f5ec7b83b6743d0f756cb813bdfe4496c6f8ed873a2fc5a725c17b34f7b243d106d7a985aa53351f9bdc354fabba6a8c5fa3d25927513441cb4 SHA512 eaf451f0a932fdb8758f23e17ec52b2c1617074f186dddfba1d9c6844291fb2f4b003e05f4a0e02ce1bae37ee4251ea8295d2ebc8d9002c83d3179000fa4785e -DIST k5test-0.10.2.tar.gz 13579 BLAKE2B 74ee10525a091bb67685ee765e74542f87935843f2693d579907f6f95f2fbd1b9ad1e485e5360d1b3c7ac6cdb7fce4b1515b93eba99008c43c857c6133d7d7f2 SHA512 4f01297179a8ededcde7d2f4128fe68a48567fff5cffd6e8f8fc1e8e0717acd5c6a05b7b5944baf5189bb58e67eaa553ca014d00e53ccdc834dca364d460520f DIST k5test-0.10.3.tar.gz 13580 BLAKE2B dd2775494de32b3eec92d387a2c907a82c4858c169f286152eb79ea16c5ad1e89b21df840a727df07e879583f6e3006687e339f876456be5628134fa2fdefea3 SHA512 8c07677fbed5189d4ef905d6b201470871eab96700318194527514e7d841a8ec2c28c4f5139dbb2d7fe9be0db4046656d0b3f69ace86c1bbbd3886096adb5792 -EBUILD k5test-0.10.1-r2.ebuild 530 BLAKE2B a4c87827876715a4135958971a8c5dd6c572cfaa9dea1a2e38023602d5840a5977ff7311f37300f367651d486d507331383f7bb92c2b214e1b31f8cac500a81d SHA512 fcc787ef30afae89d07e4fe4776b36bb641ce4e2e3e88decd48db4890221862021f4038862f71d10c04e96f6ff150e9f5c778a439ab178563567f37524c0bb62 -EBUILD k5test-0.10.2.ebuild 488 BLAKE2B 9b8e6ea483368195d154585a4c0db9b04b43f82b1520dbe68afa271371f705547f81f333bd26921e8b77830a0dfc5ba2c6ee757a9ac77acc1b194598c35cc3ef SHA512 66cb15696e1a271bd69d7bca34049c90a68fd42cc6ccec31cf2955117677fe8ddebf091b60e6ea0671b4b34347d08337985cae5fbadf933f0007784fe3a31b84 -EBUILD k5test-0.10.3.ebuild 488 BLAKE2B 9b8e6ea483368195d154585a4c0db9b04b43f82b1520dbe68afa271371f705547f81f333bd26921e8b77830a0dfc5ba2c6ee757a9ac77acc1b194598c35cc3ef SHA512 66cb15696e1a271bd69d7bca34049c90a68fd42cc6ccec31cf2955117677fe8ddebf091b60e6ea0671b4b34347d08337985cae5fbadf933f0007784fe3a31b84 +EBUILD k5test-0.10.3.ebuild 485 BLAKE2B 5b02da091995a4853382f5757a707ed7a41841f1cc36c5b8381336d2ff8b3eb034313a3271d94bd230a193b453344e85ff5365dcc26f3a0a7439ff4f497d20fe SHA512 a1e9b722ba2233afd31f47929039dba6c3020f8156351046ffe7afbafd81d0aba50211c0e3bc6b2628b92bae3ef1bbf0208c97ebf6dc1e679fc9451f0980a701 MISC metadata.xml 393 BLAKE2B dc1fec37db82ae2baa97fe324533b9105879142442ac6072b20721dc5233981d726fa56dbefaa0d51b85917ba64110395c2f7c57a9d8e88cb8ecb5bd9d116996 SHA512 b8dd2d38e1d2d95d9fac8a77be33973457a64afc771f3122f161db721b2b1ed71a9e569e498bd85494e498dba340e9a7d3137ea1c239d9ba8d8c19332ebfb1be diff --git a/dev-python/k5test/files/k5test-0.10.1-which.patch b/dev-python/k5test/files/k5test-0.10.1-which.patch deleted file mode 100644 index c5a72b5dc091..000000000000 --- a/dev-python/k5test/files/k5test-0.10.1-which.patch +++ /dev/null @@ -1,41 +0,0 @@ -From cff2138124cb7461fe2b1a270d0c0132e6f66f6b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 26 Oct 2022 05:31:22 +0200 -Subject: [PATCH] Use built-in shutil.which() instead of which(1) tool - -Use the built-in shutil.which() function that is available since Python -3.3 instead of the external which(1) program. The latter is not part -of POSIX and may be missing entirely (Gentoo is activately working -towards removing it)> ---- - k5test/realm.py | 11 ++++------- - 1 file changed, 4 insertions(+), 7 deletions(-) - -diff --git a/k5test/realm.py b/k5test/realm.py -index 8b24141..2260258 100644 ---- a/k5test/realm.py -+++ b/k5test/realm.py -@@ -68,16 +68,13 @@ def _cfg_merge(cfg1, cfg2): - - - def _discover_path(name, default, paths): -- stderr_out = subprocess.DEVNULL -- try: -- path = subprocess.check_output(["which", name], stderr=stderr_out).strip() -- path = path.decode(sys.getfilesystemencoding() or sys.getdefaultencoding()) -+ path = shutil.which(name) -+ if path is not None: - _LOG.debug(f"Using discovered path for {name} ({path})") -- return path -- except subprocess.CalledProcessError as e: -+ else: - path = paths.get(name, default) - _LOG.debug(f"Using default path for {name} ({path}): {e}") -- return path -+ return path - - - class K5Realm(metaclass=abc.ABCMeta): --- -2.38.1 - diff --git a/dev-python/k5test/k5test-0.10.1-r2.ebuild b/dev-python/k5test/k5test-0.10.1-r2.ebuild deleted file mode 100644 index aa48a24cd102..000000000000 --- a/dev-python/k5test/k5test-0.10.1-r2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" -HOMEPAGE=" - https://github.com/pythongssapi/k5test/ - https://pypi.org/project/k5test/ -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -PATCHES=( - "${FILESDIR}"/${P}-which.patch -) diff --git a/dev-python/k5test/k5test-0.10.2.ebuild b/dev-python/k5test/k5test-0.10.2.ebuild deleted file mode 100644 index c8ee7bd62dd7..000000000000 --- a/dev-python/k5test/k5test-0.10.2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" -HOMEPAGE=" - https://github.com/pythongssapi/k5test/ - https://pypi.org/project/k5test/ -" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" diff --git a/dev-python/k5test/k5test-0.10.3.ebuild b/dev-python/k5test/k5test-0.10.3.ebuild index c8ee7bd62dd7..5a0afae62bcc 100644 --- a/dev-python/k5test/k5test-0.10.3.ebuild +++ b/dev-python/k5test/k5test-0.10.3.ebuild @@ -17,4 +17,4 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" |