Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyxattr/
Date: Mon, 18 Nov 2019 09:55:45
Message-Id: 1574070935.f487b959e29b56d12ae3293edd5778a65c24ec8f.mgorny@gentoo
1 commit: f487b959e29b56d12ae3293edd5778a65c24ec8f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 18 09:48:47 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 18 09:55:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f487b959
7
8 dev-python/pyxattr: Enable py3.8, remove nose dep
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild | 14 +++++---------
13 1 file changed, 5 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
16 index 5ce00c43a28..b31d3d000ed 100644
17 --- a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
18 +++ b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=7
23 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
24 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
25
26 inherit distutils-r1 eutils
27
28 @@ -14,14 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
29 LICENSE="LGPL-2.1"
30 SLOT="0"
31 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
32 -IUSE="doc test"
33 -RESTRICT="!test? ( test )"
34 +IUSE="doc"
35
36 RDEPEND="sys-apps/attr"
37 DEPEND="${RDEPEND}
38 dev-python/setuptools[${PYTHON_USEDEP}]
39 - doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] )
40 - test? ( dev-python/nose[${PYTHON_USEDEP}] )"
41 + doc? ( >=dev-python/sphinx-1.3.1 )"
42 +
43 +distutils_enable_tests unittest
44
45 python_prepare_all() {
46 sed -i -e 's:, "-Werror"::' setup.py || die
47 @@ -56,10 +56,6 @@ src_test() {
48 distutils-r1_src_test
49 }
50
51 -python_test() {
52 - nosetests -v || die "Tests fail with ${EPYTHON}"
53 -}
54 -
55 python_install_all() {
56 use doc && local HTML_DOCS=( doc/html/. )
57 distutils-r1_python_install_all