Package Details: python-manimpango 0.6.0-1

Git Clone URL: https://aur.archlinux.org/python-manimpango.git (read-only, click to copy)
Package Base: python-manimpango
Description: C binding for Pango using Cython used in Manim to render (non-LaTeX) text.
Upstream URL: https://github.com/ManimCommunity/ManimPango
Licenses: MIT
Submitter: groctel
Maintainer: groctel (naveen521kk)
Last Packager: groctel
Votes: 16
Popularity: 0.034112
First Submitted: 2021-01-05 14:42 (UTC)
Last Updated: 2025-03-15 18:45 (UTC)

Latest Comments

1 2 3 Next › Last »

Freso commented on 2025-02-21 21:38 (UTC)

makepkg doesn't like when $checkdepends contains colons etc. like $optdepends:

==> ERROR: checkdepends contains invalid characters: ':     ;  '     '

micwoj92 commented on 2025-02-20 19:28 (UTC)

Here too, a pkgrel bump would be appreciated.

groctel commented on 2025-02-20 09:13 (UTC)

@mavieth @Pulec: I am not reproducing this error. It seems ok since pytest is now updated to v8.3.4. Ping me if you can still reproduce the issue in your system.

@micwoj92: I've removed the dependencies. Thanks!

micwoj92 commented on 2025-02-19 21:49 (UTC)

Deps python-gobject and harfbuzz not needed.

mavieth commented on 2024-12-09 15:08 (UTC) (edited on 2024-12-09 15:11 (UTC) by mavieth)

I had the same ImportError

ImportError: cannot import name 'FixtureDef' from 'pytest' (/home/user/.cache/yay/python-manimpango/src/manimpango-0.6.0/venv/lib/python3.12/site-packages/pytest/__init__.py)

I noticed, that at some point my local pytest_asyncio-0.24.0 module was loaded, which is incompatible with pytest < 8.2, which is also mentioned when the venv is created and this package doesn't want pytest >8

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pytest-asyncio 0.24.0 requires pytest<9,>=8.2, but you have pytest 7.4.4 which is incompatible.

so I added -p no:asyncio to the pytest call and it worked

check () {
    cd "$srcdir/$_name-$pkgver"

    python -m venv --system-site-packages venv
    (
        source venv/bin/activate
        pip install ./dist/*.whl Cython pytest setuptools
        pip install -r requirements-dev.txt
        python setup.py build_ext -i
-        python -m pytest -s
+        python -m pytest -s -p no:asyncio
    )
    rm -rf venv
}

Removing the upper bound for the version of pytest from the requirements-dev.txt worked too.

Pulec commented on 2024-10-22 13:40 (UTC) (edited on 2024-10-22 13:40 (UTC) by Pulec)

check () is broken on my system:

ImportError: cannot import name 'FixtureDef' from 'pytest' (/home/pulec/.cache/aurutils/sync/python-manimpango/src/manimpango-0.6.0/venv/lib/python3.12/site-packages/pytest/__init__.py)

concretely

from pytest import FixtureDef

File ~/py.py:2
  Python 3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801] on linux
                                  ^
  SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

It's probably just my system.

Freso commented on 2023-12-09 10:30 (UTC)

Hi!

There is no need to have an empty package() function, so might as well get rid of that entirely instead of having a single cd command in there.

Additionally, there is no need for the || exits. makepkg will already exit out of the build if any command fails.

yochananmarqos commented on 2023-10-14 19:16 (UTC)

@groctel: With 0.5.0, upstream now supports Cython 3.0, so you can remove the prepare() function.

groctel commented on 2023-10-14 06:47 (UTC)

Agh! Thank you again for the heads up @yochananmarqos.

yochananmarqos commented on 2023-10-13 22:31 (UTC)

@groctel: Your forgot to update the .SRCINFO.