Package Details: pyglossary 4.6.1-2

Git Clone URL: https://aur.archlinux.org/pyglossary.git (read-only, click to copy)
Package Base: pyglossary
Description: A tool for converting dictionary files aka glossaries with various formats for different dictionary applications
Upstream URL: https://github.com/ilius/pyglossary
Licenses: GPL3
Provides: pyglossary
Submitter: sikmir
Maintainer: jukan
Last Packager: jukan
Votes: 9
Popularity: 0.002579
First Submitted: 2017-01-04 05:19 (UTC)
Last Updated: 2023-03-24 06:09 (UTC)

Dependencies (16)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

bergentroll commented on 2024-03-25 11:39 (UTC) (edited on 2024-03-25 11:39 (UTC) by bergentroll)

@jukan, the pyglossary.desktop is in pkg dir of tarball. It should be something like install -Dvm644 pkg/pyglossary.desktop "$pkgdir/usr/share/applications/" in the package() body to include into the package.

Thank you for updating!

jukan commented on 2023-03-24 06:25 (UTC)

@bergentroll thanks for the comments, I've added a couple more optional deps though there are definitely many more missing.

Is it possible that the .desktop file is created by your desktop environment? I don't think this file is created during installation (I don't see it on my system).

bergentroll commented on 2022-09-21 12:44 (UTC)

There is also a desktop entry pkg/pyglossary.desktop which seems missing in the Arch package.

bergentroll commented on 2022-09-18 13:23 (UTC)

Seems python-polib is also an optional dependency to work with PO files.

jukan commented on 2021-05-29 01:14 (UTC) (edited on 2021-05-29 01:47 (UTC) by jukan)

Hey @m040601 thanks for testing things! I already had python-prompt_toolkit installed on my system as a dep for another package so I missed this issue. I'll update the pkgbuild accordingly.

Most of the optional dep descriptions were taking straight from the upstream readme so don't give me too much credit for them, I'm just the copy-paster :P

Also I'll be sure to update the package to 4.1 when it's released!

m040601 commented on 2021-05-28 21:22 (UTC) (edited on 2021-05-28 21:50 (UTC) by m040601)

Thanks to @jukan for taking over this so much usefull package.

Very usefull this information you added in the optdependes, describing "why" they might be needed:

+ optdepends = python-lxml: Many optional flags and formats
+ optdepends = python-beautifulsoup4: HTML parsing
+ optdepends = python-yaml: Reading from cc-kedict
+ optdepends = python-pyicu: Reading or writing Aard 2 (.slob) files
+ optdepends = python-marisa: Writing to Kobo E-Reader Dictionary

I had almost missed the "Kobo E-Reader" one. Very usefull for my ereader.

I've tested it but the command line version was not working:

pyglossary -h

...
    Interactive command-line interface:
        Minimal command:
            pyglossary --cmd
        Or
            pyglossary --ui=cmd
        Additionally you can pass any flag to act to act as default
...

pyglossary --cmd

[CRITICAL] Traceback (most recent call last):
  File "/usr/bin/pyglossary", line 6, in <module>
    main()
  File "/usr/lib/python3.9/site-packages/pyglossary/ui/main.py", line 530, in main
    from pyglossary.ui.ui_cmd_interactive import UI
  File "/usr/lib/python3.9/site-packages/pyglossary/ui/ui_cmd_interactive.py", line 44, in <module>
    from prompt_toolkit import prompt as promptLow
ModuleNotFoundError: No module named 'prompt_toolkit'

This seems to solve the problem:

pacman -S python-prompt_toolkit 

I understand this is not the easiest PKGBUILD to maintain, but hope you can keep up with it. Maybe if we can get enough votes and traction this should be moved and provided by the official arch packages. So usefull for ereaders.

In the mean time, version 4.1 is comming soon in June 2021 I think, https://github.com/ilius/pyglossary/releases

sikmir commented on 2021-03-20 16:34 (UTC)

@jukan Disowned, feel free to adopt.

jukan commented on 2021-03-20 16:23 (UTC)

Willing to take over this package, I've updated to 4.0.11 and it seems to be working well. @sikmir can you add me as a maintainer?

m040601 commented on 2020-12-08 16:34 (UTC) (edited on 2020-12-08 16:37 (UTC) by m040601)

sikmir commented on 2020-10-13 10:28    
Updated. Maintainer wanted.

Anyone willing to take over this so usefull python tool ? There's at least 10 new weekly releases since this last PKGBUILD was updated.

And furthemore this python tool is not suited for installing with pipx. Only pip, but that makes a mess on your system. Even if it's "pip install --user".

The only alternative would be a separate clean python virtual environment:

python -m venv mypyglossvenv
cd mypyglossvenv
source bin/activate
pip install pyglossary

That works, but it's cumbersome.

So, conclusion, a PKGBUILD for a system wide Arch install for this tool is really usefull.

pix3l commented on 2020-11-11 15:57 (UTC)

@homocomputeri

CRITICAL] Traceback (most recent call last): File "/usr/bin/pyglossary", line 6, in <module> main() File "/usr/lib/python3.8/site-packages/pyglossary/ui/main.py", line 503, in main from ui.ui_cmd import UI ModuleNotFoundError: No module named 'ui.ui_cmd'; 'ui' is not a package

  • -

pyglossary [ERROR] error while importing UI module: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pyglossary/ui/main.py", line 516, in main import(f"ui.ui_{ui_type2}"), ModuleNotFoundError: No module named 'ui.ui_gtk'; 'ui' is not a package Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pyglossary/ui/main.py", line 516, in main import(f"ui.ui_{ui_type2}"), ModuleNotFoundError: No module named 'ui.ui_gtk'; 'ui' is not a packag