commit:     aa4602a4c6667a7ef8690d053059eb05ddfee52c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 09:52:48 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 09:57:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4602a4

dev-python/psutil: Skip more unreliable tests

Closes: https://bugs.gentoo.org/853667
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/psutil/Manifest            | 2 +-
 dev-python/psutil/psutil-5.9.1.ebuild | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest
index 06022c933547..cbdc36c11b5e 100644
--- a/dev-python/psutil/Manifest
+++ b/dev-python/psutil/Manifest
@@ -1,3 +1,3 @@
 DIST psutil-5.9.0.tar.gz 478322 BLAKE2B 
763c8ae14ae546bed64a360047d2ce38783e9e7e939160f751c4ccc94b8e023aaa4cdca426f584e05dae8b1326333660e216d7cb3edd820e24a931dddfa5160f
 SHA512 
b521cfce51e90fdf87ba19bf8069877e3210aede92c17460ea0b00324a36e133168e4bff550462d07ab6d93c597c6560d68954340031ff43168d54a8e5d4c4e7
-DIST psutil-5.9.1-tests.patch.xz 3144 BLAKE2B 
8980505d76265fbe20556fcec491096fd5e74031a2f1a4bff841837efda93ee240efe23772ffdea526513544ba5c56f37e72be5448759e817c3dc5f4b1abd4c5
 SHA512 
a0ebbcba6f99293df9c2222b73e994abe1cbb423e707b15f9bcde13a0026a19e023166c830a3d017905385efb838ad892ffbc1b994df99ce54fa03a20e649f41
+DIST psutil-5.9.1-tests-r2.patch.xz 3516 BLAKE2B 
6a16d6f89fdeb06c7aa0d9d986eba84deae5f8d2bb829c2509744f954f9b274d8a70a00f94127f1880cea71f8d7e7b85097517f8516ee6ef14f17522ee9297b2
 SHA512 
b69efb32cd0229056ff9fbbde963f0f01f6bf1d0820f028527f464e38a9bd4211a55bd725cc8962a20608c12c28edb24b2063f5f58b53fdb6b001fe2f95da103
 DIST psutil-5.9.1.tar.gz 479090 BLAKE2B 
88f35a9134d942fa56b5fbc79753e82245c3bfdb1f640dbf3b56815b89d872517f9ee3a3945532ebd1a399c3307e160ac80394766c3b2cc7e3fb36ffdd555eef
 SHA512 
1ddb119a10243d17d808417817ec8659d22447f12a4bbc0366c13f6587a4b0b59f4e74f6ac5d1e1a908bb5fd287be630466d32beabcb5008f6a19c24a1557c27

diff --git a/dev-python/psutil/psutil-5.9.1.ebuild 
b/dev-python/psutil/psutil-5.9.1.ebuild
index 1ff6ebd31b18..facfe5bc1aa2 100644
--- a/dev-python/psutil/psutil-5.9.1.ebuild
+++ b/dev-python/psutil/psutil-5.9.1.ebuild
@@ -8,10 +8,13 @@ PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 
+TEST_PATCH=psutil-5.9.1-tests-r2.patch
 DESCRIPTION="Retrieve information on running processes and system utilization"
 HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.org/project/psutil/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.9.1-tests.patch.xz";
+SRC_URI="
+       mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+       https://dev.gentoo.org/~mgorny/dist/${TEST_PATCH}.xz
+"
 
 LICENSE="BSD"
 SLOT="0"
@@ -20,7 +23,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 PATCHES=(
-       "${WORKDIR}"/${PN}-5.9.1-tests.patch
+       "${WORKDIR}/${TEST_PATCH}"
 )
 
 python_test() {

Reply via email to