# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setglobal pkgname = 'py-total-ordering' setglobal _pkgname = 'flake8-isort' setglobal pkgver = '2.0.1' setglobal pkgrel = '0' setglobal pkgdesc = '"functools.total_ordering backport for Python 2.6'" setglobal url = '"https://github.com/kvesteri/total-ordering'" setglobal arch = '"noarch'" setglobal license = '"BSD'" setglobal depends = '"python2'" setglobal makedepends = '"python2-dev py-setuptools'" setglobal source = ""https://files.pythonhosted.org/packages/source/$(_pkgname:0:1)/$_pkgname/$_pkgname-$pkgver.tar.gz"" setglobal builddir = ""$srcdir"/$_pkgname-$pkgver" proc build { cd $builddir python2 setup.py build || return 1 } proc package { cd $builddir python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setglobal md5sums = '"06d102adf075c2dc4d4b4dd4dd534b91 flake8-isort-2.0.1.tar.gz'" setglobal sha256sums = '"9b994a95b3b26552fa25a8b94d7b345aea87ddb8c3bf78e7869b73ecc6088de7 flake8-isort-2.0.1.tar.gz'" setglobal sha512sums = '"c2d8006ea9dce62c2a990ab9769d65f1e040fcf3931c61b50a8dd208d3fa0037758102d46dafce4342126a38716b4ff3e06d7015a65a20a8458543ae8b2627d3 flake8-isort-2.0.1.tar.gz'"