# Maintainer: Peter Bui setvar pkgname = 'py2-singledispatch' setvar _pkgname = 'singledispatch' setvar pkgver = '3.4.0.3' setvar pkgrel = '0' setvar pkgdesc = ""This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3."" setvar url = ""https://bitbucket.org/ambv/singledispatch"" setvar arch = ""noarch"" setvar license = ""MIT"" setvar provides = ""py-$_pkgname"" setvar replaces = ""py-$_pkgname"" setvar depends = ""python2"" setvar makedepends = ""py-setuptools"" setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgname-$pkgver"" proc build { cd $builddir python2 setup.py build } proc package { cd $builddir python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 } setvar md5sums = ""af2fc6a3d6cc5a02d0bf54d909785fcb singledispatch-3.4.0.3.tar.gz"" setvar sha256sums = ""5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c singledispatch-3.4.0.3.tar.gz"" setvar sha512sums = ""ba065d36092ddee6527be3d7cb777c51c0949855bf6dd0ffb7c25acaedaa35d36fe6dc096587acddcd1e9e54c6ac5f92c196b11f9ee1270cc0c1cf2f410446cf singledispatch-3.4.0.3.tar.gz""