diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-05-12 11:37:00 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-05-12 11:37:00 +0000 |
commit | ec8c51545351b9b9b9f64adcb75794656aa08194 (patch) | |
tree | 74b177cd383d3d6c7d1ec49bcfb512063d4e6a35 /dev-python/markupsafe | |
parent | Convert from EAPI 1 to 5 as 1 is declared obsolete and will go away. (diff) | |
download | gentoo-2-ec8c51545351b9b9b9f64adcb75794656aa08194.tar.gz gentoo-2-ec8c51545351b9b9b9f64adcb75794656aa08194.tar.bz2 gentoo-2-ec8c51545351b9b9b9f64adcb75794656aa08194.zip |
re-add py3.2 to cover all current scenarios
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/markupsafe')
-rw-r--r-- | dev-python/markupsafe/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/markupsafe/markupsafe-0.21.ebuild | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-python/markupsafe/ChangeLog b/dev-python/markupsafe/ChangeLog index 803389c59558..8348cf7596a6 100644 --- a/dev-python/markupsafe/ChangeLog +++ b/dev-python/markupsafe/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/markupsafe # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.62 2014/05/12 09:59:57 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.63 2014/05/12 11:37:00 idella4 Exp $ + + 12 May 2014; Ian Delaney <idella4@gentoo.org> markupsafe-0.21.ebuild: + re-add py3.2 to cover all current scenarios *markupsafe-0.21 (12 May 2014) diff --git a/dev-python/markupsafe/markupsafe-0.21.ebuild b/dev-python/markupsafe/markupsafe-0.21.ebuild index 4baa795e541f..d8f975bb507b 100644 --- a/dev-python/markupsafe/markupsafe-0.21.ebuild +++ b/dev-python/markupsafe/markupsafe-0.21.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.21.ebuild,v 1.1 2014/05/12 09:59:57 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.21.ebuild,v 1.2 2014/05/12 11:37:00 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) inherit distutils-r1 MY_PN="MarkupSafe" @@ -23,6 +23,14 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="" S=${WORKDIR}/${MY_P} +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile() { + distutils-r1_python_compile + if [[ ${EPYTHON} == python3.2 ]]; then + 2to3 --no-diffs -n -w -f unicode ${PN} || die + fi +} python_test() { esetup.py test |