Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boltons/
Date: Fri, 13 May 2022 14:51:26
Message-Id: 1652453428.852cbcf172a9841a547954dab4df59d241e9c25a.ionen@gentoo
1 commit: 852cbcf172a9841a547954dab4df59d241e9c25a
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 13:48:36 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 14:50:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852cbcf1
7
8 dev-python/boltons: use pep517
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 dev-python/boltons/boltons-21.0.0-r1.ebuild | 31 +++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/boltons/boltons-21.0.0-r1.ebuild b/dev-python/boltons/boltons-21.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..34374fc8ae2a
18 --- /dev/null
19 +++ b/dev-python/boltons/boltons-21.0.0-r1.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 2021-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Pure-python utilities in the same spirit as the standard library"
31 +HOMEPAGE="https://boltons.readthedocs.org/"
32 +SRC_URI="https://github.com/mahmoud/boltons/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="BSD"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm64 ~x86"
37 +
38 +distutils_enable_tests pytest
39 +distutils_enable_sphinx docs \
40 + dev-python/sphinx_rtd_theme
41 +
42 +DOCS=( CHANGELOG.md README.md TODO.rst )
43 +
44 +PATCHES=(
45 + "${FILESDIR}"/${P}-python3.10.patch
46 +)
47 +
48 +python_test() {
49 + # failure in test_exception_info with pytest-qt
50 + epytest -p no:pytest-qt
51 +}