summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3dbf6422c82133d645d8e76cf62199710786f5ba (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
# Maintainer: Andrew Steinke <rkcf@rkcf.me>
# Contributor: Sigmund Vestergaard <sigmundv at gmail dot com>

pkgname=python-eve
_pkgname=eve
pkgver=1.1.4
pkgrel=1
pkgdesc="An open source Python REST API framework designed for human beings"
arch=('any')
url="http://python-eve.org/"
license=('BSD')
depends=('python-flask' 'python-simplejson' 'python-pymongo' 'python-cerberus<2.0' 'python-events')
makedepends=('python-setuptools')
conflicts=('python-eve-git')
source=("https://github.com/pyeve/$_pkgname/archive/v$pkgver.tar.gz")
md5sums=('4877afa4e26e9ba2b21d86d437ffcfd9')

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

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --skip-build --optimize=1
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

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