New package: python-simplebayes-1.5.7
This commit is contained in:
parent
d4df0c9a3f
commit
0908b1d250
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-simplebayes/template
Normal file
32
srcpkgs/python-simplebayes/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'python-simplebayes'
|
||||
pkgname=python-simplebayes
|
||||
version=1.5.7
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="simplebayes-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="simplebayes"
|
||||
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="python"
|
||||
short_desc="Bayesian text classifier (Python2)"
|
||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/hickeroar/simplebayes"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=71cb029768bd25c172bdb3bd37174d42f872da92c33329ec736c3748ffa3b4a7
|
||||
|
||||
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
|
||||
}
|
||||
}
|
1
srcpkgs/python3-simplebayes
Symbolic link
1
srcpkgs/python3-simplebayes
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-simplebayes
|
Loading…
Add table
Reference in a new issue