# $Id: PKGBUILD 125653 2015-01-09 11:24:01Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Todd Maynard <arch@toddmaynard.com>

pkgname=python2-formencode
pkgver=1.3.0a1
pkgrel=2
pkgdesc='HTML form validation, generation, and conversion'
arch=('any')
license=('PSF')
url='http://formencode.org'
depends=('python2')
makedepends=('setuptools')
replaces=('python-formencode<=1.2.4-1')
source=("http://pypi.python.org/packages/source/F/FormEncode/FormEncode-$pkgver.tar.gz")
sha256sums=('026988e9c9b5176ecc75f047624c24e88e82be401e21f8c2008ca6fb2f99290d')

package() {
  cd "FormEncode-$pkgver"

  python2 setup.py install --root="$pkgdir" install

  # Removing documentation that conflicts with other packages
  rm -rf "$pkgdir/usr/lib/python2.7/site-packages/docs"
}

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