diff --git a/srcpkgs/python-podcastparser/template b/srcpkgs/python-podcastparser/template index 61702f0d28b..58fd20d3f73 100644 --- a/srcpkgs/python-podcastparser/template +++ b/srcpkgs/python-podcastparser/template @@ -1,19 +1,23 @@ # Template file for 'python-podcastparser' pkgname=python-podcastparser -version=0.6.4 -revision=3 +version=0.6.5 +revision=1 archs=noarch wrksrc="podcastparser-${version}" build_style=python-module -pycompile_module="podcastparser.py" hostmakedepends="python-devel python3-devel" depends="python" +checkdepends="python3-nose python3-coverage" short_desc="Simplified, fast RSS parsing library (Python2)" -maintainer="bra1nwave " +maintainer="bra1nwave " license="ISC" homepage="https://github.com/gpodder/podcastparser" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=fac02a56b755f81c11f186bec5a6f813671e600f413ade7ea9690e47eb27bd69 +checksum=4f97dde70ce2ab775f66c0feb94f26b6e52b40a67f717cd465140d4c0896177a + +do_check() { + nosetests3 -v +} post_install() { vlicense LICENSE @@ -21,11 +25,10 @@ post_install() { python3-podcastparser_package() { short_desc="${short_desc/Python2/Python3}" - pycompile_module="podcastparser.py" archs=noarch depends="python3" pkg_install() { - vmove usr/lib/python3* + vmove "usr/lib/python3*" vlicense LICENSE } }