blob: da1eaa22e0651241195a5101c491fd8beef497d9 (
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
|
# Maintainer: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land>
_pkgname=spacy-loggers
pkgname=python-${_pkgname}
pkgver=1.0.5
pkgrel=1
pkgdesc="Logging utilities for spaCy"
arch=(x86_64 aarch64)
url="https://github.com/explosion/spacy-loggers"
license=(MIT)
depends=(python)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
source=(
"https://github.com/explosion/${_pkgname}/archive/refs/tags/v${pkgver}.zip"
)
b2sums=("ab9268f712092ff18355a2068031efaa153dcf41e34c0b4452aae982a30788616cbf577fccffd6cf03ddc881f4c2dd7ad0b2bdb482e22995f6a76a7fd15de811")
build() {
cd "${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|