Package Details: python-mozjpeg-lossless-optimization 1.1.5-1

Git Clone URL: https://aur.archlinux.org/python-mozjpeg-lossless-optimization.git (read-only, click to copy)
Package Base: python-mozjpeg-lossless-optimization
Description: Optimize JPEGs losslessly using MozJPEG
Upstream URL: https://github.com/wanadev/mozjpeg-lossless-optimization
Keywords: lossless optimizer picture
Licenses: BSD
Submitter: Popolon
Maintainer: lihe07 (Popolon)
Last Packager: lihe07
Votes: 2
Popularity: 0.62
First Submitted: 2021-09-13 17:25 (UTC)
Last Updated: 2024-11-26 02:02 (UTC)

Latest Comments

dbb commented on 2024-11-26 12:47 (UTC)

Fails to build in a clean chroot with the following error:

* 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 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.

Adding python-setuptools to makedepends allows it to build.

lihe07 commented on 2024-11-26 02:06 (UTC)

The upstream has just updated to version 1.1.5, which fixes the problem. Seems like the package is orphaned, so I picked it up and pushed the update. I've added the original packager @Popolon as a co-maintainer.

Popolon commented on 2024-11-16 21:16 (UTC) (edited on 2024-11-24 13:57 (UTC) by Popolon)

the version 1.1.4 depends on setuptools<74, Arch Linux use setuptools python-setuptools 75, so it will not be updated until it is fixed upstream. https://github.com/wanadev/mozjpeg-lossless-optimization/issues/26 and #27 for 1.1.5 :(

Popolon commented on 2023-11-13 17:17 (UTC)

Yes you can remove it, I added it in makedeps, as it's name say, it's need for installation (into the package here).

lidlessey3 commented on 2023-11-13 01:01 (UTC)

I managed to install it by manually installing python-installer from extra separetly I wanted to ask if they are an actual dependancy, in which case I need to leave it installed or if they are just a make dependacy and so I can safely remove them? Thanks.

EccTM commented on 2023-11-12 17:06 (UTC) (edited on 2023-11-13 00:39 (UTC) by EccTM)

makedepends includes python-setuptools twice; I think one of those was supposed to be python-build, maybe?

I got this to compile by replacing python-setuptools with python-build and python-installer to avoid build() and package() sections failing.