dev-python/oslo-sphinx: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Tue, 9 Feb 2016 08:04:40 +0000 (09:04 +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-sphinx/oslo-sphinx-2.5.0.ebuild
dev-python/oslo-sphinx/oslo-sphinx-3.0.0.ebuild

index d605f8c88dba4b167137cdf0d1e097d8f16e0a20..f0391516ec80e9300e768b4d2bc8745d7ba4972a 100644 (file)
@@ -3,7 +3,8 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
 
 inherit distutils-r1
 
@@ -12,7 +13,6 @@ MY_PN="${PN//-/}"
 DESCRIPTION="OpenStack Sphinx Extensions"
 HOMEPAGE="http://www.openstack.org/"
 SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -30,3 +30,5 @@ RDEPEND="
        >=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
        !~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
 "
+
+S="${WORKDIR}/${MY_PN}-${PV}"
index 2c0859e82f18c6ffd4fbffad8493de9e90bbd416..69ef325a75e34afb432c752deb87bfbbdebd9ebb 100644 (file)
@@ -1,9 +1,10 @@
-# 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
 
@@ -12,7 +13,6 @@ MY_PN="${PN//-/}"
 DESCRIPTION="OpenStack Sphinx Extensions and Theme"
 HOMEPAGE="http://www.openstack.org/"
 SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -31,6 +31,8 @@ DEPEND="
 "
 RDEPEND=">=dev-python/requests-2.5.2[${PYTHON_USEDEP}]"
 
+S="${WORKDIR}/${MY_PN}-${PV}"
+
 python_compile_all() {
        use doc && esetup.py build_sphinx
 }