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.37
First Submitted: 2021-01-05 14:42 (UTC)
Last Updated: 2024-09-25 19:55 (UTC)

Latest Comments

1 2 Next › Last »

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.

groctel commented on 2023-10-13 20:23 (UTC)

Hey! I had a mixup with my testing environment and with the old glib package from the AUR, thanks @yochananmarqos. I've also tested that the package works with Cython 3, the one provided by the official repos. The package should be good now. Thank you for flagging the issue :)

jsimon0 commented on 2023-10-13 17:43 (UTC)

Fixed checksum

# Maintainer: Groctel <aur@taxorubio.com>
# Maintainer: Naveen M K <naveen521kk@gmail.com>

_name=ManimPango

pkgname=python-manimpango
pkgver=0.4.4
pkgrel=1
pkgdesc="C binding for Pango using Cython used in Manim to render (non-LaTeX) text."

arch=('x86_64')
license=('MIT')
url="https://manimpango.manim.community"

source=("https://github.com/ManimCommunity/$_name/releases/download/v$pkgver/$_name-$pkgver.tar.gz")
sha512sums=('da2708375b26d4ff8704c0137aafa1411ff9c4a4240a7798b1b3b7c3901b4b393bcc9b21a258d96a31a208234e526667e7832912da89fc5e933c7975d67c5705')

depends=(
        'cairo'
        'fontconfig'
        'glib'
        'harfbuzz'
        'pango'
        'python'
        'python-gobject'
)
makedepends=(
        'python-setuptools'
        'cython'
)

build ()
{
        cd "$srcdir/$_name-$pkgver"
        rm -f ManimPango/*.c
        python setup.py build
}

package ()
{
        cd "$srcdir/$_name-$pkgver"
        python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 --skip-build
        install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
}

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

@groctel: Where did you get the glib dependency from? That's an old AUR package. Did you mean glib2?

Rhinoceros commented on 2023-10-13 09:36 (UTC)

Thanks for the update, but looks like you forgot to update the checksum.

yochananmarqos commented on 2023-10-02 17:54 (UTC)

@naveen521kk: Yes, it builds fine and smile works with it.