Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/
Date: Mon, 04 Jun 2018 23:38:48
Message-Id: 1528155210.565fdc0359edc73f8df6b32c58ac9f69aaef267a.radhermit@gentoo
1 commit: 565fdc0359edc73f8df6b32c58ac9f69aaef267a
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 4 23:28:24 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 4 23:33:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565fdc03
7
8 sys-apps/pkgcore: bump live ebuild to only supporting py3.6
9
10 And update deps.
11
12 sys-apps/pkgcore/pkgcore-9999.ebuild | 16 +++++-----------
13 1 file changed, 5 insertions(+), 11 deletions(-)
14
15 diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
16 index 53434ea7411..28296ac7753 100644
17 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild
18 +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
19 @@ -1,8 +1,8 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
26 +EAPI=6
27 +PYTHON_COMPAT=( python3_6 )
28 DISTUTILS_IN_SOURCE_BUILD=1
29 inherit distutils-r1
30
31 @@ -26,24 +26,18 @@ if [[ ${PV} == *9999 ]] ; then
32 else
33 SPHINX="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
34 fi
35 -RDEPEND="$(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5})"
36 if [[ ${PV} == *9999 ]]; then
37 RDEPEND+=" =dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
38 else
39 - RDEPEND+=" >=dev-python/snakeoil-0.7.5[${PYTHON_USEDEP}]"
40 + RDEPEND+=" >=dev-python/snakeoil-0.8.0[${PYTHON_USEDEP}]"
41 fi
42 DEPEND="${RDEPEND}
43 ${SPHINX}
44 dev-python/setuptools[${PYTHON_USEDEP}]
45 dev-python/pyparsing[${PYTHON_USEDEP}]
46 - test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )
47 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
48 "
49
50 -pkg_setup() {
51 - # disable snakeoil 2to3 caching...
52 - unset PY2TO3_CACHEDIR
53 -}
54 -
55 python_compile_all() {
56 esetup.py build_man $(usex doc "build_docs" "")
57 }