summaryrefslogtreecommitdiff
path: root/dev-python/paginate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-08 22:21:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-08 22:21:23 +0000
commit4f8c8df3b07b6ea3556ab2bc7b252213bbdab3f3 (patch)
treeda90388e25f27949d16131813690edb36c53aa81 /dev-python/paginate
parent413ca4e6c2089d8b5e0844c26cf5671209226b93 (diff)
gentoo auto-resync : 08:11:2023 - 22:21:23
Diffstat (limited to 'dev-python/paginate')
-rw-r--r--dev-python/paginate/Manifest2
-rw-r--r--dev-python/paginate/paginate-0.5.6.ebuild19
2 files changed, 19 insertions, 2 deletions
diff --git a/dev-python/paginate/Manifest b/dev-python/paginate/Manifest
index 5d51b0fda776..fd4e6642bac6 100644
--- a/dev-python/paginate/Manifest
+++ b/dev-python/paginate/Manifest
@@ -1,3 +1,3 @@
DIST paginate-0.5.6.gh.tar.gz 15567 BLAKE2B c5b60ad43c61a918c618668b345cae82e5e61516aa73130339830db8b8d1d49d271ed24bf9379c570ef8ae9de0844ff8e088820c7e128e1e6e77a03427c06596 SHA512 64d7d1a9952dc8ae5894113c381a9cdca5395477091d794774ed770f1e1dfb6a5d88a7bd07cc4fca0c0c8f708656261f3160b315af6f86ecc5b7f46e1d639150
-EBUILD paginate-0.5.6.ebuild 557 BLAKE2B e873e1efc78b45a95b4a2430a9f356bb84c4b0b9ceac48957c282f5cf9d66fd01d7071189b4187912784e1f7b97054f70248e1b9852f4c95de332e971af017d3 SHA512 6b8e1232fb9256f99010b49569de641768247844e4909c8d4828b5c8da1711d6411677d1f2395a037e675e2eff360cfa14ea92543190fda1430a952765367c11
+EBUILD paginate-0.5.6.ebuild 917 BLAKE2B 2cd9ee6ee33d1813999711136924f510edcec6299761ffd30888df28521fe791f3ea9749cf89ecfc280886b58650be8b46e7213f4db81c1a7461b175a13195d2 SHA512 b3123292a92868376739d4c0728a40c0c0a962d3d9f019fb7ca687914b1d4cf6bb621e2216d409de7bdc1f6ff76e9d9f4f3e5abb62f4ae26265ca3378adf111a
MISC metadata.xml 369 BLAKE2B 19b0ed57cf4d77b7c7b5743db890ac9b4c9291770480ea34fc136ec9cd4c70a0bf7fa5adfd831714cfbe90bc6d2386c1ff6446ce7402d51675b2e23b3659fd6e SHA512 302d1f3ba21ecd4cc6ed7905f8b49e524d21aa32ae810d5b9124ec8a7ea2802fd79997afd573988679db1f246f193653ae34f2b275c27d30762002b66e55dcd5
diff --git a/dev-python/paginate/paginate-0.5.6.ebuild b/dev-python/paginate/paginate-0.5.6.ebuild
index 6da012715c15..5f8fe5a3f93a 100644
--- a/dev-python/paginate/paginate-0.5.6.ebuild
+++ b/dev-python/paginate/paginate-0.5.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1
@@ -23,3 +23,20 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=()
+
+ case ${EPYTHON} in
+ python3.12)
+ EPYTEST_DESELECT+=(
+ # these tests assume that dict is not sliceable
+ # https://github.com/Pylons/paginate/issues/19
+ tests/test_paginate.py::test_wrong_collection
+ tests/test_paginate.py::TestCollectionTypes::test_unsliceable_sequence3
+ )
+ ;;
+ esac
+
+ epytest
+}