# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Todd Maynard <arch@toddmaynard.com>

pkgname=python-formencode
pkgver=1.2.2
pkgrel=1
pkgdesc="HTML form validation, generation, and conversion package for python"
arch=('any')
license=('PSF')
url="http://formencode.org"
depends=('python2')
makedepends=('setuptools')
source=("http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-${pkgver}.tar.gz")
md5sums=('da23d54af521d1feab12b4caf30e3111')

package() {
  cd "${srcdir}/FormEncode-${pkgver}"
  python2 setup.py install --root="${pkgdir}" install

  echo "/usr/lib/python2.6/site-packages/FormEncode-${pkgver}-py2.6.egg" >\
    "${pkgdir}/usr/lib/python2.6/site-packages/${pkgname}.pth"
}

# vim:set ts=2 sw=2 et:
