35 lines
826 B
Bash
35 lines
826 B
Bash
# Template file for 'python-podcastparser'
|
|
pkgname=python-podcastparser
|
|
version=0.6.5
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="podcastparser-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-devel python3-devel"
|
|
depends="python"
|
|
checkdepends="python3-nose python3-coverage"
|
|
short_desc="Simplified, fast RSS parsing library (Python2)"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
license="ISC"
|
|
homepage="https://github.com/gpodder/podcastparser"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=4f97dde70ce2ab775f66c0feb94f26b6e52b40a67f717cd465140d4c0896177a
|
|
|
|
do_check() {
|
|
nosetests3 -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-podcastparser_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
archs=noarch
|
|
depends="python3"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
vlicense LICENSE
|
|
}
|
|
}
|