dev-python/oslo-context: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Tue, 9 Feb 2016 08:48:39 +0000 (09:48 +0100)
committerJustin Lecher <jlec@gentoo.org>
Tue, 9 Feb 2016 09:33:03 +0000 (10:33 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/oslo-context/oslo-context-0.6.0.ebuild

index f36fa33e654a3ec0a06cd5ccd26f837df45f030d..9d9fc4e39e66b24062b878e05390714383897c25 100644 (file)
@@ -1,16 +1,16 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
 
 inherit distutils-r1
 
 DESCRIPTION="Helpers to maintain useful information about a request context"
 HOMEPAGE="https://pypi.python.org/pypi/oslo.context"
 SRC_URI="mirror://pypi/${PN:0:1}/oslo.context/oslo.context-${PV}.tar.gz"
-S="${WORKDIR}/oslo.context-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -34,6 +34,8 @@ RDEPEND="
        >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
 "
 
+S="${WORKDIR}/oslo.context-${PV}"
+
 python_prepare_all() {
        sed -i '/^hacking/d' test-requirements.txt || die
        distutils-r1_python_prepare_all