mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +02:00
49 lines
1 KiB
Text
49 lines
1 KiB
Text
maintainer="Hoang Nguyen <folliekazetani@protonmail.com>"
|
|
pkgname=dooit
|
|
pkgver=3.2.2
|
|
pkgrel=0
|
|
pkgdesc="TUI todo manager"
|
|
url="https://dooit-org.github.io/dooit/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
python3
|
|
py3-click
|
|
py3-dateutil
|
|
py3-platformdirs
|
|
py3-pyperclip
|
|
py3-sqlalchemy
|
|
py3-textual
|
|
py3-tzlocal
|
|
py3-yaml
|
|
"
|
|
makedepends="py3-gpep517 py3-poetry-core"
|
|
checkdepends="
|
|
py3-faker
|
|
py3-pytest
|
|
py3-pytest-asyncio
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/dooit-org/dooit/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d7abfe74a9c5771748709fce93a9c4da401bff995dc8cbc2d74e8a1ded21f9afd81f0c043c5750cb8bb9582c90682b95bcacc3bf8f901d2974fe67a4abc98018 dooit-3.2.2.tar.gz
|
|
"
|