25 lines
712 B
Bash
25 lines
712 B
Bash
# Template file for 'python-chess'
|
|
pkgname=python-chess
|
|
version=0.17.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=d0026e83448023d8002fb21f3aa6ceb480eae45386d63e6cc4f581e3f7d38e49
|
|
|
|
python3-chess_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="chess"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|