blob: d92ac69f55b3f09d95e42ccf6f5d2508b825c9bb (
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
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flask-peewee
_pkgname=flask-peewee
pkgver=0.6.5
pkgrel=0
pkgdesc="Flask integration for peewee"
url="http://pypi.python.org/pypi/flask-peewee"
arch="noarch"
license="MIT"
depends="python py-flask py-peewee"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="6f3af829967026c0e20b5e34dbde2426 flask-peewee-0.6.5.tar.gz"
sha256sums="7b39fac44b86e057a44fc059193e444cefbf3aa7807ba3022fa090ac50ce89c2 flask-peewee-0.6.5.tar.gz"
sha512sums="4e1f01d78d1c778cd95a784920d8cfbddc712b8224d93cd0dfe566ee007b781dc4b353bb27c4240475234660363b2b77093d504bf5ef90f358e116f8373020d5 flask-peewee-0.6.5.tar.gz"
|