2017-11-14 10:35:08 +01:00

26 lines
712 B
Bash

# Template file for 'python-chess'
pkgname=python-chess
version=0.21.0
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"
homepage="https://github.com/niklasf/python-chess"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=1878dfd8b34e4ec112f96169f315b6ac6c119dee6855c84dcd7ef1b2bd33c37c
python3-chess_package() {
noarch=yes
depends="python3"
pycompile_module="chess"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}