diff --git a/srcpkgs/python-fishnet/INSTALL.msg b/srcpkgs/python-fishnet/INSTALL.msg new file mode 100644 index 00000000000..cede910ed92 --- /dev/null +++ b/srcpkgs/python-fishnet/INSTALL.msg @@ -0,0 +1,3 @@ +fishnet requires a personal key from https://lichess.org/get-fishnet to be used + +fishnet will download lichess' custom stockfish binary for analysis. diff --git a/srcpkgs/python-fishnet/template b/srcpkgs/python-fishnet/template new file mode 100644 index 00000000000..31769876cd9 --- /dev/null +++ b/srcpkgs/python-fishnet/template @@ -0,0 +1,26 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3-fishnet b/srcpkgs/python3-fishnet new file mode 120000 index 00000000000..7c719c796d7 --- /dev/null +++ b/srcpkgs/python3-fishnet @@ -0,0 +1 @@ +python-fishnet \ No newline at end of file