blob: 7d91eb07629e19c218ae64b5b72624a076aeadf2 (
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: Lex Black <autumn-wind@web.de>
_module=salinic
pkgname=python-${_module}
pkgver=0.6.0
pkgrel=1
pkgdesc="provides modular search and features a unified API that allows to plug in different search backends"
arch=(any)
url="https://github.com/papermerge/salinic"
license=(Apache)
depends=(python-pydantic python-requests python-xapian)
makedepends=(python-build python-installer python-wheel python-poetry-core)
source=(https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module//-/_}-$pkgver.tar.gz)
sha256sums=('b9db7e889178874a4d808bde01f2a82282af13861afa6ffdf9dea54366dffd72')
build() {
cd "${_module//-/_}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_module//-/_}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|