[arch-commits] Commit in python-pytables/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Oct 23 17:38:57 UTC 2018
Date: Tuesday, October 23, 2018 @ 17:38:56
Author: archange
Revision: 398694
archrelease: copy trunk to community-x86_64
Added:
python-pytables/repos/community-x86_64/PKGBUILD
(from rev 398693, python-pytables/trunk/PKGBUILD)
Deleted:
python-pytables/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 135 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-23 17:38:41 UTC (rev 398693)
+++ PKGBUILD 2018-10-23 17:38:56 UTC (rev 398694)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Sebastien Binet <binet at cern.ch>
-
-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/*
-}
-
Copied: python-pytables/repos/community-x86_64/PKGBUILD (from rev 398693, python-pytables/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-23 17:38:56 UTC (rev 398694)
@@ -0,0 +1,67 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Sebastien Binet <binet at cern.ch>
+
+pkgbase=python-pytables
+pkgname=('python2-pytables' 'python-pytables')
+pkgver=3.4.4
+pkgrel=4
+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/*
+}
+
More information about the arch-commits
mailing list