diff --git a/srcpkgs/python-pylast/template b/srcpkgs/python-pylast/template new file mode 100644 index 00000000000..e84a88df257 --- /dev/null +++ b/srcpkgs/python-pylast/template @@ -0,0 +1,27 @@ +# Template file for 'python-pylast' +pkgname=python-pylast +version=1.4.2 +revision=1 +wrksrc=pylast-${version} +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python" +pycompile_module="pylast" +short_desc="Python2 interface to last.fm and libre.fm" +maintainer="Jürgen Buchmüller " +license="Apache-2.0" +homepage="https://github.com/pylast/pylast" +distfiles="${PYPI_SITE}/p/pylast/pylast-${version}.tar.gz" +checksum=e4bd8f9c8eef5662b2b03d61846c4c13b56a7b1c169476fe96c1a0e58d66da3b + +python3.4-pylast_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="pylast" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-pylast b/srcpkgs/python3.4-pylast new file mode 120000 index 00000000000..d76d8a0567f --- /dev/null +++ b/srcpkgs/python3.4-pylast @@ -0,0 +1 @@ +python-pylast \ No newline at end of file