aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/simx/simx-9999.ebuild')
-rw-r--r--sci-misc/simx/simx-9999.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/sci-misc/simx/simx-9999.ebuild b/sci-misc/simx/simx-9999.ebuild
index 246731d11..ad6411a83 100644
--- a/sci-misc/simx/simx-9999.ebuild
+++ b/sci-misc/simx/simx-9999.ebuild
@@ -6,16 +6,22 @@ EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit cmake-utils distutils-r1 git-2
+inherit cmake-utils distutils-r1
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/sim-x/simx.git http://github.com/sim-x/simx.git"
+ inherit git-2
+ KEYWORDS=""
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
DESCRIPTION="a library for developing parallel, discrete-event simulations in Python"
HOMEPAGE="https://github.com/sim-x"
-SRC_URI=""
-EGIT_REPO_URI="git://github.com/sim-x/simx.git http://github.com/sim-x/simx.git"
SLOT="0"
LICENSE="LGPL-2.1"
-KEYWORDS=""
IUSE=""
RDEPEND=" virtual/mpi