blob: 95a1d909995fc88cf195716aadc0ef239b680b4f (
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.4.3
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=('62ae55d291089f2287a95edc48cdeb135bd2d162beee1866fa3276bb9ca2e93b')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m hatchling build
}
check() {
cd "$srcdir/${pkgname}-${pkgver}"
pytest -o addopts=""
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|