# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> setvar pkgname = 'py-colander' setvar _pkgname = 'colander' setvar pkgver = '1.0' setvar pkgrel = '0' setvar pkgdesc = ""A simple schema-based Python serialization and deserialization library"" setvar url = ""http://docs.pylonsproject.org/projects/colander/en/latest/"" setvar arch = ""noarch"" setvar license = ""BSD"" 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 = ""058576123da7216288c079c9f47693f8 colander-1.0.tar.gz"" setvar sha256sums = ""7389413266b9e680c9529c16d56284edf87e0d5de557948e75f41d65683c23b3 colander-1.0.tar.gz"" setvar sha512sums = ""f361520a12ebec4271580fe5be002bfbdd38fcd4cfb29fa41b9c37308636343dd25595f2e0bd8099bc96583d25644d2039996efefd9c0060fe39f3c46394a4f7 colander-1.0.tar.gz""