Package Details: python-manimpango 0.5.0-2

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://manimpango.manim.community
Licenses: MIT
Submitter: groctel
Maintainer: groctel (naveen521kk)
Last Packager: groctel
Votes: 14
Popularity: 0.79
First Submitted: 2021-01-05 14:42 (UTC)
Last Updated: 2023-11-26 10:09 (UTC)

Latest Comments

1 2 Next › Last »

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.

naveen521kk commented on 2023-10-02 17:47 (UTC)

@groctel: The Cython requirement will need to be relaxed to build. Updated and improved PKGBUILD.

Have you tested whether it builds and works as expected when using Cython 3?