mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/psutil: Bump to 7.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST psutil-7.1.3.tar.gz 489059 BLAKE2B 860fce273fd5f6977eeef3a47c97fbe9500e750fadb2bb7e9d4d8e7859e566202f8436fa5c022005c4d90e84265e50f0bf9b560f749831e6ea6c60fbe2ba8529 SHA512 6c4a4ef94e634a808cce94c143d5f4164d2012dc314091257ba122a7963fa6bf982c4c54ba3b60da6c52535fbe83de19a4e3181e07fde1807ec4acc47eb44621
|
||||
DIST psutil-7.2.0.tar.gz 489863 BLAKE2B ad41b82c50346c58824c2db6d0fbf456b7080c290fc1669f7edd1fe716b3637c44aec6567720ffc463d209e43eef14d1ee2df99850762473e815b045faa78956 SHA512 d90b6198080b0e33cc24906365d825f8583e1c69f202df1de222b57f0e7140be2357df321406447215d0fd7f2f6f0781d2ba7dd0b4f52e9bef2f22bc2e3c3f3f
|
||||
DIST psutil-7.2.1.tar.gz 490253 BLAKE2B 16a9c91a16418931a7dc3dbb25fc8d8b0ad95da107e2abf1dd92cc27ca0b691c9b91d79a6f0fc59842e2bd438932e9403fcdbcf490be1028a9f03e886a7e36f4 SHA512 d9b0b3d55301cb37017875685b4a990c0adaf2f2fb69a2893b4bcd7deeb81a1c141c6ddb1e26c45717f20aa9875cd66b20229d24f7b3687806478cbb4ee83ac5
|
||||
DIST psutil-7.2.2.tar.gz 493740 BLAKE2B 67a9fbf5b5e0f045b8ccbee34b34fe326111a5f4f0c5cb1ce4d8fd96fddc1826079aa2fbc40eee00851f4ea81d463eccb42ba4ed5aa98551b81e4066bec6484d SHA512 2de05c69d152a8582a4d8f1f02233cae5927baaa35f8797e4b0745f33e6b3c7239b9a54b719b0582b0b6c5b4bbc86d2e1e226c3e9854e4e5be9c5e349c704961
|
||||
|
||||
101
dev-python/psutil/psutil-7.2.2.ebuild
Normal file
101
dev-python/psutil/psutil-7.2.2.ebuild
Normal file
@@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2026 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_{11..14} python3_{13,14}t pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="
|
||||
https://github.com/giampaolo/psutil/
|
||||
https://pypi.org/project/psutil/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-subtests )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# hardcoded assumptions about the test environment
|
||||
tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked
|
||||
tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs
|
||||
tests/test_linux.py::TestSystemNetIfAddrs::test_ips
|
||||
tests/test_posix.py::TestProcess::test_nice
|
||||
tests/test_process.py::TestProcess::test_ionice_linux
|
||||
tests/test_system.py::TestDiskAPIs::test_disk_partitions
|
||||
|
||||
# mocking is broken
|
||||
tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0
|
||||
tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail
|
||||
tests/test_linux.py::TestSensorsBattery::test_emulate_no_power
|
||||
tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined
|
||||
|
||||
# doesn't like sandbox injecting itself
|
||||
tests/test_process.py::TestProcess::test_weird_environ
|
||||
|
||||
# extremely flaky
|
||||
tests/test_heap.py::TestHeap::test_mmap_used
|
||||
tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used
|
||||
tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used
|
||||
tests/test_system.py::TestMiscAPIs::test_heap_info
|
||||
|
||||
# nproc --all is broken?
|
||||
tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc
|
||||
|
||||
# broken on some architectures
|
||||
tests/test_linux.py::TestSystemCPUCountCores::test_method_2
|
||||
tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks
|
||||
tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo
|
||||
tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file
|
||||
tests/test_system.py::TestCpuAPIs::test_cpu_freq
|
||||
tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison
|
||||
|
||||
# broken in some setups
|
||||
tests/test_linux.py::TestMisc::test_issue_687
|
||||
tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity
|
||||
tests/test_linux.py::TestSystemCPUStats::test_interrupts
|
||||
tests/test_posix.py::TestProcess::test_cmdline
|
||||
tests/test_posix.py::TestProcess::test_name
|
||||
tests/test_posix.py::TestSystemAPIs::test_users
|
||||
tests/test_process.py::TestProcess::test_memory_maps_lists_lib
|
||||
tests/test_process.py::TestProcess::test_terminal
|
||||
tests/test_unicode.py::TestFSAPIs::test_memory_maps
|
||||
|
||||
# fails on all AT containers
|
||||
tests/test_system.py::TestMiscAPIs::test_users
|
||||
|
||||
# failing without /sys/class/power_supply?
|
||||
tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery
|
||||
tests/test_misc.py::TestMisc::test_serialization
|
||||
|
||||
# tests for calling setup.py, fail over removed psutil dir
|
||||
tests/test_scripts.py
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# requires psleak
|
||||
tests/test_memleaks.py
|
||||
)
|
||||
|
||||
# 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
|
||||
|
||||
rm -rf psutil || die
|
||||
epytest -o addopts=
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
# Force -j1 to avoid .o linking race conditions
|
||||
local MAKEOPTS=-j1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
Reference in New Issue
Block a user