Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/psutil/
Date: Sun, 25 Oct 2020 06:04:31
Message-Id: 1603605862.a3e6922ba68bc078193f2a1bbe2ce5c1e6863799.mgorny@gentoo
1 commit: a3e6922ba68bc078193f2a1bbe2ce5c1e6863799
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 25 05:52:26 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 06:04:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e6922b
7
8 dev-python/psutil: Bump to 5.7.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/psutil/Manifest | 1 +
13 dev-python/psutil/psutil-5.7.3.ebuild | 39 +++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest
17 index 431df4c9d06..7dc9e562e7b 100644
18 --- a/dev-python/psutil/Manifest
19 +++ b/dev-python/psutil/Manifest
20 @@ -1,2 +1,3 @@
21 DIST psutil-5.7.0.tar.gz 449628 BLAKE2B 3bd07a0a2f95a539910fa1cef92e72d168c3ee7a495c0defd3fad307d96448d81182b7ccc5e4388d6726495a18df26b076e27b3cbf57096a5c3c8326c00f2dea SHA512 8cee64ab396dae79866e961aeabdb9a4174e1339bcd5c0a35f23fee97ca2a61c0cb08f7152d7e0db90c387400c5c6fb3da2dd2124ce9bf97dfffe6f3b4967981
22 DIST psutil-5.7.2.tar.gz 460198 BLAKE2B 203445423ce5e0ef35bbee00a7160a282401108c161efa58febf0e84efeee1b9866e34ceb230bfec1b177a540558f2e0c9a55b1ba4e0b764e494553d9f0a5f7b SHA512 b0c9b6bceffc031b230d656f76eca555e5cd481d8dc70de1c6068ec31f1ffd74314aa35c8e11903901f58c326152128749ff9525064ecca117df258311d27320
23 +DIST psutil-5.7.3.tar.gz 465556 BLAKE2B 6a9f31fcba571f381c1f4c904a9ff65659d13ed64e91df478aa7df4dabb87a35c4fbd9c0491a3d10b9eaf0fdcc8f2407fcf7144e729043eda605dfe6e6f93844 SHA512 8fcff56dd4e4c1b877c09023721e6f562424f7f84ae5304d518976a1e7f21dd026772f1abfc063bdd0857a375bc869f42febde090dc0b65918d1ebf44e3ad71d
24
25 diff --git a/dev-python/psutil/psutil-5.7.3.ebuild b/dev-python/psutil/psutil-5.7.3.ebuild
26 new file mode 100644
27 index 00000000000..315eb8d0e77
28 --- /dev/null
29 +++ b/dev-python/psutil/psutil-5.7.3.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Retrieve information on running processes and system utilization"
40 +HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.org/project/psutil/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +PATCHES=(
50 + "${FILESDIR}/psutil-5.7.2-tests.patch"
51 +)
52 +
53 +python_test() {
54 + if [[ ${EPYTHON} == pypy* ]]; then
55 + ewarn "Not running tests on ${EPYTHON} since they are broken"
56 + return 0
57 + fi
58 +
59 + # since we are running in an environment a bit similar to CI,
60 + # let's skip the tests that are disable for CI
61 + TRAVIS=1 APPVEYOR=1 "${EPYTHON}" psutil/tests/runner.py ||
62 + die "tests failed with ${EPYTHON}"
63 +}
64 +
65 +python_compile() {
66 + # force -j1 to avoid .o linking race conditions
67 + local MAKEOPTS=-j1
68 + distutils-r1_python_compile
69 +}