[arch-commits] Commit in python-blosc/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Jul 30 12:19:50 UTC 2016
Date: Saturday, July 30, 2016 @ 12:19:50
Author: aginiewicz
Revision: 184660
upgpkg: python-blosc 1.4.1-1
python-blosc: new upstream release
Modified:
python-blosc/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-30 12:15:36 UTC (rev 184659)
+++ PKGBUILD 2016-07-30 12:19:50 UTC (rev 184660)
@@ -3,7 +3,7 @@
pkgbase=python-blosc
pkgname=('python2-blosc' 'python-blosc')
-pkgver=1.3.2
+pkgver=1.4.1
pkgrel=1
pkgdesc="A Python wrapper for the extremely fast Blosc compression library"
arch=('i686' 'x86_64')
@@ -10,13 +10,13 @@
url="http://python-blosc.blosc.org/"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools' 'blosc')
-source=("https://pypi.python.org/packages/source/b/blosc/blosc-${pkgver}.tar.gz")
-md5sums=('d87100614b8423b542958ba1900c9e7b')
+source=("https://github.com/Blosc/python-blosc/archive/v${pkgver}.tar.gz")
+md5sums=('5feb0794cb7f8d8b85d047da108bdaf7')
prepare() {
cd "$srcdir"
- cp -a blosc-${pkgver} blosc-py2-${pkgver}
- cd blosc-py2-${pkgver}
+ 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|" \
@@ -26,12 +26,12 @@
build() {
msg "Building Python2"
- cd "$srcdir"/blosc-py2-${pkgver}
+ cd "$srcdir"/${pkgbase}-py2-${pkgver}
python2 setup.py build_ext --inplace --blosc=/usr
python2 setup.py build
msg "Building Python3"
- cd "$srcdir"/blosc-${pkgver}
+ cd "$srcdir"/${pkgbase}-${pkgver}
python setup.py build_ext --inplace --blosc=/usr
python setup.py build
}
@@ -39,7 +39,7 @@
package_python2-blosc() {
depends=('python2' 'blosc')
- cd "$srcdir"/blosc-py2-${pkgver}
+ cd "$srcdir"/${pkgbase}-py2-${pkgver}
python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
@@ -49,7 +49,7 @@
package_python-blosc() {
depends=('python' 'blosc')
- cd "$srcdir"/blosc-${pkgver}
+ cd "$srcdir"/${pkgbase}-${pkgver}
python setup.py install --skip-build --root="$pkgdir" --optimize=1
More information about the arch-commits
mailing list