From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84E27158090 for ; Fri, 20 May 2022 23:16:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C044E08BB; Fri, 20 May 2022 23:16:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EF33E089C for ; Fri, 20 May 2022 23:16:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 031F934148E for ; Fri, 20 May 2022 23:16:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FB603BF for ; Fri, 20 May 2022 23:16:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1653088556.c7a4cadda068185864ad2ad98db619bcb362993f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/psutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/psutil/Manifest dev-python/psutil/psutil-5.9.1.ebuild X-VCS-Directories: dev-python/psutil/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c7a4cadda068185864ad2ad98db619bcb362993f X-VCS-Branch: master Date: Fri, 20 May 2022 23:16:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ea959ed7-3cc1-40ba-b89c-11a03367e899 X-Archives-Hash: 4ff43f7eed1e311253d77eb2c47a47e0 commit: c7a4cadda068185864ad2ad98db619bcb362993f Author: Sam James gentoo org> AuthorDate: Fri May 20 22:18:01 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 20 23:15:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a4cadd dev-python/psutil: add 5.9.1 Signed-off-by: Sam James gentoo.org> dev-python/psutil/Manifest | 2 ++ dev-python/psutil/psutil-5.9.1.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index 558b4186bfca..06022c933547 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1 +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.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 new file mode 100644 index 000000000000..8e9641dbd86a --- /dev/null +++ b/dev-python/psutil/psutil-5.9.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-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} pypy3 ) + +inherit distutils-r1 + +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+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.9.1-tests.patch.xz )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${WORKDIR}"/${PN}-5.9.1-tests.patch +) + +python_test() { + # Since we are running in an environment a bit similar to CI, + # let's skip the tests that are disabled for CI + local -x TRAVIS=1 + local -x APPVEYOR=1 + local -x GITHUB_ACTIONS=1 + local -x GENTOO_TESTING=1 + "${EPYTHON}" psutil/tests/runner.py || + die "tests failed with ${EPYTHON}" +} + +python_compile() { + # Force -j1 to avoid .o linking race conditions + local MAKEOPTS=-j1 + distutils-r1_python_compile +}