summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-05 15:47:21 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-05 15:48:15 -0400
commitb2c4b89014d2595d7f976be01a22030acb6c55a5 (patch)
tree2a383bcbafb7ead588e54461efc3a2245c4312b5 /dev-python/babelfish/babelfish-9999.ebuild
parentsys-apps/sandbox: add usersandbox to the error message disable list (diff)
downloadgentoo-b2c4b89014d2595d7f976be01a22030acb6c55a5.tar.gz
gentoo-b2c4b89014d2595d7f976be01a22030acb6c55a5.tar.bz2
gentoo-b2c4b89014d2595d7f976be01a22030acb6c55a5.zip
dev-python/babelfish: version bump to 0.5.5
Diffstat (limited to 'dev-python/babelfish/babelfish-9999.ebuild')
-rw-r--r--dev-python/babelfish/babelfish-9999.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-python/babelfish/babelfish-9999.ebuild b/dev-python/babelfish/babelfish-9999.ebuild
index 1466a6dabaf8..cbf34c9a656d 100644
--- a/dev-python/babelfish/babelfish-9999.ebuild
+++ b/dev-python/babelfish/babelfish-9999.ebuild
@@ -1,19 +1,25 @@
-# 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=( python{2_7,3_3,3_4} pypy )
-EGIT_REPO_URI="https://github.com/Diaoul/babelfish.git"
-inherit distutils-r1 git-r3
+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
DESCRIPTION="Python library to work with countries and languages"
HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.python.org/pypi/babelfish"
LICENSE="BSD"
SLOT="0"
-KEYWORDS=""
IUSE=""
RDEPEND=""