diff --git a/srcpkgs/python-rarfile/template b/srcpkgs/python-rarfile/template deleted file mode 100644 index 83ff75c6e03..00000000000 --- a/srcpkgs/python-rarfile/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-rarfile' -pkgname=python-rarfile -version=4.0 -revision=1 -archs=noarch -wrksrc="rarfile-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="RAR archive reader for Python (Python2)" -maintainer="Daniel Santana " -license="ISC" -homepage="https://github.com/markokr/rarfile" -changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst" -distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz" -checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1 - -post_install() { - vlicense LICENSE -} - -python3-rarfile_package() { - archs=noarch - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-rarfile b/srcpkgs/python3-rarfile deleted file mode 120000 index e93143007a3..00000000000 --- a/srcpkgs/python3-rarfile +++ /dev/null @@ -1 +0,0 @@ -python-rarfile \ No newline at end of file diff --git a/srcpkgs/python3-rarfile/template b/srcpkgs/python3-rarfile/template new file mode 100644 index 00000000000..071cbfbb1ad --- /dev/null +++ b/srcpkgs/python3-rarfile/template @@ -0,0 +1,19 @@ +# Template file for 'python3-rarfile' +pkgname=python3-rarfile +version=4.0 +revision=2 +wrksrc="rarfile-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="RAR archive reader for Python (Python3)" +maintainer="Daniel Santana " +license="ISC" +homepage="https://github.com/markokr/rarfile" +changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst" +distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz" +checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1 + +post_install() { + vlicense LICENSE +}