Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tinycss/
Date: Wed, 31 May 2017 11:32:53
Message-Id: 1496230321.5b3789dbc2e24121c51b7463011062135a167673.mrueg@gentoo
1 commit: 5b3789dbc2e24121c51b7463011062135a167673
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 11:32:01 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 11:32:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3789db
7
8 dev-python/tinycss: Add python3_6, fix tests
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/tinycss/tinycss-0.4.ebuild | 18 ++++++++++++------
13 1 file changed, 12 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/tinycss/tinycss-0.4.ebuild b/dev-python/tinycss/tinycss-0.4.ebuild
16 index ab56ec93b9e..594f08dc3b2 100644
17 --- a/dev-python/tinycss/tinycss-0.4.ebuild
18 +++ b/dev-python/tinycss/tinycss-0.4.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=6
26
27 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
28 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
29
30 inherit distutils-r1
31
32 @@ -14,13 +14,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
33 LICENSE="BSD"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 -IUSE=""
37 +IUSE="test"
38
39 RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
40 -DEPEND="${RDEPEND}"
41 +DEPEND="${RDEPEND}
42 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
43
44 DOCS=( CHANGES README.rst )
45 -RESTRICT="test"
46 +#RESTRICT="test"
47 +
48 +python_prepare_all() {
49 + rm setup.cfg || die
50 + distutils-r1_python_prepare_all
51 +}
52
53 python_test() {
54 export TINYCSS_SKIP_SPEEDUPS_TESTS=1