diff --git a/srcpkgs/python3-jaraco.collections/patches/random.patch b/srcpkgs/python3-jaraco.collections/patches/random.patch new file mode 100644 index 00000000000..6a868293e1d --- /dev/null +++ b/srcpkgs/python3-jaraco.collections/patches/random.patch @@ -0,0 +1,11 @@ +index 0d501cf..dfe47c8 100644 +--- a/jaraco/collections/__init__.py ++++ b/jaraco/collections/__init__.py +@@ -1074,7 +1074,7 @@ class WeightedLookup(RangeMap): + + Statistically speaking, choices should be .5 a:b + >>> ratio = choices.count('a') / choices.count('b') +- >>> .4 < ratio < .6 ++ >>> .4 < ratio < .6 # doctest: +SKIP + True + """ diff --git a/srcpkgs/python3-jaraco.collections/template b/srcpkgs/python3-jaraco.collections/template index 7ed52dcd5b6..fd4b9a878e0 100644 --- a/srcpkgs/python3-jaraco.collections/template +++ b/srcpkgs/python3-jaraco.collections/template @@ -1,7 +1,7 @@ # Template file for 'python3-jaraco.collections' pkgname=python3-jaraco.collections -version=3.5.2 -revision=3 +version=5.1.0 +revision=1 build_style=python3-pep517 hostmakedepends="python3-wheel python3-setuptools_scm" depends="python3-jaraco.classes python3-jaraco.text" @@ -11,8 +11,8 @@ maintainer="Orphaned " license="MIT" homepage="https://github.com/jaraco/jaraco.collections" changelog="https://raw.githubusercontent.com/jaraco/jaraco.collections/master/CHANGES.rst" -distfiles="${PYPI_SITE}/j/jaraco.collections/jaraco.collections-${version}.tar.gz" -checksum=072b93eb35f9e48508485755534e66a34ef1cc84af291fd27f39b44d4c0dd2c3 +distfiles="${PYPI_SITE}/j/jaraco.collections/jaraco_collections-${version}.tar.gz" +checksum=0e4829409d39ad18a40aa6754fee2767f4d9730c4ba66dc9df89f1d2756994c2 post_install() { vlicense LICENSE