From f8730c9e91ed2ce341e231c5adffb5f003f77678 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Dec 2023 07:50:03 +0000 Subject: gentoo auto-resync : 18:12:2023 - 07:50:03 --- dev-python/psutil/Manifest | 2 ++ dev-python/psutil/psutil-5.9.7.ebuild | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/psutil/psutil-5.9.7.ebuild (limited to 'dev-python/psutil') diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index 767ae7192bbf..142454a5a9c1 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -2,6 +2,8 @@ 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 EBUILD psutil-5.9.5.ebuild 1214 BLAKE2B e07f08a9d5da23918068ecb901c4158caeeee8c53964c1a352ff2d142a6f6d945d97aa856bfe09789ede558beebb3ea573c133800c4b6439104397c1f5c0eaeb SHA512 99a21371ba39bf2e0d0b4e31bc5f8266ebee1239cba1b70727b7e316ede0273357e47245b2f517cf29023cd06dce843747e643d63274bb2c2ab6c50651b4f7d0 EBUILD psutil-5.9.6.ebuild 1195 BLAKE2B ecdc910b29c7ff8c452d33a168cec80b95cd53d25363e30d686cfb16237c261d25f10b904e97c5b301ffd4b96a05919928dab47ba092b8376ad99cada9a618b0 SHA512 6037f3c88a4f1e69e367b4f1aedaee2f8bab594c2ef4dd04b290dccea6e20a98a5f7fd3a0f03c8d17ff695c470bd437dc68efd950b8b900bc69f01edefaa8e73 +EBUILD psutil-5.9.7.ebuild 1200 BLAKE2B d69a697713c7ee01bbde675fd8864f16fcf3c05deb7376399b3bc3ec991edcd02a3bf9c1c63c3fa1842bb4c7aba4bd34808b066c60ba12dfa2eb0ea421e210cb SHA512 d2b45b27fea511fd29c846499aec4568af20b0ff9c2981618d6e2420819a5d5cbca4e4d81ebe9763357401174bb9fff32b243ea5f97f4fc7c9475a74c71a602d MISC metadata.xml 378 BLAKE2B 235c056a427ab18383c401143074ec62b91d471087c34e2bd48d5192c6221e089e32170d18cd0d69d51eb2bb02fb8a0efe59245af9224b284557812b32c341b5 SHA512 96492308dac753fb176e4810efa71757e66413d16589e52a942b02c91256b48f9873b53a698006923aef12aa7d1539d6fd7aa07632c073b6a92cc8920f6ce6c0 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 +} -- cgit v1.2.3