desktop/python2-backports-abc/PKGBUILD
AlmAck 08a66c4024 python3 rebuild for 3.5
new pkg added to fullfill checkdepends
new order file python3.order
2016-03-16 22:36:13 +01:00

23 lines
599 B
Bash

pkgname=python2-backports-abc
pkgver=0.4
pkgrel=1
pkgdesc="A backport of recent additions to the 'collections.abc' module."
arch=('any')
url='http://pypi.python.org/pypi/backports_abc'
license=('PSF')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/b/backports_abc/backports_abc-${pkgver}.tar.gz")
sha256sums=('8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5')
check() {
cd backports_abc-${pkgver}
python2 tests.py
}
package() {
cd backports_abc-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize=1
}