void-packages/srcpkgs/python-podcastparser/template
2017-10-29 19:09:13 +01:00

30 lines
804 B
Bash

# Template file for 'python-podcastparser'
pkgname=python-podcastparser
version=0.6.1
revision=1
noarch=yes
wrksrc=podcastparser-${version}
build_style=python-module
pycompile_module="podcastparser"
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel"
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=ddc07890e57864300dc3334bcf9b18d66797aed233baa176b6fad9e5e57f5624
post_install() {
vlicense LICENSE
}
python3-podcastparser_package() {
short_desc+="${short_desc/Python2/Python3}"
pycompile_module="podcastparser"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}