diff --git a/srcpkgs/python-chroot/template b/srcpkgs/python-chroot/template deleted file mode 100644 index 7faa0f4cce9..00000000000 --- a/srcpkgs/python-chroot/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-chroot' -pkgname=python-chroot -version=0.9.18 -revision=2 -archs=noarch -wrksrc="pychroot-${version}" -build_style=python-module -pycompile_module="pychroot" -hostmakedepends="python-setuptools python3-setuptools python-snakeoil python3-snakeoil" -depends="python-snakeoil" -short_desc="Python2 Library and CLI tool that simplify chroot handling" -maintainer="Toyam Cox " -license="BSD" -homepage="https://github.com/pkgcore/pychroot" -#changelog="https://github.com/pkgcore/pychroot/blob/master/NEWS.rst" -distfiles="${PYPI_SITE}/p/pychroot/pychroot-${version}.tar.gz" -checksum=ec78082c9ea8a30733ac1cf9773431fe118fb4cbeaf1098572c3b8e4e16eb7aa -alternatives="chroot:pychroot:/usr/bin/pychroot2" - -post_install() { - vlicense LICENSE -} - -python3-chroot_package() { - archs=noarch - depends="python3-snakeoil" - short_desc="${short_desc/Python2/Python3}" - alternatives="chroot:pychroot:/usr/bin/pychroot3" - pkg_install() { - vmove usr/lib/python3* - vmove usr/bin/pychroot3 - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-chroot b/srcpkgs/python3-chroot deleted file mode 120000 index f9c14f8f07b..00000000000 --- a/srcpkgs/python3-chroot +++ /dev/null @@ -1 +0,0 @@ -python-chroot \ No newline at end of file diff --git a/srcpkgs/python3-chroot/template b/srcpkgs/python3-chroot/template new file mode 100644 index 00000000000..ff679c914cf --- /dev/null +++ b/srcpkgs/python3-chroot/template @@ -0,0 +1,20 @@ +# Template file for 'python3-chroot' +pkgname=python3-chroot +version=0.9.18 +revision=3 +wrksrc="pychroot-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-snakeoil" +depends="python3-snakeoil" +short_desc="Python3 Library and CLI tool that simplify chroot handling" +maintainer="Toyam Cox " +license="BSD-3-Clause" +homepage="https://github.com/pkgcore/pychroot" +#changelog="https://github.com/pkgcore/pychroot/blob/master/NEWS.rst" +distfiles="${PYPI_SITE}/p/pychroot/pychroot-${version}.tar.gz" +checksum=ec78082c9ea8a30733ac1cf9773431fe118fb4cbeaf1098572c3b8e4e16eb7aa +conflicts="python-chroot>=0" + +post_install() { + vlicense LICENSE +}