# Template file for 'python-chess'
pkgname=python-chess
version=0.22.2
revision=1
noarch=yes
build_style=python-module
pycompile_module="chess"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Pure Python2 chess library with move generation and validation"
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/niklasf/python-chess"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=0c0cf430c6c0b98c9a1303d8d2ea1cc3dfac70d88740c2d1427eaa7d10157c55

python3-chess_package() {
	noarch=yes
	depends="python3"
	pycompile_module="chess"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
