void-packages/srcpkgs/python-chess/template
2017-10-19 08:23:22 +02:00

25 lines
712 B
Bash

# Template file for 'python-chess'
pkgname=python-chess
version=0.20.1
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=988f6422c733c6e836d2585598f921a4ef5bd73ac90b814f8f272eb27cb83c7c
python3-chess_package() {
noarch=yes
depends="python3"
pycompile_module="chess"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}