blob: 7f0772f0eb9c7ff098fa990bba6150b0322ee2b5 (
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: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land>
pkgname=python-spacy-de_core_news_md
_pkg="${pkgname#python-spacy-}"
pkgver=3.7.0
pkgrel=1
pkgdesc="German pipeline optimized for CPU. Components: tok2vec, tagger, morphologizer, parser, lemmatizer (trainable_lemmatizer), senter, ner."
url="https://spacy.io/models/de#de_core_news_md"
depends=('python-spacy')
makedepends=('python-setuptools')
license=('MIT')
arch=(any)
source=("https://github.com/explosion/spacy-models/releases/download/$_pkg-$pkgver/$_pkg-$pkgver.tar.gz")
sha256sums=("138617ce795d5a412304e9221228b38379815af75876edd1bb815b34bc3fd8e2")
build() {
cd $_pkg-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_pkg-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|