diff --git a/srcpkgs/python-appdirs/template b/srcpkgs/python-appdirs/template deleted file mode 100644 index 68f8fa5cb4..0000000000 --- a/srcpkgs/python-appdirs/template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'python-appdirs' -pkgname=python-appdirs -version=1.4.4 -revision=1 -archs=noarch -wrksrc="${pkgname/python-//}-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python2 module for determining appropriate platform-specific dirs" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/ActiveState/appdirs/" -distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz" -checksum=7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 - -do_check() { - python2 setup.py test -} - -post_install() { - vlicense LICENSE.txt -} - -python3-appdirs_package() { - archs=noarch - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-appdirs b/srcpkgs/python3-appdirs deleted file mode 120000 index a759b105cd..0000000000 --- a/srcpkgs/python3-appdirs +++ /dev/null @@ -1 +0,0 @@ -python-appdirs \ No newline at end of file diff --git a/srcpkgs/python3-appdirs/template b/srcpkgs/python3-appdirs/template new file mode 100644 index 0000000000..20ba0a1dd2 --- /dev/null +++ b/srcpkgs/python3-appdirs/template @@ -0,0 +1,22 @@ +# Template file for 'python3-appdirs' +pkgname=python3-appdirs +version=1.4.4 +revision=2 +wrksrc="appdirs-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 module for determining appropriate platform-specific dirs" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/ActiveState/appdirs/" +distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz" +checksum=7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 + +do_check() { + python2 setup.py test +} + +post_install() { + vlicense LICENSE.txt +}