惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
量子位
G
Google Developers Blog
J
Java Code Geeks
N
Netflix TechBlog - Medium
博客园 - 聂微东
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
雷峰网
雷峰网
M
MIT News - Artificial intelligence
T
Tailwind CSS Blog
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - ocrodjvu-python3-git
2026-06-25 · via AUR Newest Packages

ianis commented on 2025-01-16 20:57 (UTC)

I did not know there is a maintained fork. I have now updated the AUR package to point to it. I know it's not a good practice to change the origin, but a broken package is not really better.

Anyhow, does anybody else want to be a maintainer or co-maintainer of the AUR package?

FriedrichFroebel commented on 2025-01-16 20:14 (UTC)

It seems like the package for this unmaintained fork should be replaced by a new package for the corresponding PyPI package: https://pypi.org/project/ocrodjvu/ The repository has been created after the original repository had been archived and thus remained without an explicit reference.

Disclaimer: I am the current maintainer of the PyPI package, as well as the djvulibre-python dependency (you already packaged in the AUR some weeks ago).

MarsSeed commented on 2025-01-12 03:53 (UTC)

@Antiz, I don't see any fix patching here, only a hiding of the fact that upstream code does not work without python-future.

krvkir commented on 2025-01-12 02:43 (UTC) (edited on 2025-01-12 02:48 (UTC) by krvkir)

Seems that without python-future dependency, it just doesn't work:

Traceback (most recent call last):
  File "/usr/bin/djvu2hocr", line 23, in <module>
    from lib.cli import djvu2hocr as cli
  File "/usr/share/ocrodjvu/lib/cli/djvu2hocr.py", line 32, in <module>
    from .. import hocr
  File "/usr/share/ocrodjvu/lib/hocr.py", line 27, in <module>
    from past.builtins import basestring
ModuleNotFoundError: No module named 'past'

Please don't delete. Even if it doesn't work out of the box, at least one can find a clue where to get the utilities needed.

ianis commented on 2025-01-11 23:09 (UTC)

Antiz commented on 2025-01-11 23:08 (UTC)

@ianis Alright, thanks for the info!

[...] but we can't delete packages just because there haven't been recent commits.

Well sure but, Arch being a bleeding edge / rolling release distro, we kinda expect upstreams to keep up; otherwise related packages eventually just gets harder and harder to maintain with recent dependencies / libraries versions over time (fortunately it wasn't too much effort to make this one build with python 3.13 but you get the point).

Anyway, I'm rejecting the pending deletion request ;)
However, since you stated you have no plans to maintain this package in case it ever fails in the future (which is fair enough), may I ask you to please not just let it die unmaintained by submitting a deletion request yourself, in case it ever happens?
We have enough broken and unmaintained packages in the AUR graveyard already :P

ianis commented on 2025-01-11 22:14 (UTC)

The original project has an unfinished (not unmaintained) migration from Python 2 to Python 3. The fork points to this migration. The package was added during the discussion of an issue on GitHub [1], which is no longer relevant.

I won't care much if it gets deleted, but we can't delete packages just because there haven't been recent commits. Proceed as you see fit.

[1] https://github.com/kcroker/dpsprep/issues/5

Antiz commented on 2025-01-11 22:02 (UTC) (edited on 2025-01-11 22:03 (UTC) by Antiz)

ianis commented on 2025-01-11 18:52 (UTC)

I have removed python-future as a dependency. The project seems to be building fine now.

This is an AUR package of a fork of an unmaintained project. I have nothing to do with the fork, nor with the original package. If anything fails, I have no plans to maintain it. If anybody wants ownership over the AUR package, feel free to contact me; it will be much (perhaps several months) faster than requesting ownership via the AUR request system.

dreieck commented on 2025-01-11 16:04 (UTC)

If possible, please remove the dependency on python-furure/ make the package working without python-future:

WARNING: python-future package is not compatible with Python 3.13

The python-future project was created in 2013 to attempt to save Python from the schism of version incompatibility that was threatening to tear apart the language (as Perl 6 contributed to the death of Perl).

That time is now past. Thanks to a huge porting effort across the Python community, Python 3 eventually thrived. Python 2 reached its end of life in 2020 and the python-future package should no longer be necessary. Use it to help with porting legacy code to Python 3 but don’t depend on it for new code.

If you use packages that depend on it, please contact maintainers and/or upstream of these packages and try to work out whether this dependency is really needed.

Regards and thanks for this package!