diff options
author | jerry73204 | 2018-05-15 03:39:37 +0800 |
---|---|---|
committer | jerry73204 | 2018-05-15 03:39:37 +0800 |
commit | c478fa00906517a9f077bd8e0ffc51ebcf2d0cca (patch) | |
tree | dd774d24024bfaa2a04b650be522032495c700da | |
parent | 121b3db210b6d04695771949ffc652cb3b6019e9 (diff) | |
download | aur-c478fa00906517a9f077bd8e0ffc51ebcf2d0cca.tar.gz |
Updated to 3.0.1-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 39 insertions, 23 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon May 7 09:34:17 UTC 2018 +# Mon May 14 19:39:19 UTC 2018 pkgbase = mlpack pkgdesc = a scalable c++ machine learning library - pkgver = 3.0.0 + pkgver = 3.0.1 pkgrel = 1 url = http://www.mlpack.org arch = i686 @@ -10,12 +10,17 @@ pkgbase = mlpack license = BSD makedepends = cmake>=2.8.5 makedepends = txt2man - depends = armadillo>=4.100.0 + makedepends = python-setuptools + makedepends = python-pytest-runner + depends = armadillo>=6.500.0 depends = boost>=1.49 depends = lapack depends = libxml2>=2.6.0 - source = http://www.mlpack.org/files/mlpack-3.0.0.tar.gz - sha256sums = 434f861a26efd37b55e28fc1662a1aad749ed5d927d9f91234a27af1f1756293 + depends = cython>=0.24 + depends = python-numpy + depends = python-pandas>=0.15.0 + source = http://www.mlpack.org/files/mlpack-3.0.1.tar.gz + sha256sums = 74fe128e1c12fa760885def6ce8bee58e6c4dfd1364e186a60521c543654202f pkgname = mlpack @@ -2,38 +2,49 @@ # Former Maintainer: Govind Gopakumar < govind.93 at gmail dot com> # Former Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> pkgname=mlpack -pkgver=3.0.0 +pkgver=3.0.1 pkgrel=1 pkgdesc='a scalable c++ machine learning library' arch=('i686' 'x86_64') url="http://www.mlpack.org" license=('BSD') -depends=('armadillo>=4.100.0' - 'boost>=1.49' - 'lapack' - 'libxml2>=2.6.0') -makedepends=('cmake>=2.8.5' 'txt2man') +depends=( + 'armadillo>=6.500.0' + 'boost>=1.49' + 'lapack' + 'libxml2>=2.6.0' + 'cython>=0.24' + 'python-numpy' + 'python-pandas>=0.15.0' +) +makedepends=( + 'cmake>=2.8.5' + 'txt2man' + 'python-setuptools' + 'python-pytest-runner' +) source=("http://www.mlpack.org/files/${pkgname}-${pkgver}.tar.gz") -sha256sums=('434f861a26efd37b55e28fc1662a1aad749ed5d927d9f91234a27af1f1756293') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i '/load_save_test.cpp/d' src/mlpack/tests/CMakeLists.txt -} +sha256sums=('74fe128e1c12fa760885def6ce8bee58e6c4dfd1364e186a60521c543654202f') build() { cd "${srcdir}/${pkgname}-${pkgver}" - cmake -D CMAKE_INSTALL_PREFIX="${pkgdir}/usr" -D DEBUG=OFF -D PROFILE=OFF . + cmake \ + -D CMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ + -D BUILD_PYTHON_BINDINGS=ON \ + . make } -check() { - cd "${srcdir}/${pkgname}-${pkgver}" +# check() { +# # Comment out check() if there are failed tests. If you consider it a bug, +# # please file an issue on upstream instead of AUR. - make mlpack_test - bin/mlpack_test -} +# cd "${srcdir}/${pkgname}-${pkgver}" + +# make mlpack_test +# bin/mlpack_test +# } package() { cd "${srcdir}/${pkgname}-${pkgver}" |