Package Details: python-sentencepiece 0.2.2-2

Git Clone URL: https://aur.archlinux.org/sentencepiece.git (read-only, click to copy)
Package Base: sentencepiece
Description: Python wrapper for SentencePiece
Upstream URL: https://github.com/google/sentencepiece
Licenses: Apache-2.0
Submitter: Henry-ZHR
Maintainer: Henry-ZHR
Last Packager: Henry-ZHR
Votes: 11
Popularity: 0.49
First Submitted: 2024-03-10 06:42 (UTC)
Last Updated: 2026-07-21 13:52 (UTC)

Sources (2)

Pinned Comments

Henry-ZHR commented on 2024-03-26 14:38 (UTC)

For everyone:

You may need to rebuild the package when its dependencies (currently abseil-cpp, protobuf and gperftools) are upgraded.

You can install rebuild-detector so that you will be warned when you need to do so.

Latest Comments

1 2 3 4 Next › Last »

medaminezghal commented on 2026-10-12 13:03 (UTC)

@Henry-ZHR Also eveything is built in clean chroot, you can have a look at my GitHub repository: https://github.com/medaminezghal/aur-packages

medaminezghal commented on 2026-10-12 13:01 (UTC)

@Henry-ZHR I know that many times it need manual intervention that's why I setup Claude Code to do it automatically when needed. Finally the decision is yours.

Henry-ZHR commented on 2026-10-12 12:37 (UTC)

@medaminezghal Thanks for your interest, but I'd prefer not to add a co-maintainer for now. Upcoming updates will likely require manual intervention rather than simply bumping the version number, so I'm not confident that fully automated updates would be reliable.

medaminezghal commented on 2026-10-12 12:26 (UTC)

@Henry-ZHR Could you add it as co-maintainer? I'm planning to add it to my GitHub repository, auto-update it, and provide it in Pacman repository:

[aur-packages]
SigLevel = Required
Server = https://github.com/medaminezghal/aur-packages/releases/download/repo

Henry-ZHR commented on 2026-10-06 01:54 (UTC)

@marblearch Are you building on aarch64? Could you try the latest PKGBUILD and paste the log if it failed?

marblearch commented on 2026-10-05 18:58 (UTC)

I had to build with this modified version for it to work: https://paste.sr.ht/~handymanny/edb264e322ee00104c033dc8ed13285867716031

marblearch commented on 2026-10-05 18:47 (UTC)

Had to do sudo pacman -S distcc before it would work.

Henry-ZHR commented on 2026-07-21 13:53 (UTC)

@Neurognostic Fixed. Thank you!

Neurognostic commented on 2026-07-21 11:57 (UTC)

Had to add pybind11 to makedepends() to make it build and python-protonbuf to checkdepends() to allow tests to run in a clean chroot.

diff --git i/PKGBUILD w/PKGBUILD
index d97bf5c..b02649b 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -21,8 +21,9 @@ makedepends=(
   'python-setuptools'
   'python-wheel'
   'python-installer'
+  'pybind11'
 )
-checkdepends=('python-pytest')
+checkdepends=('python-pytest' 'python-protobuf')
 source=(
   "${_name}::git+${url}.git#tag=v${pkgver}"
   'dont-include-data-files-in-python-pkg.patch'

Henry-ZHR commented on 2026-02-17 09:24 (UTC)

@MLXQt Arch Linux has split gcc-libs into libgcc, libstdc++ and more

You should

  1. Select an up-to-date mirror and then pacman -Syu (if official Arch Linux)
  2. Or wait for your distribution to update gcc-libs

Actually, from 0.2.1-1 to 0.2.1-2, the package's content doesn't change, so you can ignore the update for now