Skip to content

Commit

Permalink
added bcolz from git for Zstd compression support
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Feb 10, 2017
1 parent 81c19a6 commit 7e43aa7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mxnet-git/PKGBUILD
Expand Up @@ -5,7 +5,7 @@ pkgbase=mxnet-git
pkgname=('mxnet-git'
'python-mxnet-git'
'python2-mxnet-git')
pkgver=r4800.e086a1fc
pkgver=r4808.0f6d5834
pkgrel=1
url='https://github.com/dmlc/mxnet'
license=('APACHE')
Expand Down
1 change: 1 addition & 0 deletions opencv-cuda-git/PKGBUILD
Expand Up @@ -90,6 +90,7 @@ _cmakeopts=('-D WITH_OPENCL=ON'
'-D ENABLE_AVX2=ON'
'-D ENABLE_FMA3=ON'
'-D WITH_CUFFT=ON'
'-D WITH_LIBV4L=OFF' #For sme reason the first compilations fails at videodev.h and videoio.h not found. They do not exist since ages.
)

# SSE only available from Pentium 3 onwards (i686 is way older)
Expand Down
37 changes: 37 additions & 0 deletions python-bcolz-git/PKGBUILD
@@ -0,0 +1,37 @@
# Maintainer: Mamy Ratsimbazafy <mamy (dot) ratsimbazafy_pkgbuild [at] gadz (dot) org>

pkgname=python-bcolz-git
_pkgname=bcolz
pkgver=1.1.2.r7.g8df64b4
pkgrel=1
pkgdesc='A columnar data container that can be compressed. '
arch=('any')
url='https://github.com/Blosc/bcolz'
license=('custom:MIT')
depends=('python-numpy')
makedepends=('git' 'python-setuptools' 'cython')
conflicts=('python-bcolz')
provides=('python-bcolz')
source=('git://github.com/Blosc/bcolz'
)
md5sums=('SKIP' )

pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
cd $_pkgname

python setup.py build
}

package() {
cd $_pkgname

python setup.py install --root=${pkgdir} --optimize=1

install -D -m644 LICENSES/BCOLZ.txt ${pkgdir}/usr/share/licenses/python-bcolz
}

0 comments on commit 7e43aa7

Please sign in to comment.