# Maintainer: Daniel Langbein # Python APKGBUILD template: https://github.com/alpinelinux/aports/blob/master/community/py3-vt-py/APKBUILD # Different 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 # APKGBUILD reference: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference pkgname=py3-nextcast pkgver=0.0.1 pkgrel=1 pkgdesc="Nextcloud Podcast Client" url="https://git.privacy1st.de/langfingaz/nextcast" # all: all architectures # noarch: architecture independent, e.g. pure Python arch="noarch" license="MIT" # Requirements for tests are not available in main #options="!check" # TODO: simple-term-menu depends=" py3-requests py3-pymediainfo py3-feedparser " makedepends="py3-build py3-installer py3-setuptools py3-wheel" source="$pkgname-$pkgver.tar.gz::https://git.privacy1st.de/langfingaz/nextcast/archive/nextcast-$pkgver.tar.gz" subpackages="$pkgname-pyc" # $srcdir: The directory where sources, from the source variable, are downloaded to and unpacked to. # $builddir: This variable should point to the directory inside $srcdir where the main package source is unpacked. builddir="$srcdir/nextcast-$pkgver" build() { #cd $builddir python3 -m build --wheel --skip-dependency-check --no-isolation } package() { #cd $builddir python3 -m installer --destdir="$pkgdir" dist/*.whl } sha256sums=" 444b527dc4f2ef6460724a38cef3cebd9e0872c1 nextcast-0.0.1.tar.gz "