# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pysol-cards
pkgver=0.14.3
pkgrel=2
pkgdesc="Deal PySol FC Cards"
url="https://fc-solve.shlomifish.org/"
arch="noarch"
license="MIT"
depends="
	py3-pbr
	py3-random2
	python3
	"
makedepends="py3-setuptools"
checkdepends="
	py3-coverage
	py3-oslotest
	py3-pytest
	py3-pytest-cov
	py3-six
	py3-stestr
	py3-testtools
	"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/p/pysol_cards/pysol_cards-$pkgver.tar.gz"
builddir="$srcdir/pysol_cards-$pkgver"

build() {
	python3 setup.py build
}

check() {
#	python3 setup.py test
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
00bb25393eab855d7444324b33e0561bfbcc86ae53306b58623fa15ea005378aff6af51846aab4634b43fdba5497c3872c32baf3a51013ee01d5ab2d7a7a9d51  pysol_cards-0.14.3.tar.gz
"
