# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setglobal pkgname = 'py-flask-peewee' setglobal _pkgname = 'flask-peewee' setglobal pkgver = '0.6.5' setglobal pkgrel = '0' setglobal pkgdesc = '"Flask integration for peewee'" setglobal url = '"http://pypi.python.org/pypi/flask-peewee'" setglobal arch = '"noarch'" setglobal license = '"MIT'" setglobal depends = '"python2 py-flask py-peewee'" setglobal depends_dev = ''"" setglobal makedepends = '"python2-dev py-setuptools'" setglobal install = ''"" setglobal subpackages = ''"" setglobal source = ""https://files.pythonhosted.org/packages/source/$(_pkgname:0:1)/$_pkgname/$_pkgname-$pkgver.tar.gz"" setglobal _builddir = ""$srcdir"/$_pkgname-$pkgver" proc prepare { local i cd $_builddir for i in [$source] { match $i { with *.patch msg $i; patch -p1 -i "$srcdir"/$i || return 1 } } } proc build { cd $_builddir python2 setup.py build || return 1 } proc package { cd $_builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setglobal md5sums = '"6f3af829967026c0e20b5e34dbde2426 flask-peewee-0.6.5.tar.gz'" setglobal sha256sums = '"7b39fac44b86e057a44fc059193e444cefbf3aa7807ba3022fa090ac50ce89c2 flask-peewee-0.6.5.tar.gz'" setglobal sha512sums = '"4e1f01d78d1c778cd95a784920d8cfbddc712b8224d93cd0dfe566ee007b781dc4b353bb27c4240475234660363b2b77093d504bf5ef90f358e116f8373020d5 flask-peewee-0.6.5.tar.gz'"