Package Details: python-pyglet 2.1.5-1

Git Clone URL: https://aur.archlinux.org/pyglet.git (read-only, click to copy)
Package Base: pyglet
Description: A cross-platform windowing and multimedia library for Python
Upstream URL: https://github.com/pyglet/pyglet
Licenses: BSD-3-Clause
Submitter: arojas
Maintainer: konez2k
Last Packager: konez2k
Votes: 0
Popularity: 0.000000
First Submitted: 2023-04-01 10:19 (UTC)
Last Updated: 2025-05-05 19:27 (UTC)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2025-06-24 19:31 (UTC)

Seems that upstream forgot tag in repo: https://github.com/pyglet/pyglet/commit/35c0409dbdee13db9520ef4bd55890c7fed986be
It's on pypi: https://pypi.org/project/pyglet/2.1.6/

konez2k commented on 2025-06-21 17:27 (UTC)

@micwoj92 why are you flagging this as out of date if 2.1.6 has not being released on github ?

dreieck commented on 2025-02-09 14:57 (UTC)

You need to make the license identifier SPDX compliant:

python-pyglet E: BSD is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Also, some (optional) dependencies might be missing:

python-pyglet E: Dependency python-gobject detected and not included (python modules ['gi.repository.GLib', 'gi', 'gi.repository.Gst'] needed in files ['usr/lib/python3.13/site-packages/pyglet/media/codecs/gstreamer.py'])
python-pyglet E: Dependency python-pillow detected and not included (python modules ['PIL.Image', 'PIL.Image.Resampling'] needed in files ['usr/lib/python3.13/site-packages/pyglet/image/codecs/pil.py', 'usr/lib/python3.13/site-packages/pyglet/font/user.py'])
python-pyglet E: Dependency gstreamer detected and not included (python modules ['gi.repository.Gst'] needed in files ['usr/lib/python3.13/site-packages/pyglet/media/codecs/gstreamer.py'])

Regards and thanks for the package!

micwoj92 commented on 2025-02-02 21:55 (UTC)

@E3LDDfrK it already is, maintainer doesnt push .SRCINFO changes...

E3LDDfrK commented on 2025-02-02 09:34 (UTC)

As bossi said, shouldn't python-flit-core be added as dependency?

Vekhir commented on 2024-12-23 00:03 (UTC)

python-future has been removed from the official repos because it fails with Python 3.13+. After checking, I don't think that python-pyglet requires it anyway, so it can be removed.

bossi commented on 2024-11-08 01:03 (UTC) (edited on 2024-11-08 01:05 (UTC) by bossi)

Hi there,

I just ran into a build conflict attempting to install 2.0.18: python-flit-core was quoted as an unmet dependency. Installing the package manually and then setting it to "implicitly installed" to treat it as a package installed as a dependency with pacman -D --asdeps python-flit-core and retrying installation of python-pyglet did the trick. Is this on your radar? It might make sense to add it as a dependency to the manifest as long as there's nothing preventing it from being. Thanks!

P.S.: I didn't dig into it but this might be a build dependency only, throwing a glimpse at the posts below, so it might be worth uninstalling again afterwards. Would be good to get clarification on.

konez2k commented on 2024-11-07 11:47 (UTC)

@micwoj92 @dreieck Thank you for pointing this out, fixed in 2.0.18-2

micwoj92 commented on 2024-07-23 17:33 (UTC)

@konez2k This is not what dreieck meant, you don't need to touch setup.py, just adjust build commands for the package.

diff --git a/PKGBUILD b/PKGBUILD
index 8d8265f..91f4496 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ arch=('any')
 url="https://github.com/pyglet/pyglet"
 license=('BSD')
 depends=('python' 'glu' 'python-future')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
 optdepends=('ffmpeg: provides audio&video support'
     'openal: live audio')
 source=("$pkgbase-$pkgver.zip::https://github.com/pyglet/pyglet/archive/refs/tags/v$pkgver.zip")
@@ -26,12 +26,11 @@ prepare() {

 build() {
     cd "$srcdir/$pkgbase-$pkgver"
-    python3 setup.py build
+    python -m build --wheel --no-isolation
 }

 package_python-pyglet() {
-    depends=('python' 'glu' 'python-future')
     cd "$srcdir/$pkgbase-$pkgver"
-    python3 setup.py install --root="$pkgdir" --optimize=1
+    python -m installer --destdir="$pkgdir" dist/*.whl
     install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

konez2k commented on 2024-04-29 18:25 (UTC)

Thanks for the suggestions, @dreieck. I've now prepended the $pkgbase-$pkgver. Unfortunately, I can't modify the setup.py as it depends on the origin.