From 3e5dc4a5c5fbd7752435d1315c86e7f8e54c9916 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Sun, 29 Oct 2017 15:37:03 +0100 Subject: [PATCH] New package: python-podcastparser-0.6.1 --- srcpkgs/python-podcastparser/template | 29 +++++++++++++++++++++++++++ srcpkgs/python3-podcastparser | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-podcastparser/template create mode 120000 srcpkgs/python3-podcastparser diff --git a/srcpkgs/python-podcastparser/template b/srcpkgs/python-podcastparser/template new file mode 100644 index 00000000000..d4247c34d80 --- /dev/null +++ b/srcpkgs/python-podcastparser/template @@ -0,0 +1,29 @@ +# 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 " +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 + } +} diff --git a/srcpkgs/python3-podcastparser b/srcpkgs/python3-podcastparser new file mode 120000 index 00000000000..b517fc3a3b2 --- /dev/null +++ b/srcpkgs/python3-podcastparser @@ -0,0 +1 @@ +python-podcastparser \ No newline at end of file