From b8c237439db49d7d95deed40905b0b1d56a76a50 Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Wed, 11 May 2016 07:28:19 +0300 Subject: [PATCH] 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 --- .../babelfish/babelfish-0.5.5-r1.ebuild | 25 +++++++++++++++++++ dev-python/babelfish/babelfish-9999.ebuild | 21 ++++++---------- 2 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 dev-python/babelfish/babelfish-0.5.5-r1.ebuild diff --git a/dev-python/babelfish/babelfish-0.5.5-r1.ebuild b/dev-python/babelfish/babelfish-0.5.5-r1.ebuild new file mode 100644 index 0000000000000..9425901924f94 --- /dev/null +++ b/dev-python/babelfish/babelfish-0.5.5-r1.ebuild @@ -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 +} diff --git a/dev-python/babelfish/babelfish-9999.ebuild b/dev-python/babelfish/babelfish-9999.ebuild index cbf34c9a656d7..e754bb9de0ae0 100644 --- a/dev-python/babelfish/babelfish-9999.ebuild +++ b/dev-python/babelfish/babelfish-9999.ebuild @@ -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