summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9e2c9ddd51d9b28d55c5cc31ac5ddd3a83cdafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>

pkgname=python-biom-format
pkgver=2.1.8
pkgrel=1
pkgdesc="The Biological Observation Matrix (BIOM) Format Project"
arch=('x86_64')
url="http://biom-format.org"
license=('BSD')
depends=('python-numpy' 'python-click' 'python-future' 'python-scipy' 'python-pandas' 'python-six' 'python-h5py')
makedepends=('python-setuptools' 'cython')
source=("https://github.com/biocore/biom-format/archive/${pkgver}.tar.gz")
sha256sums=('91cae2e11702c763eeb8a4e1db3cf120e7cdaae8cc38aaae7163be74e6cff77a')

prepare(){
  cd "biom-format-$pkgver"
  find . -iname "*.pyx" | xargs -n 1 cython
}

build() {
  cd "biom-format-$pkgver"
  python setup.py build
}


package(){
  cd "biom-format-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

# vim:ts=2:sw=2:et: