Package Details: pyg3t 0.6.0-1

Git Clone URL: https://aur.archlinux.org/pyg3t.git (read-only, click to copy)
Package Base: pyg3t
Description: Python gettext Translation Toolkit
Upstream URL: https://gitlab.com/pyg3t/pyg3t
Keywords: gtcat gtcheckargs gtcompare gtgrep gtmerge gtprevmsgdiff gtwdiff gtxml poabc podiff popatch
Licenses: GPL-3.0-or-later
Submitter: rafaelff
Maintainer: rafaelff
Last Packager: rafaelff
Votes: 2
Popularity: 0.000000
First Submitted: 2013-04-06 19:44 (UTC)
Last Updated: 2024-04-23 19:58 (UTC)

Latest Comments

rafaelff commented on 2021-04-27 19:20 (UTC)

It looks like this tests expect pyg3t to be installed. I'll try to patch it later. If no solution is found, then I'll remove the check() function. Until then, feel free to remove it from the PKGBUILD locally as a workaround.

micwoj92 commented on 2021-04-27 02:33 (UTC)

Check fails

===================================================================================== ERRORS =====================================================================================
______________________________________________________________ ERROR collecting pyg3t/test/unittest/test_gtparse.py ______________________________________________________________
ImportError while importing test module '/tmp/pyg3t-4034696032140922690/pyg3t/src/pyg3t-0.5.0/pyg3t/test/unittest/test_gtparse.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
pyg3t/test/unittest/test_gtparse.py:12: in <module>
    from pyg3t.util import PoError
E   ModuleNotFoundError: No module named 'pyg3t'
______________________________________________________________ ERROR collecting pyg3t/test/unittest/test_message.py ______________________________________________________________
ImportError while importing test module '/tmp/pyg3t-4034696032140922690/pyg3t/src/pyg3t-0.5.0/pyg3t/test/unittest/test_message.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
pyg3t/test/unittest/test_message.py:16: in <module>
    from pyg3t.message import (
E   ModuleNotFoundError: No module named 'pyg3t'
============================================================================ short test summary info =============================================================================
ERROR pyg3t/test/unittest/test_gtparse.py
ERROR pyg3t/test/unittest/test_message.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================================================== 2 errors in 0.77s ================================================================================
==> ERROR: A failure occurred in check().
    Aborting...

rafaelff commented on 2021-04-27 02:29 (UTC)

@micwoj92 Done. Let me know if something is missing.

micwoj92 commented on 2021-04-27 01:34 (UTC)

Hello, could you modernize this PKGBUILD?

rafaelff commented on 2016-08-29 12:38 (UTC)

This version seems to present some problems that make hard to use it at the moment. However, PyG3T is in active development. So, at least for now, I suggest using the package pyg3t-git