[arch-commits] Commit in python-blosc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:19:55 UTC 2019
Date: Monday, November 4, 2019 @ 06:19:55
Author: felixonmars
Revision: 523365
archrelease: copy trunk to community-staging-x86_64
Added:
python-blosc/repos/community-staging-x86_64/
python-blosc/repos/community-staging-x86_64/PKGBUILD
(from rev 523364, python-blosc/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-blosc/repos/community-staging-x86_64/PKGBUILD (from rev 523364, python-blosc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-11-04 06:19:55 UTC (rev 523365)
@@ -0,0 +1,28 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-blosc'
+pkgver=1.8.1
+pkgrel=5
+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() {
+ 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