[arch-commits] Commit in python-h5py/repos (6 files)

Ronald van Haren ronald at archlinux.org
Thu Apr 14 07:55:45 UTC 2016


    Date: Thursday, April 14, 2016 @ 09:55:45
  Author: ronald
Revision: 170917

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-h5py/repos/community-staging-i686/
  python-h5py/repos/community-staging-i686/DOCS_LICENSE.txt
    (from rev 170916, python-h5py/trunk/DOCS_LICENSE.txt)
  python-h5py/repos/community-staging-i686/PKGBUILD
    (from rev 170916, python-h5py/trunk/PKGBUILD)
  python-h5py/repos/community-staging-x86_64/
  python-h5py/repos/community-staging-x86_64/DOCS_LICENSE.txt
    (from rev 170916, python-h5py/trunk/DOCS_LICENSE.txt)
  python-h5py/repos/community-staging-x86_64/PKGBUILD
    (from rev 170916, python-h5py/trunk/PKGBUILD)

-------------------------------------------+
 community-staging-i686/DOCS_LICENSE.txt   |   25 +++++++++++
 community-staging-i686/PKGBUILD           |   62 ++++++++++++++++++++++++++++
 community-staging-x86_64/DOCS_LICENSE.txt |   25 +++++++++++
 community-staging-x86_64/PKGBUILD         |   62 ++++++++++++++++++++++++++++
 4 files changed, 174 insertions(+)

Copied: python-h5py/repos/community-staging-i686/DOCS_LICENSE.txt (from rev 170916, python-h5py/trunk/DOCS_LICENSE.txt)
===================================================================
--- community-staging-i686/DOCS_LICENSE.txt	                        (rev 0)
+++ community-staging-i686/DOCS_LICENSE.txt	2016-04-14 07:55:45 UTC (rev 170917)
@@ -0,0 +1,25 @@
+Summary
+=======
+
+The h5py documentation is licensed under the Creative Commons "BY" license.
+This license allows you to reproduce and create derivative works based on the
+documentation contained in this directory, provided you acknowledge the h5py
+authors when you do so.
+
+We suggest you use the following method of acknowledgement:
+
+****************************************************
+HDF5 for Python Documentation
+Copyright 2008-2011 Andrew Collette and contributers
+http://h5py.alfven.org
+****************************************************
+
+License Terms
+=============
+
+The text of this license is available on the Creative Commons website:
+http://creativecommons.org/licenses/by/3.0/legalcode
+
+A non-official summary is also available:
+http://creativecommons.org/licenses/by/3.0/
+

Copied: python-h5py/repos/community-staging-i686/PKGBUILD (from rev 170916, python-h5py/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-04-14 07:55:45 UTC (rev 170917)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Rich Li <rich at dranek.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-h5py
+pkgname=(python-h5py python2-h5py)
+pkgver=2.6.0
+pkgrel=2
+pkgdesc="General-purpose Python bindings for the HDF5 library"
+url="http://www.h5py.org/"
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('cython' 'cython2' 'hdf5' 'python-numpy' 'python2-numpy' 'python-six' 'python2-six')
+source=("https://pypi.python.org/packages/source/h/h5py/h5py-$pkgver.tar.gz"
+        DOCS_LICENSE.txt)
+md5sums=('ec476211bd1de3f5ac150544189b0bf4'
+         '747a856995bb271af44733b2fdab642b')
+
+prepare() {
+  # Remove RPATH
+  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" h5py-$pkgver/setup_build.py
+
+  cp -a h5py-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-h5py() {
+  depends=('hdf5' 'python-numpy' 'python-six' 'cython')
+  conflicts=('hdf5-openmpi' 'python-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -D "$srcdir"/DOCS_LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h5py() {
+  depends=('hdf5' 'python2-numpy' 'python2-six' 'cython2')
+  conflicts=('hdf5-openmpi' 'python2-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -D "$srcdir"/DOCS_LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: python-h5py/repos/community-staging-x86_64/DOCS_LICENSE.txt (from rev 170916, python-h5py/trunk/DOCS_LICENSE.txt)
===================================================================
--- community-staging-x86_64/DOCS_LICENSE.txt	                        (rev 0)
+++ community-staging-x86_64/DOCS_LICENSE.txt	2016-04-14 07:55:45 UTC (rev 170917)
@@ -0,0 +1,25 @@
+Summary
+=======
+
+The h5py documentation is licensed under the Creative Commons "BY" license.
+This license allows you to reproduce and create derivative works based on the
+documentation contained in this directory, provided you acknowledge the h5py
+authors when you do so.
+
+We suggest you use the following method of acknowledgement:
+
+****************************************************
+HDF5 for Python Documentation
+Copyright 2008-2011 Andrew Collette and contributers
+http://h5py.alfven.org
+****************************************************
+
+License Terms
+=============
+
+The text of this license is available on the Creative Commons website:
+http://creativecommons.org/licenses/by/3.0/legalcode
+
+A non-official summary is also available:
+http://creativecommons.org/licenses/by/3.0/
+

Copied: python-h5py/repos/community-staging-x86_64/PKGBUILD (from rev 170916, python-h5py/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-04-14 07:55:45 UTC (rev 170917)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Rich Li <rich at dranek.com>
+# Contributor: Sebastien Binet <binet at lblbox>
+
+pkgbase=python-h5py
+pkgname=(python-h5py python2-h5py)
+pkgver=2.6.0
+pkgrel=2
+pkgdesc="General-purpose Python bindings for the HDF5 library"
+url="http://www.h5py.org/"
+arch=('i686' 'x86_64')
+license=('BSD')
+makedepends=('cython' 'cython2' 'hdf5' 'python-numpy' 'python2-numpy' 'python-six' 'python2-six')
+source=("https://pypi.python.org/packages/source/h/h5py/h5py-$pkgver.tar.gz"
+        DOCS_LICENSE.txt)
+md5sums=('ec476211bd1de3f5ac150544189b0bf4'
+         '747a856995bb271af44733b2fdab642b')
+
+prepare() {
+  # Remove RPATH
+  sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" h5py-$pkgver/setup_build.py
+
+  cp -a h5py-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-h5py() {
+  depends=('hdf5' 'python-numpy' 'python-six' 'cython')
+  conflicts=('hdf5-openmpi' 'python-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -D "$srcdir"/DOCS_LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-h5py() {
+  depends=('hdf5' 'python2-numpy' 'python2-six' 'cython2')
+  conflicts=('hdf5-openmpi' 'python2-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -D "$srcdir"/DOCS_LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list