void-packages/srcpkgs/python-chess/template

26 lines
712 B
Bash
Raw Normal View History

2017-01-10 22:17:41 +01:00
# Template file for 'python-chess'
pkgname=python-chess
2017-06-04 15:20:31 +02:00
version=0.18.2
2017-01-10 22:17:41 +01:00
revision=1
2017-01-26 00:08:33 +01:00
noarch=yes
2017-01-10 22:17:41 +01:00
build_style=python-module
pycompile_module="chess"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
2017-01-26 00:08:33 +01:00
short_desc="Pure Python2 chess library with move generation and validation"
2017-01-10 22:17:41 +01:00
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-3"
homepage="https://github.com/niklasf/python-chess"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
2017-06-04 15:20:31 +02:00
checksum=d50d18ade3126e7af596ff7506aa5940c692da1a1b6d546f439bc76d26920593
2017-01-10 22:17:41 +01:00
python3-chess_package() {
noarch=yes
depends="python3"
pycompile_module="chess"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}