diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-29 12:00:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-29 12:00:47 +0100 |
commit | adcf4f8116a4a850dae301fb4dbcd7b71cb35975 (patch) | |
tree | 41af0dd08b04c7d619cdfed205b03ff2cc201b26 /sys-kernel | |
parent | 7166f3a0a0b7886d340010458d0b130013cb9989 (diff) |
gentoo auto-resync : 29:08:2024 - 12:00:47
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4908 -> 4905 bytes | |||
-rw-r--r-- | sys-kernel/ugrd/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/ugrd/ugrd-1.19.2.ebuild (renamed from sys-kernel/ugrd/ugrd-1.16.0.ebuild) | 30 | ||||
-rw-r--r-- | sys-kernel/ugrd/ugrd-9999.ebuild | 26 |
4 files changed, 57 insertions, 5 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 186ee6b0cab0..61fc9dfa10b5 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index 9ce7afc7753d..ed9d29916a19 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1,8 +1,8 @@ DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6 -DIST ugrd-1.16.0.tar.gz 66050 BLAKE2B 50417d15a50f3e6da2609d61f4a88f4bafe76d02f82ce4a8f8b152e311a68543956c30487a7caee769c8da2a266d9266377a798b6577f4b3d54164acb55f20fc SHA512 ac67a5164c2d239a5994bfde972bf82fe9f63bfc339ad263256e9889826ff71df224a8d003b0db2e2900d862dbd2a07c11c1b99fe12f94e52a8c5cd65ef302e5 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c +DIST ugrd-1.19.2.tar.gz 63366 BLAKE2B 3bc2168bd92a41fef54e627a1ce9679fc628c55f58667b682fde3cc8a3c67792856dab11540bccc2c85f9270c20701c52dc3290e619ac19e5371b0b8dc18550d SHA512 60ce2ce0fa349c24579a042e18ea5b092a57ba41bb9434a5804d5f42b83a0e4371c212a755b4a78ee4c41d3c9e80e7f6f67913fcb207eaf53288f72570a063a9 EBUILD ugrd-1.13.0.ebuild 1462 BLAKE2B 52d73a0564a64c31a1fa9cb02377f6735e883ee3f7c68f1fbdf404ebedf12faad5641e815cd09b9797e52378a462a56036d7a3106d5c35f9c15f1fe074712fd8 SHA512 6568990c8bf6f20fc49f8ae8d1080cfff04593b8255b361efe18e0e5a09fe8eeb1160cdbff2b1b2276f12860f5b3e0a7dd08302cc2d6f073f2759d72a35467b0 -EBUILD ugrd-1.16.0.ebuild 1462 BLAKE2B e0e7a2840663e8248d50dbf582c404eaab6ba4b5b762ea20ffa54a6b0cd5efbbee8992019d2176a915a9a1c6739bba6829056cba5f38691c4bfe4a956c6cbd31 SHA512 18ef6babe0364ef0ee3ce83d407e7717f588d7f2f55ca236fadc15aad5fb4c48891d88cd60bd30ff60a77ec0d27433b1cce17ee72e815d11b9fce479177fcf01 EBUILD ugrd-1.17.0.ebuild 1462 BLAKE2B c57694a328f9ee661569bac819216461fa9545f3ff00f2514994f8bc7ca0b5137dcda1d4e8ddf880fddb2fb7a515fa3c49dd62b99aa82349c46e57529d951ea0 SHA512 c7216215e70de33ee35007c89a717ac9c175e47c18bdfd70663a62b25f3e9bf79297679c05a030b8be913387498c6101d3a60da56f748345c467d8c4fa7dd1d6 -EBUILD ugrd-9999.ebuild 1402 BLAKE2B 3128b452f9808e570cbe56f2615fd9ecde920c9f7c38e8644188ef4bb23ced8073f55cd8bb0d7fc7c48c37f6436b6187850d026a1fea94b9216bd200f58f3f63 SHA512 d426f42e71ea2fb7e074409bb4c17c2627b1ee7031f0a96966f5a03b006d1c1ba4aeddd241695afe3bb50c322ab142e984610b16c66db131897b07aed0edb15e +EBUILD ugrd-1.19.2.ebuild 1991 BLAKE2B 0db47c00e898694c37b7f0ae4d626b81d941d8014d88187b02652ce137dccf4cdc51ebac7999ff2da70e63b2e714b89c0d464727dbfe6055a92ab5e881adac1d SHA512 a856a599f75758fd6afb9d3027aeb351d572601c553b631ad778fd8dde642a81f6fa24496eba16f7c7f83f9d433a41f44e2aa2937b6bfb657e1f599ef06b4154 +EBUILD ugrd-9999.ebuild 1931 BLAKE2B d768579786527265b6a221631aa3fdd1c25823dfe407949e5653e36b2e7f6aaaeab2c09d1467e751f095032cce86663470d73c3e6d0b7edc1aa443f596553e79 SHA512 be266b431abdb0ca0b0854e14023dfd20b17441399900ec64757b435c12f8781b57ed95d32290001b916c2687e7ee22f0c04005d4c8ec734b4ec87a7b8662a7b MISC metadata.xml 459 BLAKE2B 4b2afaf098699bd77c60b089a853528c9f8c054623c8c317ec99090572dc5d2e686150303fa69b739f0e654e35e6fe2f43f71df8920cfdb83b17393a67425c22 SHA512 78b8572050924ef651f833821bc1b15ce6e989311a30f0970d966fae78287263f14d67db59b4fc93dd0d8d1c07b89b9b05c42f325b61337f497589b769fdf103 diff --git a/sys-kernel/ugrd/ugrd-1.16.0.ebuild b/sys-kernel/ugrd/ugrd-1.19.2.ebuild index 2259e96649a2..6869d9c50265 100644 --- a/sys-kernel/ugrd/ugrd-1.16.0.ebuild +++ b/sys-kernel/ugrd/ugrd-1.19.2.ebuild @@ -17,11 +17,18 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=" app-misc/pax-utils - >=dev-python/zenlib-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pycpio-1.2.1[${PYTHON_USEDEP}] + >=dev-python/zenlib-2.2.3[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}] sys-apps/pciutils " +BDEPEND=" + test? ( + amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) + arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) + ) +" + python_install_all() { # Call the distutils-r1_python_install_all function distutils-r1_python_install_all @@ -46,3 +53,22 @@ pkg_postinst() { optfeature "ugrd.crypto.gpg support" app-crypt/gnupg optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm] } + +distutils_enable_tests unittest + +src_test() { + if [[ ! -w '/dev/kvm' ]]; then + ewarn "Skipping tests: Cannot write to /dev/kvm." + return 1 + fi + if [[ ! -r "$(command -v mount)" ]]; then + ewarn "Cannot read the mount binary, tests may fail until" + ewarn "util-linux is re-emerged without the sfperms feature." + fi + + distutils-r1_src_test +} + +python_test() { + eunittest tests/ +} diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild index 79e735294206..6f4810071f2d 100644 --- a/sys-kernel/ugrd/ugrd-9999.ebuild +++ b/sys-kernel/ugrd/ugrd-9999.ebuild @@ -21,6 +21,13 @@ RDEPEND=" sys-apps/pciutils " +BDEPEND=" + test? ( + amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) + arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) + ) +" + python_install_all() { # Call the distutils-r1_python_install_all function distutils-r1_python_install_all @@ -45,3 +52,22 @@ pkg_postinst() { optfeature "ugrd.crypto.gpg support" app-crypt/gnupg optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm] } + +distutils_enable_tests unittest + +src_test() { + if [[ ! -w '/dev/kvm' ]]; then + ewarn "Skipping tests: Cannot write to /dev/kvm." + return 1 + fi + if [[ ! -r "$(command -v mount)" ]]; then + ewarn "Cannot read the mount binary, tests may fail until" + ewarn "util-linux is re-emerged without the sfperms feature." + fi + + distutils-r1_src_test +} + +python_test() { + eunittest tests/ +} |