summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2017-11-02 23:22:22 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2017-11-02 23:22:22 +0300
commit530a5614a3ff07085f58f1333d9cb9b13734a514 (patch)
tree5a0d3c771acd6526df1c9f30b946cf9c5bbd365e
parentmedia-video/movit: Version bump (diff)
downloadalexxy-530a5614a3ff07085f58f1333d9cb9b13734a514.zip
alexxy-530a5614a3ff07085f58f1333d9cb9b13734a514.tar.gz
alexxy-530a5614a3ff07085f58f1333d9cb9b13734a514.tar.bz2
sci-chemistry/gromacs: Update src_unpack
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--sci-chemistry/gromacs/gromacs-9999.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild
index 31b5cf6..d8a862d 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -11,16 +11,11 @@ PYTHON_COMPAT=( python{3_2,3_3,3_4,3_5} )
inherit bash-completion-r1 cmake-utils cuda eutils multilib python-single-r1 readme.gentoo-r1 toolchain-funcs
if [[ $PV = *9999* ]]; then
- if use python; then
- EGIT_REPO_URI="git://biod.pnpi.spb.ru/alexxy/gromacs.git"
- EGIT_BRANCH="pygromacs_v2"
- else
- EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
+ EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
https://gerrit.gromacs.org/gromacs.git
git://github.com/gromacs/gromacs.git
http://repo.or.cz/r/gromacs.git"
- [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:1}-${PV:2:1}"
- fi
+ [[ $PV = 9999 ]] && EGIT_BRANCH="master" || EGIT_BRANCH="release-${PV:0:1}-${PV:2:1}"
inherit git-r3
KEYWORDS=""
else
@@ -96,6 +91,10 @@ src_unpack() {
if [[ ${PV} != *9999 ]]; then
default
else
+ if use python; then
+ EGIT_REPO_URI="git://biod.pnpi.spb.ru/alexxy/gromacs.git"
+ EGIT_BRANCH="pygromacs_v2"
+ fi
git-r3_src_unpack
if use test; then
EGIT_REPO_URI="git://git.gromacs.org/regressiontests.git" \