summaryrefslogtreecommitdiff
path: root/dev-python/pyudev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
commite4d9d6796d5018e338f0b27a3bc97716195bf0b8 (patch)
tree38d56da69a3b5d5ccc7d73796d38469f5d4e610c /dev-python/pyudev
parent38efae7f3eb932ed41510139679efd5c1e2f5eda (diff)
gentoo auto-resync : 05:01:2025 - 06:31:57
Diffstat (limited to 'dev-python/pyudev')
-rw-r--r--dev-python/pyudev/Manifest4
-rw-r--r--dev-python/pyudev/pyudev-0.24.1.ebuild52
-rw-r--r--dev-python/pyudev/pyudev-0.24.3.ebuild13
3 files changed, 12 insertions, 57 deletions
diff --git a/dev-python/pyudev/Manifest b/dev-python/pyudev/Manifest
index 382a6bd7f1ef..4dab457caa38 100644
--- a/dev-python/pyudev/Manifest
+++ b/dev-python/pyudev/Manifest
@@ -1,6 +1,4 @@
AUX pyudev-0.24.3-tests.patch 630 BLAKE2B b0199ada00ad1b80550f371834262a9dc9d7870495b13e4ca22c6a1d2b9da2a14b6929bad6da236ea108e088c9a07b4b3a85fcd0225215c16e5bea48f07beb21 SHA512 92000cabaf6c346a601ba34ee7a11e76f3130f392380997730b8a112f7ed7104b656a649ac2366bf9eebf6f03d0effbbad40c516723b125dff962b28b4208533
-DIST pyudev-0.24.1.tar.gz 85963 BLAKE2B 86c6d04691c99671735915564f58b4ef892e45925047487500bc7005343db7145941dde270f4ce9279881bd9bbf203965082d54b34b396febff52f387a1c26ac SHA512 10e32d9a74884000fbf8b86bee60530f6e7b936b990e7ae3b76099ace71834602de404721101c1076ef57365622a9a8f4819d57f58508ced09a21b7d50326886
DIST pyudev-0.24.3.gh.tar.gz 80807 BLAKE2B 8b047c1d44f9bbb9ace782b690e0859eb3cdc2c1a994a398513e7cc2288803f8cfcdc227546de22275d47961f880bd76e0dec244e46abf451534f5648682febe SHA512 9075437f6fdba0fc1921e252c0a49e1a5eeed8c5cf598856a32aa9f9fcb8885dc0727258d2965241b2e044acfdf70561d5aa3f1380b84e013afc7cb8dcbfce2b
-EBUILD pyudev-0.24.1.ebuild 1325 BLAKE2B da5127fe00c51965ee938dd7872d9ed570ee1a95ed8b10edba175912c04bf75a1f22ca2290cec2ed205a24c6d71481c25ca3d0cbcb8c956c627d38045da5d4bc SHA512 b1ebd8bbe017e7dee36157824ea4a8c37d1a3312e5bfed3cfe5ae2f1c5574d17666784049891f29849f0ac9fc03e7efd0ffb08aeeb5923013be3985358728269
-EBUILD pyudev-0.24.3.ebuild 2105 BLAKE2B 228e133d06c471585cb80b0d073b8fd2ce2aa4cbd4be9c3c66044082cc221e1af009075f404b2aa0b9fa97b92e1b78b85eb3d951d61de780be544ee28dd7b258 SHA512 0a29b651d8d1e848abc86dc717b883bb54948a474107ee442a978d067fc01460896b704c7794d1b76eca31280ee5db930aa1959d75da1c9ad80dccb716da29ab
+EBUILD pyudev-0.24.3.ebuild 2299 BLAKE2B 7e395720f41baff132d12092192efca176f145b9a9ff02362924816e022bdea3d1c714d2d583082e3e67558b94de2c8589b6aacc15735cf92389e8a0dd7be741 SHA512 1089688c54a8243f90f7b837539372baadbfd18941db81ee8699258965474754923b7627a7fe9c7aec999a414dcdec1b7e58102565220baaee671465c5017731
MISC metadata.xml 705 BLAKE2B 5668637e59e1d434d0a72d0856e7ed614a2f5a3371e3fa4e841f4d516228f8b8a5567bc6a91cb07c8ee1f9c14db76ce238adac5bdab987a810adc2aed994b5a7 SHA512 a73f8225942c597d02ed08d3dc03724858f33cc07a2d9fcde64fe20f5c4263d1b7510e26e6365af120b72e7c8ebb075b7606dde493fe6464db2a585a23ca4b6a
diff --git a/dev-python/pyudev/pyudev-0.24.1.ebuild b/dev-python/pyudev/pyudev-0.24.1.ebuild
deleted file mode 100644
index 3885c94c9f65..000000000000
--- a/dev-python/pyudev/pyudev-0.24.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="Python binding to libudev"
-HOMEPAGE="https://pyudev.readthedocs.io/en/latest/ https://github.com/pyudev/pyudev"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="qt5"
-
-# Known to fail on test system that aren't exactly the same devices as on CI
-RESTRICT="test"
-
-RDEPEND="virtual/udev"
-BDEPEND="
- test? (
- dev-python/docutils[${PYTHON_USEDEP}]
- dev-python/hypothesis[${PYTHON_USEDEP}]
- )
-"
-
-DOCS=( CHANGES.rst README.rst )
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- if use test; then
- ewarn "If your PORTAGE_TMPDIR is longer in length then '/var/tmp/',"
- ewarn "change it to /var/tmp to ensure tests will pass."
- fi
-
- # tests are known to pass then fail on alternate runs
- # tests: fix run_path
- sed -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" \
- -i tests/test_core.py || die
-
- # disable usage of hypothesis timeouts (too short)
- sed -e '/@settings/s/(/(deadline=None,/' -i tests{,/_device_tests}/*.py || die
-
- distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
- optfeature "PyQt5 bindings" "dev-python/pyqt5"
-}
diff --git a/dev-python/pyudev/pyudev-0.24.3.ebuild b/dev-python/pyudev/pyudev-0.24.3.ebuild
index 6ea0c8e65ffd..c0751716b768 100644
--- a/dev-python/pyudev/pyudev-0.24.3.ebuild
+++ b/dev-python/pyudev/pyudev-0.24.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/pyudev/pyudev/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE="qt5"
# Known to fail on test system that aren't exactly the same devices as on CI
@@ -72,6 +72,15 @@ python_test() {
epytest tests
}
+src_test() {
+ local virt=$(systemd-detect-virt 2>/dev/null)
+ if [[ ${virt} == systemd-nspawn ]] ; then
+ ewarn "Skipping tests because in systemd-nspawn container"
+ else
+ distutils-r1_src_test
+ fi
+}
+
pkg_postinst() {
optfeature "PyQt5 bindings" "dev-python/pyqt5"
}