Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-glcontext Portable OpenGL context for Python
3.1.0 graphics Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.0Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-01-20 19:51:18
Last Update: 2026-10-20 08:11:21
Commit Hash: 1b1c215
License: MIT
WWW:
https://github.com/moderngl/glcontext
Description: #
glcontext is a library providing OpenGL implementation for ModernGL on multiple platforms: * glcontext on github * glcontext on pypi * ModernGL
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}glcontext>0:graphics/py-glcontext@${PY_FLAVOR}
To install the port: #
cd /usr/ports/graphics/py-glcontext/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/py-glcontext
  • pkg install py312-glcontext
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-glcontext listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-glcontext
Package flavors (<flavor>: <package>) #
  • py312: py312-glcontext
distinfo: #
TIMESTAMP = 1792336582 SHA256 (moderngl-glcontext-3.1.0_GH0.tar.gz) = dea6398cdf161ce02be442cd1bbb75cf8f4f7c3e09f803ebe6d516db5def68e9 SIZE (moderngl-glcontext-3.1.0_GH0.tar.gz) = 18148

Packages (timestamps in pop-ups are UTC): #
py311-glcontext
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---3.0.0-
FreeBSD:14:quarterly---3.0.0-
FreeBSD:15:latest--n/a3.0.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-glcontext
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.03.1.0--3.1.0
FreeBSD:14:quarterly3.0.03.0.0--3.0.0
FreeBSD:15:latest3.1.03.1.0n/a-n/a
FreeBSD:15:quarterly3.0.03.0.0n/a-n/a
FreeBSD:16:latest3.1.03.1.0n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
  6. x11.pc : x11/libX11
Test dependencies: #
  1. py312-psutil>0 : sysutils/py-psutil@py312
  2. Xvfb : x11-servers/xorg-server@xvfb
  3. 8x13O.pcf.gz : x11-fonts/xorg-fonts-miscbitmaps
  4. fonts.alias : x11-fonts/font-alias
  5. base : x11/xkeyboard-config
  6. xkbcomp : x11/xkbcomp
  7. py312-pytest>=7,1 : devel/py-pytest@py312
  8. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
  2. x11.pc : x11/libX11
This port is required by: #
for Run #
  1. graphics/py-moderngl

Configuration Options: #
No options to configure
Options name: #
graphics_py-glcontext
USES: #
display:test localbase python xorg
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/moderngl/glcontext/tar.gz/3.1.0?dummy=/
Collapse this list.

Number of commits found: 10 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.1.0
20 Oct 2026 08:11:21
commit hash: 1b1c21540355cf4b6a0ea6cadddc41d2657d71b4commit hash: 1b1c21540355cf4b6a0ea6cadddc41d2657d71b4commit hash: 1b1c21540355cf4b6a0ea6cadddc41d2657d71b4commit hash: 1b1c21540355cf4b6a0ea6cadddc41d2657d71b4 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-glcontext: update 3.0.0 → 3.1.0
3.0.0
19 Jun 2025 20:28:47
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc

EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.0.0
11 Aug 2024 20:37:29
commit hash: 8ad8faaaaf8d8021f8d443d41ad731a2f63b5063commit hash: 8ad8faaaaf8d8021f8d443d41ad731a2f63b5063commit hash: 8ad8faaaaf8d8021f8d443d41ad731a2f63b5063commit hash: 8ad8faaaaf8d8021f8d443d41ad731a2f63b5063 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-glcontext: update 2.5.0 → 3.0.0

Reported by:	portscout
2.5.0
20 Jan 2024 05:20:53
commit hash: 6cd5c4938f2acdc0db1b3fa2fec6873ace379875commit hash: 6cd5c4938f2acdc0db1b3fa2fec6873ace379875commit hash: 6cd5c4938f2acdc0db1b3fa2fec6873ace379875commit hash: 6cd5c4938f2acdc0db1b3fa2fec6873ace379875 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-glcontext: update 2.4.0 → 2.5.0
2.4.0
12 Jul 2023 04:20:05
commit hash: 0233d71c31e2a787a7e9db5bcd9d788e494c1f38commit hash: 0233d71c31e2a787a7e9db5bcd9d788e494c1f38commit hash: 0233d71c31e2a787a7e9db5bcd9d788e494c1f38commit hash: 0233d71c31e2a787a7e9db5bcd9d788e494c1f38 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-glcontext: Update 2.3.7 → 2.4.0
2.3.7_1
04 Apr 2023 18:29:11
commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: bump PORTREVISION
2.3.7
29 Mar 2023 01:13:41
commit hash: 585b5983c2a3a00fd73c45c0485df847139e02b4commit hash: 585b5983c2a3a00fd73c45c0485df847139e02b4commit hash: 585b5983c2a3a00fd73c45c0485df847139e02b4commit hash: 585b5983c2a3a00fd73c45c0485df847139e02b4 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
graphics/py-glcontext: explicitly add setuptools to BUILD_DEPENDS

PR: 270243
2.3.7
05 Feb 2023 19:05:02
commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50commit hash: f5890bd3cbc66a805bfc04a1a45688b5a3e68c50 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install
bytecode"

Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.3.7_1
05 Feb 2023 18:16:47
commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383commit hash: de6965254c3a007efcf697c3d455b54d2aeb2383 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode

- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change

It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].

from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir

from installer documentation:
--compile-bytecode
    Possible choices: 0, 1, 2
    generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
    don’t generate bytecode for installed modules
    Default: False

With hat:	python
Reference:	https://pypa-build.readthedocs.io/en/stable/ [1]
		https://installer.pypa.io/en/stable/cli/installer/ [2]
2.3.7
20 Jan 2023 19:49:17
commit hash: de388e576961501429ee507ea3f5e8d4bd27e363commit hash: de388e576961501429ee507ea3f5e8d4bd27e363commit hash: de388e576961501429ee507ea3f5e8d4bd27e363commit hash: de388e576961501429ee507ea3f5e8d4bd27e363 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-glcontext: New port: Portable OpenGL context for Python

Number of commits found: 10