blob: 06341dad977e4cd2a6af707498918ae7d8afac42 (
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
|
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=py3-spacy
pkgver=2.2.3
pkgrel=0
pkgdesc="Industrial-strength Natural Language Processing (NLP)"
url="https://spacy.io/"
arch="x86_64" # limited by py3-blis as it has highly optimized routines for x86_64 only
# and py3-srsly as it does not pass tests for x86 and aarch64, reported upstream
license="MIT"
depends="
python3
py3-numpy
py3-jsonschema
py3-thinc
py3-srsly
py3-tqdm
py3-wasabi
py3-pyrsistent
py3-plac
py3-catalogue
"
makedepends="python3-dev py3-setuptools cython py3-requests"
checkdepends="py3-pytest py3-pytest-timeout py3-mock py3-flake8"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/explosion/spaCy/archive/v$pkgver.tar.gz"
builddir=$srcdir/spaCy-$pkgver
build() {
python3 setup.py build_ext --inplace
}
check() {
pytest-3 spacy
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
sha512sums="244e4634d296e59f423c6c267534a21948dc0b9143af8e984348132ca36499ea2c2beba345cd9c92c0b7b01c2ed02570488c147433d6276772dcd93f730c66b6 py3-spacy-2.2.3.tar.gz"
|