Package Details: dpsprep-git 2.2.13-1

Git Clone URL: https://aur.archlinux.org/dpsprep-git.git (read-only, click to copy)
Package Base: dpsprep-git
Description: A DjVu to PDF converter with a focus on small output size and the ability to preserve document outlines and text layers
Upstream URL: https://github.com/kcroker/dpsprep
Licenses: GPL-3.0-only
Submitter: dark-saber
Maintainer: ianis
Last Packager: ianis
Votes: 3
Popularity: 0.003759
First Submitted: 2015-07-10 10:29 (UTC)
Last Updated: 2025-02-12 18:58 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2025-03-30 22:09 (UTC)

You can rename it and add a replaces=("dpsprep-git<=2.2.13"), conflicts=("dpsprep-git") directive. The replaces statement should(?) make AUR helpers smoothly update it.

I think the current naming and content is just not aligning with the packaging "rules" so should be fixed in any case.

(Renaming is done as follows: Upload newly named package and file a merge request on the old package to be merged into the new one.)

ianis commented on 2025-03-30 21:26 (UTC)

I am not the one who created the package, nor the project, but I am the one who maintains both now. I would gladly name it dpsprep if I was creating the package now, but it has a long history before I took over and people are used to it.

I can remove the dependency on the tag, although I don't see much of a point in doing so. I update the AUR package whenever I update the tag.

It seems reasonable to add provides and conflicts next time I bump the package version. Nothing of value would be lost until then.

dreieck commented on 2025-03-30 20:25 (UTC) (edited on 2025-03-30 22:06 (UTC) by dreieck)

Ahoj,

you call it a -git package but you download a fixed version/ tag.

So please either:

  • Rename it to dpsprep,
  • or download the latest state from the git repository.
    And also add a proper pkgver() function, provides=("dpsprep"), conflicts=("dpsprep") if you keep it a -git package.

Regards and thanks form the package!

menteith commented on 2025-01-26 21:21 (UTC)

@Ianis Step 2. did the trick. Thanks for your help!

ianis commented on 2025-01-26 17:15 (UTC)

@menteith I'm afraid I can't help you here - all dependencies are listed both in the AUR package and in the pyproject.toml file in the source code.

  1. Make sure you don't use virtual environments when building the package since then you would get a broken package.
  2. Try (re)installing python-fpdf2 from the AUR.
  3. If that fails, you can go to the GitHub page and try installing manually.

menteith commented on 2025-01-26 16:46 (UTC)

@ianis Thanks for a such a quick response and of course for maintaning this package! Now the error mentioned earlier is gone, but there is another one:

ERROR dpsprep - ModuleNotFoundError: No module named 'fpdf'

ianis commented on 2025-01-26 16:25 (UTC)

@menteith Long story short, I had to update some dependencies and configurations for the program itself. Please try now.

menteith commented on 2025-01-26 15:41 (UTC) (edited on 2025-01-26 15:42 (UTC) by menteith)

I got the following error:

Successfully built dpsprep-2.2.10-py3-none-any.whl ==> Starting check()... dpsprep/logging.py:1:1: A005 Module logging shadows a Python standard-library module Found 1 error. ==> ERROR: A failure occurred in check().

ianis commented on 2024-09-10 23:08 (UTC)

@marcool04 Done

marcool04 commented on 2024-09-10 15:15 (UTC)

python-poetry is a missing make-depend. Builds fine once that is added. Otherwise it fails with

==> Starting build()...                                                                                                                  
* Getting build dependencies for wheel...                                                                                                

Traceback (most recent call last):                                                                                                       
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook                                             
    raise BackendUnavailable(                                                                                                            
pyproject_hooks._impl.BackendUnavailable: Cannot import 'poetry.core.masonry.api'                                                        

ERROR Backend 'poetry.core.masonry.api' is not available.