# Template file for 'python-fishnet'
pkgname=python-fishnet
version=1.15.9
revision=1
wrksrc="fishnet-${version}"
build_style=python-module
pycompile_module="fishnet.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-requests"
short_desc="Distributed Stockfish analysis for lichess.org (Python2)"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3"
homepage="https://github.com/niklasf/fishnet"
distfiles="https://github.com/niklasf/fishnet/archive/v${version}.tar.gz"
checksum=dc5f5b1b8aaa53b58c48fb1be7cd59e39c60947424aeed1681f32c3bf28176e5
noarch=yes

python3-fishnet_package() {
	noarch=yes
	pycompile_module="fishnet.py"
	short_desc="${short_desc/Python2/Python3}"
	depends="python3-requests"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
