aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-total-ordering/APKBUILD
blob: c8c567aa075ba0cd2f44605d77cc9709de9d304f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-total-ordering
_pkgname=flake8-isort
pkgver=2.0.1
pkgrel=0
pkgdesc="functools.total_ordering backport for Python 2.6"
url="https://github.com/kvesteri/total-ordering"
arch="noarch"
license="BSD"
depends="python2"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="06d102adf075c2dc4d4b4dd4dd534b91  flake8-isort-2.0.1.tar.gz"
sha256sums="9b994a95b3b26552fa25a8b94d7b345aea87ddb8c3bf78e7869b73ecc6088de7  flake8-isort-2.0.1.tar.gz"
sha512sums="c2d8006ea9dce62c2a990ab9769d65f1e040fcf3931c61b50a8dd208d3fa0037758102d46dafce4342126a38716b4ff3e06d7015a65a20a8458543ae8b2627d3  flake8-isort-2.0.1.tar.gz"