blob: 7625cb06c724f127b78f297bf11941dba882021b (
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
|
pkgname="python-libtimed"
pkgver=0.6.5
pkgrel=1
pkgdesc="Python API for timed"
arch=("any")
url="https://github.com/adfinis/libtimed.git"
license=("AGPL3")
provides=("libtimed")
conflicts=("libtimed")
depends=("python>=3.10" "python-inflection>=0.5.1" "python-requests-cache>=1.1.0")
makedepends=("python-poetry" "python-installer" "git")
source=("git+${url}")
sha256sums=('SKIP')
pkgver(){
cd "${srcdir}/libtimed"
git describe --tags --long | sed 's/v//;s/-/.r/;s/-/./g'
}
build() {
cd "${srcdir}/libtimed"
poetry install
poetry build
}
package() {
cd "${srcdir}/libtimed"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|