[arch-commits] Commit in python-blosc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Oct 3 18:36:24 UTC 2019
Date: Thursday, October 3, 2019 @ 18:36:24
Author: aginiewicz
Revision: 512539
archrelease: copy trunk to community-x86_64
Added:
python-blosc/repos/community-x86_64/PKGBUILD
(from rev 512538, python-blosc/trunk/PKGBUILD)
Deleted:
python-blosc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++-------------------------------------------
1 file changed, 28 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 18:36:21 UTC (rev 512538)
+++ PKGBUILD 2019-10-03 18:36:24 UTC (rev 512539)
@@ -1,63 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-blosc
-pkgname=('python2-blosc' 'python-blosc')
-pkgver=1.8.1
-pkgrel=1
-pkgdesc="A Python wrapper for the extremely fast Blosc compression library"
-arch=('x86_64')
-url="http://python-blosc.blosc.org/"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'blosc')
-source=("https://github.com/Blosc/python-blosc/archive/v${pkgver}.tar.gz")
-sha256sums=('302ec8da715a2058f1e1bd3349cb5dd201c50270e99c04afed5ab0ae998507be')
-
-prepare() {
- cd "$srcdir"
- cp -a ${pkgbase}-${pkgver} ${pkgbase}-py2-${pkgver}
- cd ${pkgbase}-py2-${pkgver}
-
- sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- -i $(find . -name '*.py')
-}
-
-build() {
- export BLOSC_DIR=/usr
-
- # "Building Python2"
- cd "$srcdir"/${pkgbase}-py2-${pkgver}
- python2 setup.py build_clib
- python2 setup.py build_ext --inplace
- python2 setup.py build
-
- # "Building Python3"
- cd "$srcdir"/${pkgbase}-${pkgver}
- python setup.py build_clib
- python setup.py build_ext --inplace
- python setup.py build
-}
-
-package_python2-blosc() {
- depends=('python2' 'blosc')
- optdepends=('python2-numpy: for tests and benchmarks')
-
- cd "$srcdir"/${pkgbase}-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSES/PYTHON-BLOSC.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-blosc() {
- depends=('python' 'blosc')
- optdepends=('python-numpy: for tests and benchmarks')
-
- cd "$srcdir"/${pkgbase}-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSES/PYTHON-BLOSC.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-blosc/repos/community-x86_64/PKGBUILD (from rev 512538, python-blosc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 18:36:24 UTC (rev 512539)
@@ -0,0 +1,28 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-blosc'
+pkgver=1.8.1
+pkgrel=3
+pkgdesc="A Python wrapper for the extremely fast Blosc compression library"
+arch=('x86_64')
+url="http://python-blosc.blosc.org/"
+license=('MIT')
+depends=('python' 'blosc')
+optdepends=('python-numpy: for tests and benchmarks')
+makedepends=('python-setuptools')
+source=("https://github.com/Blosc/python-blosc/archive/v${pkgver}.tar.gz")
+sha256sums=('302ec8da715a2058f1e1bd3349cb5dd201c50270e99c04afed5ab0ae998507be')
+
+build() {
+ cd "$srcdir"/${pkgbase}-${pkgver}
+ export BLOSC_DIR=/usr
+ python setup.py build_clib
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+package_python-blosc() {
+ cd "$srcdir"/${pkgbase}-${pkgver}
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSES/PYTHON-BLOSC.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list