diff options
Diffstat (limited to 'dev-util/pkgcheck')
-rw-r--r-- | dev-util/pkgcheck/Manifest | 4 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-0.10.24.ebuild | 16 | ||||
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 16 |
3 files changed, 30 insertions, 6 deletions
diff --git a/dev-util/pkgcheck/Manifest b/dev-util/pkgcheck/Manifest index 8db0f6f0cc4d..33047154b2cb 100644 --- a/dev-util/pkgcheck/Manifest +++ b/dev-util/pkgcheck/Manifest @@ -2,6 +2,6 @@ AUX 50pkgcheck-gentoo.el 125 BLAKE2B db546b7f4e1517fb4f3bc46eff6a3294c8d677be031 DIST pkgcheck-0.10.23.tar.gz 568903 BLAKE2B 8b00dc93d0c3f597f7397d2e7b3686d11b12da715d6e8071f1b02a8085061cbb2d7cb24bde6a73ef6e5d1459637cb78e536ce80a162f188a42739a434c62c397 SHA512 3bcdb91bf73cde60fd9fc2f5e470c5ccdfd7b3564e83192201b0fa1dc38265e1e0c7f7052039accbb62c55d816a6e89317d7d388c0cc3da3b4836475cb82bd03 DIST pkgcheck-0.10.24.tar.gz 572336 BLAKE2B 851d6e8d8a5402c539cb690e6e915d3875658f0f4c9e60e8f506d6a663d0732993f2af7a46b3dcf7c2fba11a3d7b521753aa537a893796b8cda216c9e9d370af SHA512 bb0eb962d9d6cafc5b4ca1280307aae8e154d813151841373334971b7613099ebeeb2b9eb3ca9755da43d76a6448b6a8f6570201810b182cf868a172992b40a5 EBUILD pkgcheck-0.10.23.ebuild 2161 BLAKE2B 205f7a20d466ec9d3300d373e9aefea4420489b251b077543375fcf40636820fe2d258f8c10421434f167f4654e1da69d4b21c36b493236c241ff10929c2462e SHA512 3ac329f184a5708c80e3d1096c964054126f5d1f367598d881c526861160f0dab970ef9c2ee49db43fbbfd1f0af13a9c1edcca5d72a5ca7ff566ced3e82825ea -EBUILD pkgcheck-0.10.24.ebuild 2161 BLAKE2B 205f7a20d466ec9d3300d373e9aefea4420489b251b077543375fcf40636820fe2d258f8c10421434f167f4654e1da69d4b21c36b493236c241ff10929c2462e SHA512 3ac329f184a5708c80e3d1096c964054126f5d1f367598d881c526861160f0dab970ef9c2ee49db43fbbfd1f0af13a9c1edcca5d72a5ca7ff566ced3e82825ea -EBUILD pkgcheck-9999.ebuild 2169 BLAKE2B e94f98e25963292d6581d4e167816da3b62ecc26c93bb7810365b3c1d6978ed803a4c8176065035202c2184e8b54abfdf0b443e18d0e7d619a3762086a0a96f8 SHA512 57aeb9a89927976fd235f0ff5f6fc625dba260ef81a937f85a9e72380e30f091287ad32d4781b9971222640f17855b99f4fb17018e59f74ea1dac2f877997023 +EBUILD pkgcheck-0.10.24.ebuild 2406 BLAKE2B b376ddbadd06396be6ad45901a89c6e17f1ce3cf3046234b8ae2cdd4f7e1d29c2c429fd53e75bc0856d8e2ec6ead97ea09568925c384785bd5c98687a4923581 SHA512 00b1e7ceeb65f9298f991cd85fbc0b3ecedca6b1884d9f49f893b83dedb85205bda2031a2ca5cbad7919997f3e13a030047862836efa42ec2873091c96ffa01e +EBUILD pkgcheck-9999.ebuild 2414 BLAKE2B 1651e17e6ae033e62ff219ea55a4c343263f02b6bbd24b0c39c17fc678f10cdc968710774f9913d6c8374f594655c52d5159076ed1296239a2c452f13ebc60ea SHA512 7215066128e1a228150ed2d8e86ab911b54be93f31501f62bbcd3514b4c6c773e09f61262e7d2fab0297af46d6bc45fb7a29fb8a8cd51f9fb1c20bbfff56734a MISC metadata.xml 455 BLAKE2B b544db3532ef1da966833d5edbc79988cc1fd85b6d6276476684b49d4485814d6e2d969e742d3633c8176e7f37cae6614dae1654fd1424d71475f022166f6e6a SHA512 5abd1584f486e88992bab8c51c191b4915a5854752130f8a591147ff4b2af2102fdc8ab182e7358c3e4bbb3fdc8400563a250e2dba1793d365f0edc7c5f7c33a diff --git a/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild b/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild index 60b9b8d6e828..2f2baf83328c 100644 --- a/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild +++ b/dev-util/pkgcheck/pkgcheck-0.10.24.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit elisp-common distutils-r1 optfeature if [[ ${PV} == *9999 ]] ; then @@ -50,7 +50,9 @@ BDEPEND="${RDEPEND} dev-python/wheel test? ( dev-python/pytest[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/requests[${PYTHON_USEDEP}] + ' python3_{10..11} ) dev-vcs/git ) " @@ -71,6 +73,16 @@ src_compile() { fi } +python_test() { + if ! has_version -b "dev-python/requests[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT=( + tests/checks/test_all.py::TestNetworkCheck::test_network_enabled + ) + fi + + epytest +} + python_install_all() { local DOCS=( NEWS.rst ) [[ ${PV} == *9999 ]] || doman man/* diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index 95b29b01a08f..25fe3d8378ba 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit elisp-common distutils-r1 optfeature if [[ ${PV} == *9999 ]] ; then @@ -50,7 +50,9 @@ BDEPEND="${RDEPEND} dev-python/wheel test? ( dev-python/pytest[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/requests[${PYTHON_USEDEP}] + ' python3_{10..11} ) dev-vcs/git ) " @@ -71,6 +73,16 @@ src_compile() { fi } +python_test() { + if ! has_version -b "dev-python/requests[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT=( + tests/checks/test_all.py::TestNetworkCheck::test_network_enabled + ) + fi + + epytest +} + python_install_all() { local DOCS=( NEWS.rst ) [[ ${PV} == *9999 ]] || doman man/* |