void-packages/srcpkgs/python-simplebayes/template
2018-08-07 01:50:34 +02:00

31 lines
817 B
Bash

# Template file for 'python-simplebayes'
pkgname=python-simplebayes
version=1.5.8
revision=1
noarch=yes
wrksrc="simplebayes-${version}"
build_style=python-module
pycompile_module="simplebayes"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Bayesian text classifier (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="https://github.com/hickeroar/simplebayes"
distfiles="${PYPI_SITE}/s/simplebayes/simplebayes-${version}.tar.gz"
checksum=363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85
post_install() {
vlicense LICENSE
}
python3-simplebayes_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="simplebayes"
noarch=yes
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}