diff options
author | Hector Mtz-Seara | 2016-03-10 11:54:11 +0100 |
---|---|---|
committer | Hector Mtz-Seara | 2016-03-10 11:54:11 +0100 |
commit | 8d526c49135bc4f0cbefa5d910369407a0c3d475 (patch) | |
tree | 0d7ce269dd7e5358f88a58c6fbcf19ea5c97e547 | |
parent | ff75f148afa4ba0060a41ce123876134516c040c (diff) | |
download | aur-8d526c49135bc4f0cbefa5d910369407a0c3d475.tar.gz |
Added python-mdtraj also as optdepends as it is required at building time
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 24 insertions, 16 deletions
@@ -1,7 +1,7 @@ pkgbase = python-msmbuilder pkgdesc = A python package which implements a series of statistical models for high-dimensional time-series pkgver = 3.3.1 - pkgrel = 1 + pkgrel = 2 url = http://msmbuilder.org/ arch = i686 arch = x86_64 @@ -19,11 +19,11 @@ pkgname = python2-msmbuilder depends = python2-mdtraj depends = python2-cvxopt depends = python2-scikit-learn - optdepends = + optdepends = python2-mdtraj pkgname = python-msmbuilder depends = python-mdtraj depends = python-cvxopt depends = python-scikit-learn - optdepends = + optdepends = python-mdtraj @@ -5,7 +5,7 @@ pkgbase=python-msmbuilder pkgname=('python2-msmbuilder' 'python-msmbuilder') pkgver=3.3.1 -pkgrel=1 +pkgrel=2 pkgdesc='A python package which implements a series of statistical models for high-dimensional time-series' url='http://msmbuilder.org/' license=("LGPL") @@ -28,21 +28,25 @@ prepare() { cp -a msmbuilder-${pkgver} msmbuilder-py2-${pkgver} } -build() { - msg2 "Building msmbuilder - Python2" - cd "${srcdir}/msmbuilder-py2-${pkgver}" - python2 setup.py build +#build() { +# msg2 "Building msmbuilder - Python2" +# cd "${srcdir}/msmbuilder-py2-${pkgver}" +# python2 setup.py build +# +# msg2 "Building msmbuilder - Python3" +# cd "${srcdir}/msmbuilder-${pkgver}" +# python setup.py build +#} + +package_python-msmbuilder() { + depends=('python-mdtraj' 'python-cvxopt' 'python-scikit-learn') + optdepends=('python-mdtraj') - msg2 "Building msmbuilder - Python3" cd "${srcdir}/msmbuilder-${pkgver}" + msg2 "Building msmbuilder - Python3" python setup.py build -} -package_python-msmbuilder() { - depends=('python-mdtraj' 'python-cvxopt' 'python-scikit-learn') - optdepends=() msg2 "Installing msmbuilder python3" - cd "${srcdir}/msmbuilder-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build # Remove left over directories from distribute utils. @@ -51,9 +55,13 @@ package_python-msmbuilder() { package_python2-msmbuilder() { depends=('python2-mdtraj' 'python2-cvxopt' 'python2-scikit-learn') - optdepends=() - msg2 "Installing msmbuilder python2" + optdepends=('python2-mdtraj') + cd "${srcdir}/msmbuilder-py2-${pkgver}" + msg2 "Building msmbuilder - Python2" + python2 setup.py build + + msg2 "Installing msmbuilder python2" python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build # Remove left over directories from distribute utils. |