[arch-commits] Commit in python-pytables/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Apr 12 14:43:53 UTC 2020


    Date: Sunday, April 12, 2020 @ 14:43:53
  Author: archange
Revision: 613413

archrelease: copy trunk to community-x86_64

Added:
  python-pytables/repos/community-x86_64/PKGBUILD
    (from rev 613412, python-pytables/trunk/PKGBUILD)
Deleted:
  python-pytables/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-12 14:43:44 UTC (rev 613412)
+++ PKGBUILD	2020-04-12 14:43:53 UTC (rev 613413)
@@ -1,26 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-pkgname=python-pytables
-pkgver=3.6.1
-pkgrel=2
-pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data"
-arch=(x86_64)
-url="https://www.pytables.org"
-license=("BSD")
-depends=(blosc lzo hdf5 python-numexpr)
-makedepends=(python-setuptools cython)
-source=("https://github.com/PyTables/PyTables/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('4cea86bab5bcb5423a07c7951b8c65e24b674e0dcec0e448d434829eff5f18d0')
-
-build() {
-  cd PyTables-${pkgver}
-  python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr
-}
-
-package() {
-  cd PyTables-${pkgver}
-  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: python-pytables/repos/community-x86_64/PKGBUILD (from rev 613412, python-pytables/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-12 14:43:53 UTC (rev 613413)
@@ -0,0 +1,32 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+pkgname=python-pytables
+pkgver=3.6.1
+pkgrel=3
+pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data"
+arch=(x86_64)
+url="https://www.pytables.org"
+license=("BSD")
+depends=(blosc lzo hdf5 python-numexpr)
+makedepends=(python-setuptools cython)
+source=("https://github.com/PyTables/PyTables/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('4cea86bab5bcb5423a07c7951b8c65e24b674e0dcec0e448d434829eff5f18d0')
+
+build() {
+  cd PyTables-${pkgver}
+  python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr
+}
+
+check() {
+  local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  cd PyTables-${pkgver}/build/lib.linux-${CARCH}-${python_version}
+  PYTHONPATH="." python -m tables.tests.test_all  
+}
+
+package() {
+  cd PyTables-${pkgver}
+  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list