Package Details: python-langdetect 1.0.9-6

Git Clone URL: https://aur.archlinux.org/python-langdetect.git (read-only, click to copy)
Package Base: python-langdetect
Description: Language detection library ported from Google's language-detection
Upstream URL: https://github.com/Mimino666/langdetect
Licenses: Apache-2.0
Submitter: gromit
Maintainer: atomicfs
Last Packager: atomicfs
Votes: 1
Popularity: 0.57
First Submitted: 2024-03-19 23:08 (UTC)
Last Updated: 2024-05-05 13:41 (UTC)

Latest Comments

atomicfs commented on 2024-05-05 08:08 (UTC)

I am not sure about that. I think that would be super nice if this was a binary package (aka pre-build, just like any official ArchLinux package). I think I can just live with incrementing pkgrel.

Unfortunately the upstream project is no longer maintained (last commit was 3 years ago). So I might have to eventually switch to some actively maintained fork anyway.

taba commented on 2024-05-04 23:20 (UTC)

@atomicfs thoughts on adding python version to the package version like sohttps://aur.archlinux.org/packages/messlidger? Also thanks.

atomicfs commented on 2024-05-04 11:49 (UTC) (edited on 2024-05-04 12:00 (UTC) by atomicfs)

@taba can you give me more context? Is that a error you get when building the package? I just tried to build it from scratch and it works for me.

UPDATE: I guess it is a runtime problem, you have to rebuild the package for the new python 3.12. I can bump the version to trigger it. FYI, you can do: yay -S $(pacman -Qoq /usr/lib/python3.11) --answerclean All

taba commented on 2024-05-04 08:58 (UTC)

============================================== ERRORS ==============================================
_______________ ERROR collecting langdetect-1.0.9/langdetect/tests/test_detector.py ________________
import file mismatch:
imported module 'langdetect.tests.test_detector' has this __file__ attribute:
  /home/custompkgs/.cache/aurutils/sync/python-langdetect/src/python-langdetect-1.0.9/langdetect/tests/test_detector.py
which is not the same as the test file we want to collect:
  /home/custompkgs/.cache/aurutils/sync/python-langdetect/src/python-langdetect-1.0.9/langdetect-1.0.9/langdetect/tests/test_detector.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_______________ ERROR collecting langdetect-1.0.9/langdetect/tests/test_language.py ________________
import file mismatch:
imported module 'langdetect.tests.test_language' has this __file__ attribute:
  /home/custompkgs/.cache/aurutils/sync/python-langdetect/src/python-langdetect-1.0.9/langdetect/tests/test_language.py
which is not the same as the test file we want to collect:
  /home/custompkgs/.cache/aurutils/sync/python-langdetect/src/python-langdetect-1.0.9/langdetect-1.0.9/langdetect/tests/test_language.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules