summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrkcf2019-05-13 19:14:51 -0700
committerrkcf2019-05-13 19:14:51 -0700
commit719a412ada75381435050bf749f5733fbc3c456e (patch)
tree1d3034c5c1cff7834f090292ea96e292d5e64ef5
parent96b5d2ceec05479bf31fbf674d2d43678a3bc53a (diff)
downloadaur-719a412ada75381435050bf749f5733fbc3c456e.tar.gz
update to v0.9
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD26
2 files changed, 27 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 56f143b1c84..00bf9460125 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,19 @@
pkgbase = python-eve
- pkgdesc = An open source Python REST API framework designed for human beings.
- pkgver = 0.5.3
+ pkgdesc = An open source Python REST API framework designed for human beings
+ pkgver = 0.9
pkgrel = 1
url = http://python-eve.org/
arch = any
license = BSD
makedepends = python-setuptools
- provides = python-eve
- options = !emptydirs
- source = https://pypi.python.org/packages/source/E/Eve/Eve-0.5.3.tar.gz
- sha256sums = 623e89bc551eee0fa4b2325ec17eef2cf13d019475befb8a425d62f1117619fb
+ depends = python-flask
+ depends = python-simplejson
+ depends = python-pymongo
+ depends = python-cerberus
+ depends = python-events
+ conflicts = python-eve-git
+ source = https://github.com/pyeve/eve/archive/v0.9.tar.gz
+ md5sums = 04d237d2995f6fcd1cada5f095931377
pkgname = python-eve
diff --git a/PKGBUILD b/PKGBUILD
index b207edc5651..a617ea5c2d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,28 @@
-# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
+# Maintainer: Andrew Steinke <rkcf@rkcf.me>
+# Contributor: Sigmund Vestergaard <sigmundv at gmail dot com>
+
pkgname=python-eve
-pkgver=0.5.3
+_pkgname=eve
+pkgver=0.9
pkgrel=1
-pkgdesc="An open source Python REST API framework designed for human beings."
+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' 'python-events')
makedepends=('python-setuptools')
-provides=('python-eve')
-options=(!emptydirs)
-source=("https://pypi.python.org/packages/source/E/Eve/Eve-${pkgver}.tar.gz")
-sha256sums=('623e89bc551eee0fa4b2325ec17eef2cf13d019475befb8a425d62f1117619fb')
+conflicts=('python-eve-git')
+source=("https://github.com/pyeve/$_pkgname/archive/v$pkgver.tar.gz")
+md5sums=('04d237d2995f6fcd1cada5f095931377')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build
+}
package() {
- cd "$srcdir/Eve-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --skip-build --optimize=1
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}