void-packages/srcpkgs/python-podcastparser/template

33 lines
851 B
Bash

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