blob: e336235b352cb33576644927ebe14dc8f156c32d (
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
|
_pyname=panoramax_cli
pkgname=${_pyname}
pkgver=1.1.7
pkgrel=1
pkgdesc="CLI tool for uploading your pictures to Panoramax"
arch=(any)
url="https://gitlab.com/panoramax/clients/cli"
license=('MIT')
depends=('python>=3.9' 'python-geo-picture-tag-reader' 'python-httpx' 'python-packaging' 'python-qrcode' 'python-rich' 'python-tenacity' 'python-tomli' 'python-tomli-w' 'python-typer')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'python-flit-core')
optdepends=()
conflicts=()
source=("https://gitlab.com/panoramax/clients/cli/-/archive/${pkgver}/cli-${pkgver}.tar.gz")
b2sums=('1106deea99d14b9ac8e9cd9b3cbb29eb08b177b83ffc0fc32b81de16a252e9f5a0a94a5bc6669d065cc3ef5f3e80dc79c5ee103cf7e3e492ced2c9d7e13a69e9')
build() {
cd "cli-${pkgver}"
python -m build -wn
}
package() {
cd "cli-${pkgver}"
python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|