summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 186199238a125f1f36c98a6de472a21e482ece39 (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
# Maintainer: Dian M Fay <dian.m.fay@gmail.com>
_name=pydruid
pkgname=python-pydruid
pkgver=0.6.1
pkgrel=1
pkgdesc="A Python connector for Apache Druid"
arch=("any")
url="https://pypi.python.org/pypi/$_name"
license=("MIT")
depends=("python")
makedepends=("python-setuptools")
conflicts=("${pkgname}" "${pkgname}-git")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('d815725ecabaff20fc580c6b516327eb8f122c4f28a3e561ea978322dbe7b652')

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

package() {
  cd "${srcdir}/${_name}-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1 || return 1
}