[arch-commits] Commit in python-formencode/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sun Jul 4 14:52:56 EDT 2010


    Date: Sunday, July 4, 2010 @ 14:52:56
  Author: eric
Revision: 84827

upgpkg: python-formencode 1.2.2-1
Upstream update

Modified:
  python-formencode/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-04 18:34:38 UTC (rev 84826)
+++ PKGBUILD	2010-07-04 18:52:56 UTC (rev 84827)
@@ -3,20 +3,21 @@
 # Contributor: Todd Maynard <arch at toddmaynard.com>
 
 pkgname=python-formencode
-pkgver=1.2.1
+pkgver=1.2.2
 pkgrel=1
 pkgdesc="HTML form validation, generation, and conversion package for python"
+arch=('i686' 'x86_64')
 license=('PSF')
-arch=(i686 x86_64)
 url="http://formencode.org"
-depends=('python>=2.5')
+depends=('python')
 makedepends=('setuptools')
-source=(http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-$pkgver.tar.gz)
+source=(http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-${pkgver}.tar.gz)
+md5sums=('da23d54af521d1feab12b4caf30e3111')
+sha1sums=('573359ec15934be9b1e74c11e1796b8df872c677')
 
-build() {
-  cd $startdir/src/FormEncode-$pkgver
-  python setup.py install --root=$startdir/pkg install
-  echo "/usr/lib/python2.6/site-packages/FormEncode-$pkgver-py2.6.egg" >\
-    $startdir/pkg/usr/lib/python2.6/site-packages/$pkgname.pth
+package() {
+  cd "${srcdir}/FormEncode-${pkgver}"
+  python 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"
 }
-md5sums=('7030996497f3cf012bc9e99b4ca3e920')



More information about the arch-commits mailing list