# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setvar pkgname = 'py-peewee' setvar _pkgname = 'peewee' setvar pkgver = '2.3.1' setvar pkgrel = '0' setvar pkgdesc = ""A small, expressive Object-relational mapping"" setvar url = ""https://github.com/coleifer/peewee"" setvar arch = ""noarch"" setvar license = ""MIT"" setvar depends = ""python2"" setvar depends_dev = """" setvar makedepends = ""python2-dev py-setuptools"" setvar install = """" setvar subpackages = """" setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$_pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.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 } setvar md5sums = ""a2f2fd5ff14e6f2a6382ade6142a3154 peewee-2.3.1.tar.gz"" setvar sha256sums = ""894a7d0aab5bd384f4c2948079050c136d9f381bb74ea9937aa54b2652478afc peewee-2.3.1.tar.gz"" setvar sha512sums = ""ff585be03fc48ffb37b58c23c98981fe9e8944182361213de97243d85862c8807318bd37d6009900edc40a105b1720757ba2595093cf51b0e8b9b4e1bf3ee9f9 peewee-2.3.1.tar.gz""