From f986d5c108d47e32ad809babde05f57b09bdba67 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 24 Dec 2019 00:34:46 +0100 Subject: [PATCH] python3-tables: update to 3.6.1, make python3 only. --- srcpkgs/python-tables/template | 49 --------------------------------- srcpkgs/python3-tables | 1 - srcpkgs/python3-tables/template | 22 +++++++++++++++ 3 files changed, 22 insertions(+), 50 deletions(-) delete mode 100644 srcpkgs/python-tables/template delete mode 120000 srcpkgs/python3-tables create mode 100644 srcpkgs/python3-tables/template diff --git a/srcpkgs/python-tables/template b/srcpkgs/python-tables/template deleted file mode 100644 index 5f61fe8fb8..0000000000 --- a/srcpkgs/python-tables/template +++ /dev/null @@ -1,49 +0,0 @@ -# Template file for 'python-tables' -pkgname=python-tables -version=3.5.2 -revision=2 -wrksrc="${pkgname#*-}-${version}" -build_style=python-module -pycompile_module="tables" -# XXX: c-blosc (using internal for now) -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel python-numpy python3-numpy - python-Cython python3-Cython hdf5-devel lzo-devel bzip2-devel" -depends="python-setuptools python-numpy python-numexpr python-six" -short_desc="Hierarchical datasets for Python2" -maintainer="pulux " -license="BSD-3-Clause" -homepage="http://www.pytables.org/" -# changelog=$homepage/release-notes/RELEASE_NOTES_v3.4.x.html -distfiles="${PYPI_SITE}/t/tables/tables-${version}.tar.gz" -checksum=b220e32262bab320aa41d33125a7851ff898be97c0de30b456247508e2cc33c2 - -alternatives=" - tables:pt2to3:/usr/bin/python2-pt2to3 - tables:ptdump:/usr/bin/ptdump2 - tables:ptrepack:/usr/bin/ptrepack2 - tables:pttree:/usr/bin/pttree2" - -post_install() { - vlicense LICENSE.txt LICENSE - # XXX: override the default naming scheme for pt2to3 - cp -a ${DESTDIR}/usr/bin/{,python3-}pt2to3 - mv ${DESTDIR}/usr/bin/{,python2-}pt2to3 -} - -python3-tables_package() { - alternatives=" - tables:pt2to3:/usr/bin/python3-pt2to3 - tables:ptdump:/usr/bin/ptdump3 - tables:ptrepack:/usr/bin/ptrepack3 - tables:pttree:/usr/bin/pttree3" - pycompile_module="tables" - depends="python3-setuptools python3-numpy python3-numexpr python3-six" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/python3-pt2to3 - vmove usr/bin/pt*3 - vmove usr/lib/python3* - vlicense LICENSE.txt LICENSE - } -} diff --git a/srcpkgs/python3-tables b/srcpkgs/python3-tables deleted file mode 120000 index 7669d9ef0d..0000000000 --- a/srcpkgs/python3-tables +++ /dev/null @@ -1 +0,0 @@ -python-tables \ No newline at end of file diff --git a/srcpkgs/python3-tables/template b/srcpkgs/python3-tables/template new file mode 100644 index 0000000000..4d19273d06 --- /dev/null +++ b/srcpkgs/python3-tables/template @@ -0,0 +1,22 @@ +# Template file for 'python3-tables' +pkgname=python3-tables +version=3.6.1 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +pycompile_module="tables" +# XXX: c-blosc (using internal for now) +hostmakedepends="python3-setuptools" +makedepends="python3-devel python3-numpy python3-Cython hdf5-devel lzo-devel bzip2-devel" +depends="python3-setuptools python3-numpy python3-numexpr python3-six" +short_desc="Hierarchical datasets for Python3" +maintainer="pulux " +license="BSD-3-Clause" +homepage="http://www.pytables.org/" +# changelog=$homepage/release-notes/RELEASE_NOTES_v3.4.x.html +distfiles="${PYPI_SITE}/t/tables/tables-${version}.tar.gz" +checksum=49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49 + +post_install() { + vlicense LICENSE.txt LICENSE +}