blob: 22cb890539fa48aeeb794f7f4592f8999ab1d16c (
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="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.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"
|