void-packages/srcpkgs/python-fishnet/template

27 lines
781 B
Bash

# Template file for 'python-fishnet'
pkgname=python-fishnet
version=1.15.7
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=9ffc821337dbb594b42a72a3416d20c4e71657def26bfb7ce1eb15766e17573c
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*
}
}