blob: 3d0982582919edaf1ce62137f8a161f9f9b5fdc9 (
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
|
# Maintainer: naether.markus[at]gmail.com
pkgname=python-sqltrie
pkgver=0.11.0
pkgrel=1
pkgdesc="SQL-based prefix tree implementation inspired by pygtrie and python-diskcache."
arch=('any')
url="https://github.com/iterative/sqltrie"
license=('Apache-2.0')
depends=(
'python'
)
makedepends=(
'python-build'
'python-installer'
)
source=("sqltrie-${pkgver}::git+${url}.git#tag=${pkgver}")
sha256sums=(
'SKIP'
)
build() {
cd "${srcdir}/sqltrie-${pkgver}"
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd "$srcdir/sqltrie-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/sqltrie"
}
|