blob: 32417788f81f1605b4840d59f210993e00edc151 (
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
|
pkgname='python-simplemma'
_module='simplemma'
_src_folder='simplemma-1.1.2'
pkgver='1.1.2'
pkgrel=1
pkgdesc="A lightweight toolkit for multilingual lemmatization and language detection."
url="None"
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
license=('custom:MIT License')
arch=('any')
source=("https://files.pythonhosted.org/packages/16/58/81fc31ae8a83a2c422ca51784825b8b2d1ebdf068e351d364fedd9707307/simplemma-1.1.2.tar.gz")
sha256sums=('8549eefc288b25262c38027ef09f2db28ee0355b2a0cc62c1a8abbe948ef72bd')
build() {
cd "${srcdir}/${_src_folder}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_src_folder}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|