blob: 1ac32213c93fd4bdbf420a4d070dc990b5482e16 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Mohamar Rios <mohamar.rios@gmail.com>
pkgname=graphlab-create
pkgver=2.1
pkgrel=1
pkgdesc="Graphlab Create is an extensible machine learning framework."
arch=('x86_64')
url="https://turi.com"
license=('custom')
depends=('python2'
'ipython2-notebook'
'python2-boto'
'python2-decorator'
'python2-tornado'
'python2-prettytable'
'python2-requests'
'python2-aws-cli'
'python2-sseclient'
'python2-multipledispatch'
'python2-certifi'
'python2-jsonschema'
'python2-genson')
makedepends=('python2-setuptools')
options=(!emptydirs)
provides=("${pkgname}")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('347d8649b8f368ccca258ac2e14687a3eb926abbe348eaa9180ca93594dc0eb1')
prepare() {
echo "#########################################################"
echo "# Graphlab Create is only available to licensed users #"
echo "# Students, researchers, and educators may #"
echo "# obtain a free academic license for #"
echo "# non-commercial use from the website #"
echo "# Licenses may be installed with the package: #"
echo "# graphlab-create-license #"
echo "#########################################################"
echo
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
# vim: ft=sh syn=sh et
|