From 3b41c740929b25733c0964fd5774c1801df01131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 27 Feb 2016 18:27:13 +0100 Subject: [PATCH] New package: python-pylast-1.4.2 --- srcpkgs/python-pylast/template | 27 +++++++++++++++++++++++++++ srcpkgs/python3.4-pylast | 1 + 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/python-pylast/template create mode 120000 srcpkgs/python3.4-pylast 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