# Maintainer: Drew DeVault <sir@cmpwn.com>
_name="case"
pkgname=py3-case
pkgver=1.5.3
pkgrel=1
pkgdesc="Ptyhon unit testing utilities"
url="https://github.com/celery/case"
arch="noarch"
license="BSD"
depends="python3 py3-nose"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
check() {
cd "$builddir"
nosetests
}
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="ae98a571c282f80c685c42ab1dc578847fe88cf8cd07faff505a8df8e3282a602908a8780ab88b36851e3ee6f3c178405e5c50776fd0f49fcc990087575f2958 case-1.5.3.tar.gz"