From 2e0c71df7253b315b806a49af84d887fe0cff29f Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 20:17:40 +0100 Subject: [PATCH 01/11] New package: python-mpd2 --- srcpkgs/python-mpd2/template | 34 ++++++++++++++++++++++++++++++++++ srcpkgs/python3.4-mpd2 | 1 + 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/python-mpd2/template create mode 120000 srcpkgs/python3.4-mpd2 diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template new file mode 100644 index 00000000000..331070354a0 --- /dev/null +++ b/srcpkgs/python-mpd2/template @@ -0,0 +1,34 @@ +# Template file for 'python-mpd2' +pkgname=python-mpd2 +version=0.5.4 +revision=1 +noarch=yes +wrksrc="${pkgname}-${version}" +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="A Python library which provides a client interface for the Music Player Daemon." +maintainer="" +homepage="https://github.com/Mic92/python-mpd2" +license="GPL-3" +distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" +checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53 + +post_install() { + vlicense GPL.txt LICENSE +} + +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 From 7a0a4c1c46ee0328e2227cfe736c10092cf62334 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 21:46:07 +0100 Subject: [PATCH 02/11] New package: sonata --- srcpkgs/sonata/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/sonata/template diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template new file mode 100644 index 00000000000..9c039f4b7b6 --- /dev/null +++ b/srcpkgs/sonata/template @@ -0,0 +1,22 @@ +# Template file for 'sonata' +pkgname=sonata +version=1.7a2 +revision=1 +noarch=yes +wrksrc="${pkgname}-${version}" +build_style=python-module +python_versions="3.4" +pycompile_module="sonata" +hostmakedepends="python3.4-setuptools" +depends="python3.4 python3.4-mpd2 python3.4-gobject ${hostmakedepends}" +short_desc="An elegant GTK 3 client for the Music Player Daemon" +maintainer="Jens E. Becker " +homepage="http://www.nongnu.org/sonata/" +license="GPL-3" +distfiles="https://github.com/multani/sonata/archive/v${version}.tar.gz" +checksum=40314225aa4700741e28e9770cf3753399a9e557468b66d1d56d59f4f73138e2 + +post_install() { + vlicense COPYING LICENSE +} + From 3b77ee1fc94300872edaaf2302d8af8e153c9511 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 21:51:27 +0100 Subject: [PATCH 03/11] python-mpd2: set maintainer in template --- srcpkgs/python-mpd2/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 331070354a0..39a098ffa8f 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -11,7 +11,7 @@ hostmakedepends="python-setuptools python3.4-setuptools" makedepends="python-devel python3.4-devel" depends="python" short_desc="A Python library which provides a client interface for the Music Player Daemon." -maintainer="" +maintainer="Jens E. Becker " homepage="https://github.com/Mic92/python-mpd2" license="GPL-3" distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" From 669033997e69b2956e0dfae13f6c630cb35896c0 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 21:52:27 +0100 Subject: [PATCH 04/11] python-mpd2: template formatting --- srcpkgs/python-mpd2/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 39a098ffa8f..61a3c6e8725 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -10,7 +10,7 @@ pycompile_module="mpd2" hostmakedepends="python-setuptools python3.4-setuptools" makedepends="python-devel python3.4-devel" depends="python" -short_desc="A Python library which provides a client interface for the Music Player Daemon." +short_desc="A Python library which provides a client interface for the Music Player Daemon" maintainer="Jens E. Becker " homepage="https://github.com/Mic92/python-mpd2" license="GPL-3" @@ -18,7 +18,7 @@ distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53 post_install() { - vlicense GPL.txt LICENSE + vlicense GPL.txt LICENSE } python3.4-mpd2_package() { From 41c32c3f6a9e86cb8438b8c4f83b1dd9f713f943 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 21:53:51 +0100 Subject: [PATCH 05/11] python-mpd2: shorter short_desc --- srcpkgs/python-mpd2/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 61a3c6e8725..106a12ac1b6 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -10,7 +10,7 @@ pycompile_module="mpd2" hostmakedepends="python-setuptools python3.4-setuptools" makedepends="python-devel python3.4-devel" depends="python" -short_desc="A Python library which provides a client interface for the Music Player Daemon" +short_desc="Provides a client interface for the Music Player Daemon" maintainer="Jens E. Becker " homepage="https://github.com/Mic92/python-mpd2" license="GPL-3" From 979eb32e1828425cce48b3f3bce9a800d6aac150 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 22:06:48 +0100 Subject: [PATCH 06/11] python-mpd2: template formatting (tabs) --- srcpkgs/python-mpd2/template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 106a12ac1b6..9e0e59a779f 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -18,17 +18,17 @@ distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53 post_install() { - vlicense GPL.txt LICENSE + vlicense GPL.txt LICENSE } 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 - } + 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 + } } From ffb2563f82ec9c849f0bea5ae18957ea88044963 Mon Sep 17 00:00:00 2001 From: v2px Date: Fri, 16 Jan 2015 22:22:26 +0100 Subject: [PATCH 07/11] sonata: adds gtk+3 dependency --- srcpkgs/sonata/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template index 9c039f4b7b6..0a29f467542 100644 --- a/srcpkgs/sonata/template +++ b/srcpkgs/sonata/template @@ -8,7 +8,7 @@ build_style=python-module python_versions="3.4" pycompile_module="sonata" hostmakedepends="python3.4-setuptools" -depends="python3.4 python3.4-mpd2 python3.4-gobject ${hostmakedepends}" +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 " homepage="http://www.nongnu.org/sonata/" From 1e906b30d51625fcabe63c62b985fbe25fa4706d Mon Sep 17 00:00:00 2001 From: v2px Date: Sat, 17 Jan 2015 12:21:47 +0100 Subject: [PATCH 08/11] sonata: removes unnecessary vlicense statement (GPL) --- srcpkgs/sonata/template | 4 ---- 1 file changed, 4 deletions(-) diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template index 0a29f467542..d746df050c8 100644 --- a/srcpkgs/sonata/template +++ b/srcpkgs/sonata/template @@ -16,7 +16,3 @@ license="GPL-3" distfiles="https://github.com/multani/sonata/archive/v${version}.tar.gz" checksum=40314225aa4700741e28e9770cf3753399a9e557468b66d1d56d59f4f73138e2 -post_install() { - vlicense COPYING LICENSE -} - From 71eeee48e635b1be7a13c8778c257c58b41999b0 Mon Sep 17 00:00:00 2001 From: v2px Date: Sat, 17 Jan 2015 12:22:08 +0100 Subject: [PATCH 09/11] python-mpd2: removes unnecessary vlicense statement (GPL) --- srcpkgs/python-mpd2/template | 4 ---- 1 file changed, 4 deletions(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 9e0e59a779f..310a39c1ca1 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -17,10 +17,6 @@ license="GPL-3" distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" checksum=04dbc3b8d90746298e42852c5b7fb5be5e7af2ca03e812059639b6c060d98c53 -post_install() { - vlicense GPL.txt LICENSE -} - python3.4-mpd2_package() { noarch=yes depends="python3.4" From 16364c80daa81c62e5551e31e5a4ddfc26110f93 Mon Sep 17 00:00:00 2001 From: v2px Date: Sat, 17 Jan 2015 12:22:48 +0100 Subject: [PATCH 10/11] python-mpd2: removes redundant worksrc --- srcpkgs/python-mpd2/template | 1 - 1 file changed, 1 deletion(-) diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template index 310a39c1ca1..405659ddbfa 100644 --- a/srcpkgs/python-mpd2/template +++ b/srcpkgs/python-mpd2/template @@ -3,7 +3,6 @@ pkgname=python-mpd2 version=0.5.4 revision=1 noarch=yes -wrksrc="${pkgname}-${version}" build_style=python-module python_versions="2.7 3.4" pycompile_module="mpd2" From 3dbd82520d68c7ed676787e98521c40014c2dd57 Mon Sep 17 00:00:00 2001 From: v2px Date: Sat, 17 Jan 2015 12:23:09 +0100 Subject: [PATCH 11/11] sonata: removes redundant worksrc --- srcpkgs/sonata/template | 1 - 1 file changed, 1 deletion(-) diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template index d746df050c8..777769e688c 100644 --- a/srcpkgs/sonata/template +++ b/srcpkgs/sonata/template @@ -3,7 +3,6 @@ pkgname=sonata version=1.7a2 revision=1 noarch=yes -wrksrc="${pkgname}-${version}" build_style=python-module python_versions="3.4" pycompile_module="sonata"