commit: 852cbcf172a9841a547954dab4df59d241e9c25a
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 13:48:36 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 13 14:50:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852cbcf1
dev-python/boltons: use pep517
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/boltons/boltons-21.0.0-r1.ebuild | 31 +++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dev-python/boltons/boltons-21.0.0-r1.ebuild
b/dev-python/boltons/boltons-21.0.0-r1.ebuild
new file mode 100644
index 000000000000..34374fc8ae2a
--- /dev/null
+++ b/dev-python/boltons/boltons-21.0.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Pure-python utilities in the same spirit as the standard library"
+HOMEPAGE="https://boltons.readthedocs.org/"
+SRC_URI="https://github.com/mahmoud/boltons/archive/refs/tags/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx_rtd_theme
+
+DOCS=( CHANGELOG.md README.md TODO.rst )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-python3.10.patch
+)
+
+python_test() {
+ # failure in test_exception_info with pytest-qt
+ epytest -p no:pytest-qt
+}