smlinux/base/python-nltk/python-nltk.SMBuild
PktSurf fd5cb987b4 Renamed and repacked python tarball in base
Removed executable bit from some python package build files in base
2024-10-29 15:46:43 +05:30

27 lines
597 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-nltk
version=3.6.2
build=1sml
homepage="https://www.nltk.org"
desc="python natural language development toolkit"
requires="python-joblib"
prepbuilddir() {
mkandenterbuilddir
rm -rf nltk-$version
tar xf $srcdir/nltk-$version.tar.?z*
cd nltk-$version
fixbuilddirpermissions
}
build() {
python3 setup.py install --root=$pkg
cp LICENSE.txt $pkgdocs/
mkfinalpkg
}
sha512sums="
3fd2cba52377613f35f6574f859482de987f969cfc8d4243a859be365ab1bd8300f9013dcedc6caeff7aa7fc035b331a47b557027209ca9a85b0cc7fbde44d6d nltk-3.6.2.tar.gz
"