blob: ce32fb15df6c8760ce97b222fbbdd44ca4a7161c (
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
|
# Maintainer: Philip Goto <philip.goto@gmail.com>
# Contributor: Chris Brendel <cdbrendel@gmail.com>
_pkgname=spacy
pkgname=python-${_pkgname}
pkgver=3.1.0
pkgrel=1
pkgdesc='Free open-source library for Natural Language Processing in Python'
arch=(x86_64 aarch64)
url='https://spacy.io/'
license=(MIT)
depends=(
python-catalogue
python-cymem
python-jinja
python-murmurhash
python-numpy
python-pathlib
python-plac
python-preshed
python-regex
python-requests
python-srsly
python-thinc
python-tqdm
python-typer
python-ujson
python-wasabi
)
makedepends=(
python-pip
python-wheel
cython
)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('e3705da42f99e63f02cee244364ad3ad4ace3fac5cf1151b72592755f8ffe3cc')
build() {
cd "spacy-${pkgver}"
python setup.py build
}
package() {
cd "spacy-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|