diff options
author | Erich Eckner <git@eckner.net> | 2019-05-10 11:51:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-10 11:51:00 +0200 |
commit | 77466fc34ca253f25f5f2ec25db0e02edde8a28f (patch) | |
tree | 686dd257222a961f70b492840adba614f5531b9f /python2-scikit-learn | |
parent | 1c3cc1ab668b6719e4f7ef59b67c9a5e67d8523a (diff) | |
download | archlinuxewe.git.save-77466fc34ca253f25f5f2ec25db0e02edde8a28f.tar.xz |
python2-scikit-learn: removed - no longer available
Diffstat (limited to 'python2-scikit-learn')
-rw-r--r-- | python2-scikit-learn/PKGBUILD | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/python2-scikit-learn/PKGBUILD b/python2-scikit-learn/PKGBUILD deleted file mode 100644 index 0add0e51..00000000 --- a/python2-scikit-learn/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Andrzej Giniewicz <gginiu@gmail.com> - -pkgname=python2-scikit-learn -pkgver=0.20.3 -pkgrel=1 -pkgdesc="A set of python modules for machine learning and data mining" -arch=('x86_64' i686 pentium4) -url="http://scikit-learn.sourceforge.net/" -license=('BSD') -makedepends=('python2-setuptools' 'cython2') -options=(!emptydirs) - -source=("https://github.com/scikit-learn/scikit-learn/archive/${pkgver}.tar.gz") -sha256sums=('cadeefa9a824671bdcad790a075efbaa0d5a00458c43c9b4ce7110b129df7b10') - -depends=('python2-scipy') -optdepends=('python2-matplotlib: for examples with plotting') - -prepare() { - cd "$srcdir/scikit-learn-$pkgver" - - find . -name '*.py' -exec \ - sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ - -i {} + -} - -build() { - msg "Building Python2" - cd "$srcdir"/scikit-learn-$pkgver - python2 setup.py build -} - -package() { - - cd "$srcdir"/scikit-learn-$pkgver - - python2 setup.py install --root="$pkgdir"/ --optimize=1 - - install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - # See FS#49651 - install -d "$pkgdir"/usr/share/doc/$pkgname - cp -r doc/tutorial "$pkgdir"/usr/share/doc/$pkgname/tutorial -} |