diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template new file mode 100644 index 00000000000..405659ddbfa --- /dev/null +++ b/srcpkgs/python-mpd2/template @@ -0,0 +1,29 @@ +# Template file for 'python-mpd2' +pkgname=python-mpd2 +version=0.5.4 +revision=1 +noarch=yes +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="mpd2" +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python-devel python3.4-devel" +depends="python" +short_desc="Provides a client interface for the Music Player Daemon" +maintainer="Jens E. Becker <v2px@v2px.de>" +homepage="https://github.com/Mic92/python-mpd2" +license="GPL-3" +distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" +checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53 + +python3.4-mpd2_package() { + noarch=yes + depends="python3.4" + pycompile_version="3.4" + pycompile_module="mpd2" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + } +} + diff --git a/srcpkgs/python3.4-mpd2 b/srcpkgs/python3.4-mpd2 new file mode 120000 index 00000000000..27660282c4e --- /dev/null +++ b/srcpkgs/python3.4-mpd2 @@ -0,0 +1 @@ +python-mpd2 \ No newline at end of file diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template new file mode 100644 index 00000000000..777769e688c --- /dev/null +++ b/srcpkgs/sonata/template @@ -0,0 +1,17 @@ +# Template file for 'sonata' +pkgname=sonata +version=1.7a2 +revision=1 +noarch=yes +build_style=python-module +python_versions="3.4" +pycompile_module="sonata" +hostmakedepends="python3.4-setuptools" +depends="python3.4 python3.4-mpd2 python3.4-gobject gtk+3 ${hostmakedepends}" +short_desc="An elegant GTK 3 client for the Music Player Daemon" +maintainer="Jens E. Becker <v2px@v2px.de>" +homepage="http://www.nongnu.org/sonata/" +license="GPL-3" +distfiles="https://github.com/multani/sonata/archive/v${version}.tar.gz" +checksum=40314225aa4700741e28e9770cf3753399a9e557468b66d1d56d59f4f73138e2 +