1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/py3-rofi: new aport

https://github.com/bcbnz/python-rofi
Python module to make simple GUIs with Rofi
This commit is contained in:
fossdd 2025-05-31 20:09:12 +02:00 committed by omni
parent 9350c45314
commit daed8b19ec

36
testing/py3-rofi/APKBUILD Normal file
View file

@ -0,0 +1,36 @@
maintainer="fossdd <fossdd@pwned.life>"
pkgname=py3-rofi
pkgver=1.0.1
pkgrel=0
pkgdesc="Python module to make simple GUIs with Rofi"
url="https://github.com/bcbnz/python-rofi"
arch="noarch"
license="MIT"
depends="rofi"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/bcbnz/python-rofi/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/python-rofi-$pkgver"
options="!check" # no tests
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="
34b736bf667c66c7ee06768bb81a136ca461630fa91a3d3e9ad4e6518609941618af269756ead9d78ee951ba2c04f70efab74813c1ef7f70fc6768bc1072124f py3-rofi-1.0.1.tar.gz
"