blob: ee1bf644a9345e953a247eb8c538c9e7dc58534b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: otaj
#
# Thanks to Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com> for
# his PKGBUILD that served as a base for this one
pkgdesc="Python utilities to download and parse the MNIST dataset"
pkgname=python-mnist
pkgver=0.2.2
pkgrel=1
arch=(any)
url='https://github.com/datapythonista/mnist'
license=(BSD3)
makedepends=(
'python-setuptools'
)
options=(!emptydirs)
source=("https://github.com/datapythonista/mnist/archive/mnist-${pkgver}.tar.gz")
sha256sums=('f779d6b11d0aa7617b648b3579f010951d41fd30de7b4e2d7570f434529dce52')
package_python-mnist() {
depends=('python-numpy')
cd "${srcdir}/mnist-mnist-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|