[arch-commits] Commit in python-pytables/repos (2 files)
Date: Sunday, April 12, 2020 @ 15:08:33 Author: archange Revision: 613420 archrelease: copy trunk to community-staging-x86_64 Added: python-pytables/repos/community-staging-x86_64/ python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 613419, python-pytables/trunk/PKGBUILD) --+ PKGBUILD | 32 1 file changed, 32 insertions(+) Copied: python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 613419, python-pytables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-12 15:08:33 UTC (rev 613420) @@ -0,0 +1,32 @@ +# Maintainer: Andrzej Giniewicz +# Maintainer: Bruno Pagani +# Contributor: Sebastien Binet + +pkgname=python-pytables +pkgver=3.6.1 +pkgrel=5 +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}/ +}
[arch-commits] Commit in python-pytables/repos (2 files)
Date: Monday, November 4, 2019 @ 07:47:01 Author: felixonmars Revision: 523572 archrelease: copy trunk to community-staging-x86_64 Added: python-pytables/repos/community-staging-x86_64/ python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 523570, python-pytables/trunk/PKGBUILD) --+ PKGBUILD | 26 ++ 1 file changed, 26 insertions(+) Copied: python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 523570, python-pytables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-04 07:47:01 UTC (rev 523572) @@ -0,0 +1,26 @@ +# Maintainer: Andrzej Giniewicz +# Maintainer: Bruno Pagani +# Contributor: Sebastien Binet + +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}/ +}
[arch-commits] Commit in python-pytables/repos (2 files)
Date: Saturday, March 16, 2019 @ 20:54:59 Author: aginiewicz Revision: 442242 archrelease: copy trunk to community-staging-x86_64 Added: python-pytables/repos/community-staging-x86_64/ python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 442241, python-pytables/trunk/PKGBUILD) --+ PKGBUILD | 67 + 1 file changed, 67 insertions(+) Copied: python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 442241, python-pytables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-16 20:54:59 UTC (rev 442242) @@ -0,0 +1,67 @@ +# Maintainer: Andrzej Giniewicz +# Maintainer: Bruno Pagani +# Contributor: Sebastien Binet + +pkgbase=python-pytables +pkgname=('python2-pytables' 'python-pytables') +pkgver=3.5.1 +pkgrel=1 +arch=('x86_64') +pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" +url="https://www.pytables.org"; +license=("BSD") +makedepends=('lzo' 'hdf5' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'blosc' 'bzip2') +source=(${pkgbase}-${pkgver}::"https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz";) +sha256sums=('fda2e5071ce064ae1e808623e4c6166e6ab5f0f6152043991c5151d4e2622f2e') + +prepare() { + cd "$srcdir"/PyTables-$pkgver + + cd "${srcdir}" + cp -a PyTables-$pkgver PyTables-py2-$pkgver +} + +build() { + # "Building Python2" + cd "$srcdir"/PyTables-py2-$pkgver + python2 setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr + + # "Building Python3" + cd "$srcdir"/PyTables-$pkgver + python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr +} + +package_python2-pytables() { + depends=('lzo' 'hdf5' 'python2-numexpr' 'blosc') + + cd "$srcdir"/PyTables-py2-${pkgver} + python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#36015 and FS#44971 + mv "$pkgdir"/usr/bin/pt2to3{,-2.7} + mv "$pkgdir"/usr/bin/ptdump{,-2.7} + mv "$pkgdir"/usr/bin/ptrepack{,-2.7} + mv "$pkgdir"/usr/bin/pttree{,-2.7} + + # see FS#45975 + _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} + +package_python-pytables() { + depends=('lzo' 'hdf5' 'python-numexpr' 'blosc') + + cd "$srcdir"/PyTables-${pkgver} + python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#45975 + _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} +
[arch-commits] Commit in python-pytables/repos (2 files)
Date: Friday, August 24, 2018 @ 12:35:05 Author: archange Revision: 373717 archrelease: copy trunk to community-staging-x86_64 Added: python-pytables/repos/community-staging-x86_64/ python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 373716, python-pytables/trunk/PKGBUILD) --+ PKGBUILD | 68 + 1 file changed, 68 insertions(+) Copied: python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 373716, python-pytables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-24 12:35:05 UTC (rev 373717) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz +# Maintainer: Bruno Pagani +# Contributor: Sebastien Binet + +pkgbase=python-pytables +pkgname=('python2-pytables' 'python-pytables') +pkgver=3.4.4 +pkgrel=3 +arch=('x86_64') +pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" +url="http://www.pytables.org"; +license=("BSD") +makedepends=('lzo' 'hdf5' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'blosc' 'bzip2') +source=(${pkgbase}-${pkgver}::"https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz";) +sha256sums=('c9682c0f35d8175e12bbd38d925bdb606d47b7c8e358ba056a9dbf3b1f183114') + +prepare() { + cd "$srcdir"/PyTables-$pkgver + + cd "${srcdir}" + cp -a PyTables-$pkgver PyTables-py2-$pkgver +} + +build() { + msg "Building Python2" + cd "$srcdir"/PyTables-py2-$pkgver + python2 setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr + + msg "Building Python3" + cd "$srcdir"/PyTables-$pkgver + python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr +} + +package_python2-pytables() { + depends=('lzo' 'hdf5' 'python2-numexpr' 'blosc') + + cd "$srcdir"/PyTables-py2-${pkgver} + python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#36015 and FS#44971 + mv "$pkgdir"/usr/bin/pt2to3{,-2.7} + mv "$pkgdir"/usr/bin/ptdump{,-2.7} + mv "$pkgdir"/usr/bin/ptrepack{,-2.7} + mv "$pkgdir"/usr/bin/pttree{,-2.7} + + # see FS#45975 + _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} + +package_python-pytables() { + depends=('lzo' 'hdf5' 'python-numexpr' 'blosc') + + cd "$srcdir"/PyTables-${pkgver} + python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#45975 + _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} +
[arch-commits] Commit in python-pytables/repos (2 files)
Date: Sunday, July 8, 2018 @ 08:19:16 Author: felixonmars Revision: 354679 archrelease: copy trunk to community-staging-x86_64 Added: python-pytables/repos/community-staging-x86_64/ python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 354678, python-pytables/trunk/PKGBUILD) --+ PKGBUILD | 68 + 1 file changed, 68 insertions(+) Copied: python-pytables/repos/community-staging-x86_64/PKGBUILD (from rev 354678, python-pytables/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 08:19:16 UTC (rev 354679) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz +# Maintainer: Bruno Pagani +# Contributor: Sebastien Binet + +pkgbase=python-pytables +pkgname=('python2-pytables' 'python-pytables') +pkgver=3.4.4 +pkgrel=2 +arch=('x86_64') +pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" +url="http://www.pytables.org"; +license=("BSD") +makedepends=('lzo' 'hdf5' 'python2-numexpr' 'python-numexpr' 'python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'blosc' 'bzip2') +source=(${pkgbase}-${pkgver}::"https://github.com/PyTables/PyTables/archive/v${pkgver}.tar.gz";) +sha256sums=('c9682c0f35d8175e12bbd38d925bdb606d47b7c8e358ba056a9dbf3b1f183114') + +prepare() { + cd "$srcdir"/PyTables-$pkgver + + cd "${srcdir}" + cp -a PyTables-$pkgver PyTables-py2-$pkgver +} + +build() { + msg "Building Python2" + cd "$srcdir"/PyTables-py2-$pkgver + python2 setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr + + msg "Building Python3" + cd "$srcdir"/PyTables-$pkgver + python setup.py build --blosc=/usr --lzo=/usr --hdf5=/usr --bzip2=/usr +} + +package_python2-pytables() { + depends=('lzo' 'hdf5' 'python2-numexpr' 'blosc') + + cd "$srcdir"/PyTables-py2-${pkgver} + python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#36015 and FS#44971 + mv "$pkgdir"/usr/bin/pt2to3{,-2.7} + mv "$pkgdir"/usr/bin/ptdump{,-2.7} + mv "$pkgdir"/usr/bin/ptrepack{,-2.7} + mv "$pkgdir"/usr/bin/pttree{,-2.7} + + # see FS#45975 + _site_packages=`python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} + +package_python-pytables() { + depends=('lzo' 'hdf5' 'python-numexpr' 'blosc') + + cd "$srcdir"/PyTables-${pkgver} + python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # see FS#45975 + _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` + chmod a+rx "${pkgdir}${_site_packages}"/*.egg-info + chmod a+r "${pkgdir}${_site_packages}"/*.egg-info/* +} +