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 7AF63158015 for ; Mon, 18 Dec 2023 05:18:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBBE42BC016; Mon, 18 Dec 2023 05:18:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 63B5E2BC016 for ; Mon, 18 Dec 2023 05:18:42 +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 8C493335DC2 for ; Mon, 18 Dec 2023 05:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFD35131D for ; Mon, 18 Dec 2023 05:18:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1702876709.557daeb917ef4e2f79d97cf09dd9bf10ebecfaa5.mgorny@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.7.ebuild X-VCS-Directories: dev-python/psutil/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 557daeb917ef4e2f79d97cf09dd9bf10ebecfaa5 X-VCS-Branch: master Date: Mon, 18 Dec 2023 05:18:39 +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: 220d25e5-8ce5-432f-b55d-2532480dde26 X-Archives-Hash: cc6f4c41d39d5156c532607891fa60dc commit: 557daeb917ef4e2f79d97cf09dd9bf10ebecfaa5 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 18 04:08:52 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 18 05:18:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557daeb9 dev-python/psutil: Bump to 5.9.7 Signed-off-by: Michał Górny gentoo.org> dev-python/psutil/Manifest | 1 + dev-python/psutil/psutil-5.9.7.ebuild | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index c3a41d0d1196..c903cd5be408 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -2,3 +2,4 @@ DIST psutil-5.9.5-tests-r2.patch.xz 3776 BLAKE2B ba67e50d22c0ff05c3d31d5bcc1eb91 DIST psutil-5.9.5.tar.gz 493489 BLAKE2B 3db8ce374d9d81dcddc08f03418675318c5e447f9a3347154d025537ba090811926ced822f83ff5fc9239665b091803a30d167465495049569c3c820f7fbb32d SHA512 2afe1bad5359aeac90378faaa609bab855dfcaa58519c939fdadb02e6e2c8157c77f961ac0f90d104626cef3429e1ea2f686e4dc4c9dccf975e3e73e9b08872c DIST psutil-5.9.6-tests.patch.xz 3780 BLAKE2B 002858235e7abf17c1426558cd9f8356cc7f21898f4488409e1cc4c6d76d6a017b8ca9e005e9973cfa890ff461691f5c0225e7c850ee4fde55cb1335d4ceca29 SHA512 1bd544ecd19ce7ff9a5e9f6e747b3f88ba44aabc289af87e3a1204028ebc26373dcdef9a9c5bd6ae13bc8d8d7d43ade41a8be2b14a02925afde1298ca0f9e6be DIST psutil-5.9.6.tar.gz 496866 BLAKE2B 65bd35ff6bcc2cfcb5f75f732a5a6955cb1fb5d889a5827aa2da27268716b10aa1dea23a87ee25aafc54e035927216501ecb98e56c655bfada57616a0d67e189 SHA512 0c363bf998868e450f014d5c5ddc2448986cafcd21309571e067be1c4b49d0e78259a5388094cbf32af7bca12865c5f3692480737f0a5225bbcfb895a9bf81f6 +DIST psutil-5.9.7.tar.gz 498429 BLAKE2B 7fd60e014d55ab1288040b05f3dc058f0b75135fd4e5c0d0c3aa1365f2b3d940d0fa6897adfda12405451ae2bfe9e546da48b3c86838fd415413feb4421ba2af SHA512 b4bb3bf53fb581e992a06d037880aaac74d23be3adfdaf533a0e7e403d7b200e6584799bc5e7eaebd851bee983009e1d2a662a58c635af1466239ac9997ab64f diff --git a/dev-python/psutil/psutil-5.9.7.ebuild b/dev-python/psutil/psutil-5.9.7.ebuild new file mode 100644 index 000000000000..e28e2cda6093 --- /dev/null +++ b/dev-python/psutil/psutil-5.9.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +TEST_PATCH=psutil-5.9.6-tests.patch +DESCRIPTION="Retrieve information on running processes and system utilization" +HOMEPAGE=" + https://github.com/giampaolo/psutil/ + https://pypi.org/project/psutil/ +" +SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${TEST_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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${WORKDIR}/${TEST_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 +}