summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fee52703d7b27d387c04321cc1d71e42c6327557 (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
32
# Maintainer: Bernardo Gameiro <projects@bgameiro.me>

extension='avro'
pkgbase='python-intake-avro'
pkgname=('python-intake-avro')
pkgver=0.2.1 
pkgrel=1
pkgdesc='avro extension for intake'
arch=('any')
url='https://github.com/intake/intake-avro'
license=('BSD')
source=("https://files.pythonhosted.org/packages/source/i/intake-avro/intake-avro-$pkgver.tar.gz")
sha256sums=('741196488f0bc92b4d269a11f5d8fb502ff93d9eafde98d732ec7cd3a9e0daf3')
provides=("$pkgbase=$pkgver")

build() {
  cd "${srcdir}"/intake-$extension-$pkgver
  python setup.py build
} 

package_python-intake-avro() {
  depends=(
         'python>=3.8.0'
         'python-intake'
         'python-dask'
         'python-pandas'
         'python-fastavro'
	       'python-uavro')

  cd "${srcdir}"/intake-avro-$pkgver
  python setup.py install --root="${pkgdir}" --optimize=1
}