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

Felix Yan fyan at archlinux.org
Mon Nov 24 16:22:43 UTC 2014


    Date: Monday, November 24, 2014 @ 17:22:43
  Author: fyan
Revision: 123064

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 123063, python-h5py/trunk/DOCS_LICENSE.txt)
  python-h5py/repos/community-staging-i686/PKGBUILD
    (from rev 123063, python-h5py/trunk/PKGBUILD)
  python-h5py/repos/community-staging-x86_64/
  python-h5py/repos/community-staging-x86_64/DOCS_LICENSE.txt
    (from rev 123063, python-h5py/trunk/DOCS_LICENSE.txt)
  python-h5py/repos/community-staging-x86_64/PKGBUILD
    (from rev 123063, python-h5py/trunk/PKGBUILD)

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

Copied: python-h5py/repos/community-staging-i686/DOCS_LICENSE.txt (from rev 123063, python-h5py/trunk/DOCS_LICENSE.txt)
===================================================================
--- community-staging-i686/DOCS_LICENSE.txt	                        (rev 0)
+++ community-staging-i686/DOCS_LICENSE.txt	2014-11-24 16:22:43 UTC (rev 123064)
@@ -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 123063, python-h5py/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-24 16:22:43 UTC (rev 123064)
@@ -0,0 +1,59 @@
+# $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.3.1
+pkgrel=3
+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')
+source=("https://pypi.python.org/packages/source/h/h5py/h5py-$pkgver.tar.gz"
+        DOCS_LICENSE.txt)
+md5sums=('8f32f96d653e904d20f9f910c6d9dd91'
+         '747a856995bb271af44733b2fdab642b')
+
+prepare() {
+  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')
+  conflicts=('hdf5-openmpi' 'python-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1
+
+  install -D "$srcdir/DOCS_LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-h5py() {
+  depends=('hdf5' 'python2-numpy')
+  conflicts=('hdf5-openmpi' 'python2-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py install --prefix=/usr --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 123063, python-h5py/trunk/DOCS_LICENSE.txt)
===================================================================
--- community-staging-x86_64/DOCS_LICENSE.txt	                        (rev 0)
+++ community-staging-x86_64/DOCS_LICENSE.txt	2014-11-24 16:22:43 UTC (rev 123064)
@@ -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 123063, python-h5py/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-24 16:22:43 UTC (rev 123064)
@@ -0,0 +1,59 @@
+# $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.3.1
+pkgrel=3
+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')
+source=("https://pypi.python.org/packages/source/h/h5py/h5py-$pkgver.tar.gz"
+        DOCS_LICENSE.txt)
+md5sums=('8f32f96d653e904d20f9f910c6d9dd91'
+         '747a856995bb271af44733b2fdab642b')
+
+prepare() {
+  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')
+  conflicts=('hdf5-openmpi' 'python-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1
+
+  install -D "$srcdir/DOCS_LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-h5py() {
+  depends=('hdf5' 'python2-numpy')
+  conflicts=('hdf5-openmpi' 'python2-h5py-openmpi')
+
+  cd "$srcdir"/h5py-$pkgver-py2
+  python2 setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1
+
+  install -D "$srcdir/DOCS_LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list