Package Details: python-pyoxipng 9.0.0-1

Git Clone URL: https://aur.archlinux.org/python-pyoxipng.git (read-only, click to copy)
Package Base: python-pyoxipng
Description: Python wrapper for multithreaded .png image file optimizer oxipng
Upstream URL: https://github.com/nfrasser/pyoxipng
Licenses: MIT
Submitter: carlosal1015
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-20 02:09 (UTC)
Last Updated: 2024-07-28 17:35 (UTC)

Latest Comments

carlosal1015 commented on 2024-07-28 17:12 (UTC)

Now I see the error, maybe is something that oxipng should be updated by upstream in Cargo.toml

carlosal1015 commented on 2024-07-28 17:12 (UTC)

Now I see the error, maybe is something that oxipng should be updated by upstream in Cargo.toml

C0rn3j commented on 2024-06-24 08:37 (UTC)

I get that both inside and outside of a clean chroot - both with paru's chroot feature and clean makepkg on host.

Can you build it fine in a clean chroot?

carlosal1015 commented on 2024-06-23 16:24 (UTC)

No error from my side, please try again:

📦 Built wheel for CPython 3.12 to /tmp/makepkg/python-pyoxipng/src/pyoxipng-9.0.0/target/wheels/pyoxipng-9.0.0-cp312-cp312-linux_x86_64.whl
/tmp/makepkg/python-pyoxipng/src/pyoxipng-9.0.0/target/wheels/pyoxipng-9.0.0-cp312-cp312-linux_x86_64.whl
Successfully built pyoxipng-9.0.0-cp312-cp312-linux_x86_64.whl
==> Starting check()...
===================================================================== test session starts ======================================================================
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
rootdir: /tmp/makepkg/python-pyoxipng/src/pyoxipng-9.0.0
configfile: pyproject.toml
collected 13 items                                                                                                                                             

test/test_oxipng.py .............                                                                                                                        [100%]

====================================================================== 13 passed in 1.21s ======================================================================
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-pyoxipng"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-pyoxipng 9.0.0-1 (Sun Jun 23 11:22:48 2024)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) python-pyoxipng-9.0.0-1

Total Installed Size:  1.15 MiB

:: Proceed with installation? [Y/n]

C0rn3j commented on 2024-06-22 16:31 (UTC) (edited on 2024-06-22 16:33 (UTC) by C0rn3j)

I had to comment out the check function to get it to build(but it is broken with the same error, turns out tests are important):

============================= test session starts ==============================
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
rootdir: /build/python-pyoxipng/src/pyoxipng-9.0.0
configfile: pyproject.toml
collected 0 items / 1 error

==================================== ERRORS ====================================
_____________________ ERROR collecting test/test_oxipng.py _____________________
ImportError while importing test module '/build/python-pyoxipng/src/pyoxipng-9.0.0/test/test_oxipng.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_oxipng.py:4: in <module>
    import oxipng
test-env/lib/python3.12/site-packages/oxipng/__init__.py:1: in <module>
    from .oxipng import *
E   ImportError: /build/python-pyoxipng/src/pyoxipng-9.0.0/test-env/lib/python3.12/site-packages/oxipng/oxipng.cpython-312-x86_64-linux-gnu.so: undefined symbol: libdeflate_crc32
=========================== short test summary info ============================
ERROR test/test_oxipng.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.05s ===============================
?[1m?[31m==> ERROR:?(B?[m?[1m A failure occurred in check().?(B?[m
?[1m    Aborting...?(B?[m