void-packages/srcpkgs/castero/template
2021-10-09 08:01:49 -04:00

33 lines
1 KiB
Bash

# Template file for 'castero'
pkgname=castero
version=0.9.4
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
# taken from https://github.com/xgi/castero/blob/master/requirements.txt,
# minus the test dependencies
depends="python3-mpv python3-requests python3-grequests python3-cjkwrap
python3-lxml python3-BeautifulSoup4 python3-pytz"
checkdepends="python3-pytest $depends"
short_desc="TUI podcast client for the terminal"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://github.com/xgi/castero"
changelog="https://raw.githubusercontent.com/xgi/castero/master/CHANGELOG.md"
distfiles="https://github.com/xgi/castero/archive/v${version}.tar.gz"
checksum=53df64e3dfa407c78c46907339d068b3649be62fc9f3a3ce76a803658843f88d
# Remove requirement of python3-vlc
# as we can use python3-mpv instead,
# also because python*-vlc is not in repo
post_patch() {
vsed -e '/python-vlc/d' -i setup.py
}
pre_check() {
rm tests/test_player_vlcplayer.py
}
post_install() {
vlicense LICENSE.txt LICENSE
}