diff options
author | Jingbei Li | 2017-03-03 22:45:26 +0800 |
---|---|---|
committer | Jingbei Li | 2017-03-03 22:45:26 +0800 |
commit | afadcf311447a92c30311eac424ce144dc0ce1b5 (patch) | |
tree | a995059126de51bd491218d996a87693765b98da /PKGBUILD | |
parent | 8d862a2c47a37f12226712932588c177459941d8 (diff) | |
download | aur-afadcf311447a92c30311eac424ce144dc0ce1b5.tar.gz |
add provides conflicts and git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ pkgbase="python-theano-git" pkgname=("python-theano-git" "python2-theano-git") _pkgname="Theano" -pkgver=0.9.0rc1.r59.183b5f1a4 +pkgver=0.9.0rc2.r16.674f8d514 pkgrel=1 pkgdesc='Definition and optimized evaluation of mathematical expressions on Numpy arrays.' arch=('any') @@ -12,7 +12,7 @@ url='http://www.deeplearning.net/software/theano/' license=('BSD') depends=('python' 'python-numpy' 'python2' 'python2-numpy') -makedepends=('python-distribute' 'python2-distribute') +makedepends=('python-distribute' 'python2-distribute' 'git') checkdepends=('python-nose' 'python-nose-parameterized' 'python2-nose' 'python2-nose-parameterized') optdepends=('python-sympy: Recommended' 'python-scipy: Recommended' @@ -69,6 +69,8 @@ build() { package_python2-theano-git() { depends=('python2' 'python2-numpy') + provides=('python2-theano') + conflicts=('python2-theano') cd "$srcdir/${_pkgname}-py2" python2 setup.py install --root="$pkgdir"/ --optimize=1 mv "${pkgdir}/usr/bin/theano-cache" "${pkgdir}/usr/bin/theano2-cache" @@ -79,6 +81,8 @@ package_python2-theano-git() { package_python-theano-git() { depends=('python' 'python-numpy') + provides=('python-theano') + conflicts=('python-theano') cd "$srcdir/${_pkgname}" python setup.py install --root="$pkgdir"/ --optimize=1 install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-theano/LICENSE.txt" |