nextcast/Alpine/APKGBUILD

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-11-09 14:58:04 +01:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
# Python APKGBUILD template: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/py3-requests/APKBUILD
# Alpine packaging with pmbootstrap: https://wiki.postmarketos.org/wiki/Packaging#Generate_a_template
# Parsing an APKGBUILD: https://wiki.postmarketos.org/wiki/Pmbootstrap_development_guide#Testing_the_APKBUILD_parser_after_changes
pkgname=py3-nextcast
pkgver=0.0.1
pkgrel=1
pkgdesc="Nextcloud Podcast Client"
url="https://git.privacy1st.de/langfingaz/nextcast"
arch="all"
license="MIT"
# Requirements for tests are not available in main
#options="!check"
# TODO: simple-term-menu
depends="
py3-requests
py3-pymediainfo
py3-feedparser
python3
"
makedepends="py3-build py3-twine"
source="https://git.privacy1st.de/langfingaz/nextcast/archive/nextcast-$pkgver.tar.gz"
builddir="$srcdir/nextcast-$pkgver"
build() {
python -m build --wheel --no-isolation
}
package() {
python -m installer --destdir="$pkgdir" dist/*.whl
}
sha256sums="
444b527dc4f2ef6460724a38cef3cebd9e0872c1 nextcast-0.0.1.tar.gz
"