diff --git a/srcpkgs/python-numpy-stl/template b/srcpkgs/python-numpy-stl/template deleted file mode 100644 index ee3a572bbf8..00000000000 --- a/srcpkgs/python-numpy-stl/template +++ /dev/null @@ -1,41 +0,0 @@ -# Template file for 'python-numpy-stl' -pkgname=python-numpy-stl -version=2.11.2 -revision=1 -wrksrc="numpy-stl-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython" -makedepends="python-devel python3-devel python-numpy python3-numpy" -depends="python-setuptools python-numpy python-utils" -short_desc="Python2 library to make working with STL files fast and easy" -maintainer="Karl Nilsson " -license="BSD-3-Clause" -homepage="https://github.com/WoLpH/numpy-stl/" -distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz" -checksum=d1985a27fa8c28e5883bf9cb9c3c33a0ac7fad196fc6162d59c701ab18740ac4 - -alternatives=" - numpy-stl:stl:/usr/bin/stl2 - numpy-stl:stl2ascii:/usr/bin/stl2ascii2 - numpy-stl:stl2bin:/usr/bin/stl2bin2" - -pre_build() { - sed -i '/setup_requires=/d' setup.py -} -pkg_install() { - vlicense LICENSE -} - -python3-numpy-stl_package() { - alternatives=" - numpy-stl:stl:/usr/bin/stl3 - numpy-stl:stl2ascii:/usr/bin/stl2ascii3 - numpy-stl:stl2bin:/usr/bin/stl2bin3" - depends="python3-setuptools python3-numpy python3-utils" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-numpy-stl b/srcpkgs/python3-numpy-stl deleted file mode 120000 index e210603d86b..00000000000 --- a/srcpkgs/python3-numpy-stl +++ /dev/null @@ -1 +0,0 @@ -python-numpy-stl \ No newline at end of file diff --git a/srcpkgs/python3-numpy-stl/template b/srcpkgs/python3-numpy-stl/template new file mode 100644 index 00000000000..1693e0b6f2c --- /dev/null +++ b/srcpkgs/python3-numpy-stl/template @@ -0,0 +1,24 @@ +# Template file for 'python3-numpy-stl' +pkgname=python3-numpy-stl +version=2.11.2 +revision=1 +wrksrc="numpy-stl-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-Cython" +makedepends="python3-devel python3-numpy" +depends="python3-setuptools python3-numpy python3-utils" +short_desc="Python3 library to make working with STL files fast and easy" +maintainer="Karl Nilsson " +license="BSD-3-Clause" +homepage="https://github.com/WoLpH/numpy-stl/" +distfiles="https://github.com/WoLpH/numpy-stl/archive/v${version}.tar.gz" +checksum=d1985a27fa8c28e5883bf9cb9c3c33a0ac7fad196fc6162d59c701ab18740ac4 + +conflicts="python-numpy-stl>=0" + +pre_build() { + sed -i '/setup_requires=/d' setup.py +} +pkg_install() { + vlicense LICENSE +}