dev-python/psutil: add 6.0.0-r1 from main repo's archive

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-18 13:09:06 +01:00
parent 4b22960f55
commit d684305a2d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 52 additions and 2 deletions

View File

@ -606,14 +606,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2338 Ebuilds in total, 2324 of them have in total 2364 (43 different) licenses assigned.
There are 2339 Ebuilds in total, 2325 of them have in total 2365 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1330|
|Apache-2.0|552|
|GPL-3|145|
|BSD|123|
|BSD|124|
|GPL-2|26|
|LGPL-3|23|
|BSD-2|19|

View File

@ -1,5 +1,8 @@
AUX psutil-5.9.0-tests.patch 12930 BLAKE2B 486e8b5316cda0aa7b03f803a76d800a6c40fe1188de1dcf334710fc4e1a53b759759956af0397ccd2afe75cb476b76f0b84675b517b74505b0889e512a593a7 SHA512 b9b67f5adfcd64693e5492ed6c03c0af8faf926a4091c0728e5f409bc3d8bcc1bf7eea76168bda5c6b4b9d69a850597cf26f5b87a4d0f1abdbd60cafcdf3104e
AUX psutil-5.9.1-tests-r2.patch 13840 BLAKE2B 572206cfee9493577215f5b9d1a0b39b38fe0d389d2074a743b26f3eb06c88b2325c6f4558ea7acde3a258becb4163ec9212058ab03913c3b48a427449541f6c SHA512 2ca5e401a9ad0c30829e31e827cc5810de3a1c10010f0d8fd8ddf30465583f35741d03b684dfda42f7990127e89790971683d382d58e5fceea5022e460c87c9e
DIST psutil-5.9.2.tar.gz 479757 BLAKE2B 3f8b4bb2977618a9e567e335a0ecb4f28ca70f126a447e1492423de397c1d5d66c5007eba8ea134d8804204ef86915dd4f6163a257d55bcd0786d6dc4e06bfd9 SHA512 431c0209e9a27176ea570699b3e23a88fccaded4bfbad9cd9c02e110c00eb613bdefae447b4b967e6cadc3291d0d4404e4525de5ee3d7f7f9ae26c7876bff8b4
DIST psutil-6.0.0-tests.patch.xz 3748 BLAKE2B 6e78418de8ee052e7e9f5d6bc74b8fc79e5216ed4d5fa8eb89532b19298955c388e158770b4af7b42fddc2a03b292e6d8ce9ed98c441179fb7c4a640014f2112 SHA512 3947337dbdddc29c85697d6140fc0fdcfb2b5ce7d84438e5763ad240ccd954e97fbf5dabf03ca17e959273a2c11794a41b2293434e85d2fe4d38d696c7de3900
DIST psutil-6.0.0.tar.gz 508067 BLAKE2B a4c80d1cead17ab73c99a25c4e1712cc2dd0b4220521d8dacafb905ab27393c49a8ee20790a89ebfc6c1d53779e98fe126c50f9299db1ab9a9c3df6d0a99ec48 SHA512 78ef1abe109c985ad3dd3865de5b4a7682fbad0085e5ca5bc1f2f90f03853775554b6c810cd54543cb7a1238efe345b3dcc9f5191270e03bc6a2f4088dd007ba
EBUILD psutil-5.9.2.ebuild 994 BLAKE2B 551da56ed80f286990d94c4b323ba44b0a9d3cc31cd0568b96b8087078316d8c0ea7fc11151416c5e05e25c44ea2702688e10cc4ab181423bed79b55ebe1f7f2 SHA512 661deaaa0d99cc806d217a2649122f2c89d94e767b6356d064567f0372c10b08f228fd9880cab4b972db5f13ef3cc6da1525e627289aa0c0cfe77d5014d98b6f
EBUILD psutil-6.0.0-r1.ebuild 1206 BLAKE2B fc0adabc31ab168c5db19eed87421d987250bd8f65f8901d933b7c8816b2a3c1dc8a7b6cd81771f45d19d042c917830e33420ee4c30c8587f9029b1b81a55c5e SHA512 337b59f975f9ce7b73c6889a5cd2d61452b667691c39cc26917d0b6095395d8599436e872a95b2bc748de022acefe17a2bb3a20d05a58b6572bb9fc874b07b70
MISC metadata.xml 511 BLAKE2B 75e030ceb76d771841f17d20ed25d37d7be6dcfe68bcc2193b689cdbb6a91afa735140b239445eeb11d6105fef11c449ce64eb7e7785876c3b4ef3263a4a42ae SHA512 8c7dc707778e541627ad9c433d5330a20f2bc7d776f3263fb3f05e32ab6198ed3885e89e82784d6f7cfd43b6d724326e86e9b21563eca9abdf30ff8999c75e99

View File

@ -0,0 +1,47 @@
# Copyright 1999-2024 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..13} python3_13t pypy3 )
inherit distutils-r1 pypi
TEST_PATCH=psutil-6.0.0-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 ~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
}