summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d30ee1b43224922a38409b08071595c4a7c235d (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
# Maintainer: Chris Brendel <cdbrendel@gmail.com>
# Python package author: Matthew Honnibal <matt@explosion.ai>
pkgname=python-thinc
_origpkgname=thinc
pkgver=7.0.2
pkgrel=1
pkgdesc="Practical Machine Learning for NLP"
arch=("x86_64")
url="https://github.com/explosion/thinc"
license=("MIT")
depends=("cython"
	"python-numpy"
	"python-msgpack-numpy-git"
	"python-cymem"
	"python-preshed"
	"python-murmurhash"
	"python-plac"
	"python-ujson"
	"python-dill"
	"python-pytest"
	"python-mock"
	"python-pathlib"
	"python"
	"python-hypothesis"
	"python-cytoolz"
    "python-toolz"
	"python-blis"
	"python-six"
	"python-tqdm"
	"python-wrapt"
)
makedepends=("python-setuptools")
optdepends=("python-spacy: examples")
source=("$pkgname-$pkgver.tar.gz::https://github.com/explosion/thinc/archive/v$pkgver.tar.gz")
md5sums=("2be40f65ec9a188bbd4121be69e74c56")

package() {
    cd "$_origpkgname-$pkgver"
    python setup.py install --root="${pkgdir}/" --optimize=1
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"    
}