blob: b34df2a567e3236dd4c18add1339960347d703cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
pkgbase = sentencepiece
pkgdesc = Unsupervised text tokenizer for Neural Network-based text generation
pkgver = 0.2.0
pkgrel = 4
url = https://github.com/google/sentencepiece
arch = x86_64
license = Apache-2.0
checkdepends = python-pytest
makedepends = git
makedepends = cmake
makedepends = abseil-cpp
makedepends = gperftools
makedepends = protobuf
makedepends = python
makedepends = python-build
makedepends = python-setuptools
makedepends = python-wheel
makedepends = python-installer
source = sentencepiece::git+https://github.com/google/sentencepiece.git#tag=17d7580d6407802f85855d2cc9190634e2c95624
source = fix-crash-in-unigram-model-training.patch::https://github.com/google/sentencepiece/commit/d19ac45c919602cb041a86599d0593d24a150ac2.patch
source = bump-cmake-minimum-required-version.patch::https://github.com/google/sentencepiece/commit/e2127b9b932ba00811d5023c5ea69a12a857b244.patch
sha512sums = SKIP
sha512sums = 644bc47fb3b90f2447ae9aac5ff2939fa6c9b3b0dc33550828b8517656f33fb1b41b2ebf9443e4b39a64bb963533c8d7a323b100d0b37671b070b7368f6fb1c7
sha512sums = a4749510e7a4e5c72c60e67e903201d5f6b2224752059481613cb6e0e01c901d0bdbd83553ecc0b916f551e6f37342bab6bf298dfcdd5234129b1645299775b9
pkgname = sentencepiece
depends = gcc-libs
depends = glibc
depends = abseil-cpp
depends = gperftools
depends = protobuf
provides = libsentencepiece.so
provides = libsentencepiece_train.so
pkgname = python-sentencepiece
pkgdesc = Python wrapper for SentencePiece
depends = sentencepiece=0.2.0-4
depends = gcc-libs
depends = glibc
depends = python
optdepends = python-protobuf
|