python-simplebayes: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:58:43 +07:00
parent 7e97fe5353
commit 67822ff7b2
3 changed files with 18 additions and 32 deletions

View File

@ -1,31 +0,0 @@
# Template file for 'python-simplebayes'
pkgname=python-simplebayes
version=1.5.8
revision=2
archs=noarch
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"
archs=noarch
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-simplebayes

View File

@ -0,0 +1,18 @@
# Template file for 'python3-simplebayes'
pkgname=python3-simplebayes
version=1.5.8
revision=3
wrksrc="simplebayes-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Bayesian text classifier (Python3)"
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
}