diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-19 14:33:39 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-19 14:47:56 +0200 |
commit | a6a30c1612ed3bded7f074a56f20b0c6c4e4b45a (patch) | |
tree | ce239cbfa1b24197245dde1723d5274564caf12e /dev-python/configobj | |
parent | games-board/gnuchess: 6.2.2 (diff) | |
download | gentoo-a6a30c1612ed3bded7f074a56f20b0c6c4e4b45a.tar.gz gentoo-a6a30c1612ed3bded7f074a56f20b0c6c4e4b45a.tar.bz2 gentoo-a6a30c1612ed3bded7f074a56f20b0c6c4e4b45a.zip |
dev-python/configobj: Add python3.5 support
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/configobj')
-rw-r--r-- | dev-python/configobj/configobj-5.0.6.ebuild | 9 | ||||
-rw-r--r-- | dev-python/configobj/metadata.xml | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-python/configobj/configobj-5.0.6.ebuild b/dev-python/configobj/configobj-5.0.6.ebuild index 7b15b625f390..c58c7ad3f1cc 100644 --- a/dev-python/configobj/configobj-5.0.6.ebuild +++ b/dev-python/configobj/configobj-5.0.6.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) inherit distutils-r1 @@ -19,8 +20,10 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]" python_prepare_all() { # Not to install un-needed _version.py - sed -e "/^MODULES =/s/, '_version'//" -i setup.py - sed -e "s/^from _version import __version__$/__version__ = '${PV}'/" -i configobj.py + sed -e "/^MODULES =/s/, '_version'//" -i setup.py || die + sed \ + -e "s/^from _version import __version__$/__version__ = '${PV}'/" \ + -i configobj.py || die distutils-r1_python_prepare_all } diff --git a/dev-python/configobj/metadata.xml b/dev-python/configobj/metadata.xml index 3b31e82a3e9e..a1a409155789 100644 --- a/dev-python/configobj/metadata.xml +++ b/dev-python/configobj/metadata.xml @@ -1,4 +1,4 @@ -<?xml version='1.0' encoding='UTF-8'?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> |