31 lines
822 B
Bash
31 lines
822 B
Bash
# Template file for 'python-podcastparser'
|
|
pkgname=python-podcastparser
|
|
version=0.6.4
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="podcastparser-${version}"
|
|
build_style=python-module
|
|
pycompile_module="podcastparser.py"
|
|
hostmakedepends="python-devel python3-devel"
|
|
depends="python"
|
|
short_desc="Simplified, fast RSS parsing library (Python2)"
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
license="ISC"
|
|
homepage="https://github.com/gpodder/podcastparser"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=fac02a56b755f81c11f186bec5a6f813671e600f413ade7ea9690e47eb27bd69
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-podcastparser_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pycompile_module="podcastparser.py"
|
|
archs=noarch
|
|
depends="python3"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|