blob: 2f63ceb9f42ae574fd083ec9992789fdfd72243d (
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
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: hikyae <h1ky43@gmail.com>
pkgname=schedrem
pkgver=1.3.1
pkgrel=1
pkgdesc='A cross-platform task scheduler and reminder configured in YAML.'
arch=(any)
url='https://github.com/hikyae/schedrem'
license=(MIT)
depends=(
python
python-psutil
python-pyaudio
python-pydantic
python-pyyaml
python-watchdog
)
makedepends=(
python-hatchling
python-installer
)
checkdepends=(
python-freezegun
python-pytest
)
source=($pkgname-$pkgver.tar.gz::https://github.com/hikyae/schedrem/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('e5360ff7404c3f5d0e9dc7d1953f732004a4f900d09389f21856abf6aef607e1')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m hatchling build
}
check() {
cd "$srcdir/${pkgname}-${pkgver}"
pytest
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|