commit: 2e205fe274324ebc28a543b50ab720a3d7cbdc26
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 05:08:45 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 05:37:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e205fe2
dev-python/six: Bump to 1.17.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/six/Manifest | 1 +
dev-python/six/six-1.17.0.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/six/Manifest b/dev-python/six/Manifest
index 3b56dd088a00..ba7cc06aabfc 100644
--- a/dev-python/six/Manifest
+++ b/dev-python/six/Manifest
@@ -1 +1,2 @@
DIST six-1.16.0.tar.gz 34041 BLAKE2B
764f8da9a0d89e95af002c79c2b19e852fdec9a6819655c57be019b48bd65a5f7909473e71887e6080073f381f983c077487591d4e44297542cf6b9a29ba42b8
SHA512
076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0
+DIST six-1.17.0.tar.gz 34031 BLAKE2B
31a6fadd0fc7e1c9c3ac62fcfb3bb7eaac6d486a6d30884db027536ee514980f56ca600a3679565303bbe11b32f64613cf95ebda3bd4c2ad18214f85eb182b39
SHA512
fcfa58b03877ac3ac00a4f85b5fea4fecb2a010244451aa95013637a0aa21529f3dcfe25c0a07c72da46da1fa12bc0c16b6c641c40c6ab2133e5b5cbb5a71e4b
diff --git a/dev-python/six/six-1.17.0.ebuild b/dev-python/six/six-1.17.0.ebuild
new file mode 100644
index 000000000000..813b35d38508
--- /dev/null
+++ b/dev-python/six/six-1.17.0.ebuild
@@ -0,0 +1,41 @@
+# 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} python3_13t pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python 2 and 3 compatibility library"
+HOMEPAGE="
+ https://github.com/benjaminp/six/
+ https://pypi.org/project/six/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
+
+distutils_enable_sphinx documentation --no-autodoc
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires USE=gdb on CPython, no point in forcing the dep
+ # also missing on PyPy
+ 'test_six.py::test_move_items[dbm_ndbm]'
+ )
+
+ case ${EPYTHON} in
+ python3.13*)
+ EPYTEST_DESELECT+=(
+ 'test_six.py::test_move_items[tkinter_tix]'
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}