2018-07-09 21:57:38 +02:00
|
|
|
# Template file for 'python-simplebayes'
|
|
|
|
pkgname=python-simplebayes
|
2018-08-07 00:53:48 +02:00
|
|
|
version=1.5.8
|
2018-07-09 21:57:38 +02:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="simplebayes-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="simplebayes"
|
2018-08-07 00:53:48 +02:00
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2018-07-09 21:57:38 +02:00
|
|
|
depends="python"
|
|
|
|
short_desc="Bayesian text classifier (Python2)"
|
|
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/hickeroar/simplebayes"
|
2018-08-07 00:53:48 +02:00
|
|
|
distfiles="${PYPI_SITE}/s/simplebayes/simplebayes-${version}.tar.gz"
|
|
|
|
checksum=363418c0ef185ac2158ebbd6d8afb45aa997254fcb809a73ed20a7d5dccf8b85
|
2018-07-09 21:57:38 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|