Merge pull request #5503 from cipr3s/python-chess
New package: python-chess-0.16.1
This commit is contained in:
commit
8a086a1e52
2 changed files with 26 additions and 0 deletions
25
srcpkgs/python-chess/template
Normal file
25
srcpkgs/python-chess/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'python-chess'
|
||||||
|
pkgname=python-chess
|
||||||
|
version=0.16.1
|
||||||
|
revision=1
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="chess"
|
||||||
|
noarch=yes
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="A 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="9f3125c86977244d9a6329e8ff56ee3b807e06e3eac9eff68ea7a37e5aed758f"
|
||||||
|
|
||||||
|
python3-chess_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="chess"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-chess
Symbolic link
1
srcpkgs/python3-chess
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-chess
|
Loading…
Reference in a new issue