dev-python/babelfish: revbump to 0.5.5-r1

Bump EAPI to 6, fix deps.
Update 9999 ebuild accordingly.

Package-Manager: portage-2.2.28

Signed-off-by: Ian Delaney <idella4@gentoo.org>
This commit is contained in:
Ilya Tumaykin
2016-05-11 07:28:19 +03:00
committed by Ian Delaney
parent 618eeca1e3
commit b8c237439d
2 changed files with 32 additions and 14 deletions

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit distutils-r1
DESCRIPTION="Python library to work with countries and languages"
HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.python.org/pypi/babelfish"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_test() {
esetup.py test
}

View File

@@ -2,30 +2,23 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/Diaoul/babelfish.git"
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
inherit distutils-r1
inherit distutils-r1 git-r3
DESCRIPTION="Python library to work with countries and languages"
HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.python.org/pypi/babelfish"
EGIT_REPO_URI="git://github.com/Diaoul/${PN}.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_test() {
esetup.py test