Package Details: dpsprep-git 2.2.12-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.010822
First Submitted: 2015-07-10 10:29 (UTC)
Last Updated: 2025-01-27 00:32 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

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. 

zoe commented on 2023-10-09 18:49 (UTC) (edited on 2023-10-09 19:07 (UTC) by zoe)

This package can no longer be built due to this error :

        install: omission du répertoire '/datalocal/data0/yay_buildDir/001-buildDir/dpsprep-git/src/dpsprep/dpsprep'
        ==> ERREUR : Une erreur s’est produite dans package().
            Abandon…
         -> error making: dpsprep-git-exit status 4
         -> Failed to install the following packages. Manual intervention is required:
        dpsprep-git - exit status 4

The tree of srcdir is :

          └── src
              └── dpsprep
                  ├── bin
                  │   └── dpsprep
                  ├── dpsprep
                  │   ├── conftest.py
                  │   ├── dpsprep.py
                  │   ├── images.py
                  │   ├── __init__.py
                  │   ├── invisible1.ttf
                  │   ├── logging.py
                  │   ├── __main__.py
                  │   ├── optimize.py
                  │   ├── outline.py
                  │   ├── pdf.py
                  │   ├── py.typed
                  │   ├── sexpr.py
                  │   ├── test_images.py
                  │   ├── test_text.py
                  │   ├── text.py
                  │   └── workdir.py
                  ├── dpsprep.1
                  ├── dpsprep.1.ronn
                  ├── fixtures
                  │   ├── lipsum_01.png
                  │   ├── lipsum_01.txt
                  │   ├── lipsum_lines.djvu
                  │   ├── lipsum.pdf
                  │   ├── lipsum.tex
                  │   ├── lipsum_words.djvu
                  │   └── makefile
                  ├── LICENSE
                  ├── makefile
                  ├── poetry.lock
                  ├── pyproject.toml
                  └── README.md

So, the line in PKGBUILD :

      install -D -m755 "$srcdir/$_gitname/dpsprep" "$pkgdir/usr/bin/dpsprep"

cannot be run, because

      $srcdir/$_gitname/dpsprep

is a directory :

      [src/dpsprep/dpsprep]

not a file.

Thank you for maintaining !!

dreieck commented on 2023-05-12 12:26 (UTC)

python-argparse must be removed from the depends array, see ↗ here.

Thanks for maintaining!