diff --git a/srcpkgs/python-mpd2/template b/srcpkgs/python-mpd2/template deleted file mode 100644 index 0389f8c2a28..00000000000 --- a/srcpkgs/python-mpd2/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-mpd2' -pkgname=python-mpd2 -version=1.0.0 -revision=2 -archs=noarch -build_style=python-module -pycompile_module="mpd" -hostmakedepends="python-setuptools python3-setuptools" -checkdepends="python-Twisted python-mock" -depends="python" -short_desc="Python2 MPD client library" -maintainer="Jens E. Becker " -homepage="https://github.com/Mic92/python-mpd2" -license="LGPL-2.1-or-later" -distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" -checksum=877fa1685a56815107cb0b1eb004e7fe261b620fafd4d38cdaa2b6f3edd35928 - -do_check() { - python2 -m unittest mpd.tests -} - -python3-mpd2_package() { - archs=noarch - depends="python3" - pycompile_module="mpd" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-mpd2 b/srcpkgs/python3-mpd2 deleted file mode 120000 index 27660282c4e..00000000000 --- a/srcpkgs/python3-mpd2 +++ /dev/null @@ -1 +0,0 @@ -python-mpd2 \ No newline at end of file diff --git a/srcpkgs/python3-mpd2/template b/srcpkgs/python3-mpd2/template new file mode 100644 index 00000000000..794212831f7 --- /dev/null +++ b/srcpkgs/python3-mpd2/template @@ -0,0 +1,19 @@ +# Template file for 'python3-mpd2' +pkgname=python3-mpd2 +version=1.0.0 +revision=3 +wrksrc=python-mpd2-$version +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-Twisted python3-mock" +short_desc="Python3 MPD client library" +maintainer="Jens E. Becker " +license="LGPL-2.1-or-later" +homepage="https://github.com/Mic92/python-mpd2" +distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz" +checksum=877fa1685a56815107cb0b1eb004e7fe261b620fafd4d38cdaa2b6f3edd35928 + +do_check() { + python3 -m unittest mpd.tests +}