From nobody Fri Jan 20 21:06:50 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NzBrV4Bkfz310Gf; Fri, 20 Jan 2023 21:06:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NzBrV3Zxkz3PYv; Fri, 20 Jan 2023 21:06:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674248810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QweSfROxxcmWuQQhgFX/XDDOawUHIL3YUC6zEezMDak=; b=fjA8KQJNqrpDwLY78DLpHbafFfLi/vpGUROY0ibKOD+GXOMBmhqxIa/cV0yezGm7JDN5qr E5gvo06RN+w27yt2pooa66m0bAObK6XVCOo8Qgo8uyEezsuq17PgSlOPP5tPVB8oq5KTxh W6lpCbipPWzw8sr+OrRKFxH3iZ1VJ4HuBSYspWNBzGGUmch0kPtXPxmzRjObrPYLZAbWVI +0TDzwaWE4978vMtEn1kSD9hSJuHbt6snfqNL9U9565s2QHVXEFUEhitDC3vodq8CzIUsD mw8Ol8YP48ozhrW22gNcRu7v3hq5BeELkF88clkPQNMTIvvLxqR73LOIjN/p5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674248810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QweSfROxxcmWuQQhgFX/XDDOawUHIL3YUC6zEezMDak=; b=gd9qGJcx5v29fynLzMY08alGfebuCc+Th1MPWzmF0dYWShIF701J/MmrRxP56zts5WoXii /KLBQo5fQMTK/6QqtKkAUIE8CG0nV/YDvRUOTGDPHru9Vr0Go7G9e9hWBB1iLR1sSOLyyG 6qzVk5CiKLpyo1RNd+EjU+JZb1h+C3xa0MXKBZt792L9+W0DnJttLJbZ/xv5wBInsPtuYK 4y90UBxPzIRzElHqEx9xd5O3+2weJ0ceNq7wBkoanHRBMxTouXGhTepVRzNFMs5B58u2na z/agaX9b1Gl5M6GdMGXvwRev9cNOycsPwQGsFwT4GDoXEbOqCDGHpUBl/Ssr1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674248810; a=rsa-sha256; cv=none; b=dsGBu3X81JjeCsPMiI0JWIY9GqzkFxYO/WRgjRVyk6KnmSo54tGD7kmqLAUscoubEudHvf TQ9LshLD+0BqY3p4TVQzQiN/N+qdiGVi59jnRy4mdu/TmanCubWf+WzL9jYsqS5XqD9uew sJ0sqhWlCKtbVNc1ZBi+PmIh9MKM6LBKI5Dj/sFR/zWJBhA4cornHKwJuWCLUNwB7oXnPt AuysMCTmUgF0hQAZsKgZPjMp2cqjVsdj/nqHY6T+XPT3bxN9G9WARFSKt2kdm7MA1CoL51 gzl0K9Kvji5l98AEYyoyLIPha78zmhzrf7z3sBa0BpTFF38Ei8GvVuo23htauA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NzBrV2MKGzlJT; Fri, 20 Jan 2023 21:06:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30KL6ooh058159; Fri, 20 Jan 2023 21:06:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30KL6oXu058158; Fri, 20 Jan 2023 21:06:50 GMT (envelope-from git) Date: Fri, 20 Jan 2023 21:06:50 GMT Message-Id: <202301202106.30KL6oXu058158@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fc70b79b196e - main - graphics/py-moderngl: New port: ModernGL: High performance rendering for Python 3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc70b79b196e18ed131c728f2f138fe2c04d1d46 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc70b79b196e18ed131c728f2f138fe2c04d1d46 commit fc70b79b196e18ed131c728f2f138fe2c04d1d46 Author: Yuri Victorovich AuthorDate: 2023-01-20 16:09:03 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-20 21:06:47 +0000 graphics/py-moderngl: New port: ModernGL: High performance rendering for Python 3 --- graphics/Makefile | 1 + graphics/py-moderngl/Makefile | 28 ++++++++++++++++++++++++++++ graphics/py-moderngl/distinfo | 3 +++ graphics/py-moderngl/pkg-descr | 7 +++++++ 4 files changed, 39 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index d01e41b1d6c0..d12b8c96d1ef 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -887,6 +887,7 @@ SUBDIR += py-mcomix SUBDIR += py-mgwr SUBDIR += py-ming + SUBDIR += py-moderngl SUBDIR += py-momepy SUBDIR += py-mpl-interactions SUBDIR += py-mpl-scatter-density diff --git a/graphics/py-moderngl/Makefile b/graphics/py-moderngl/Makefile new file mode 100644 index 000000000000..ea2b34133fdd --- /dev/null +++ b/graphics/py-moderngl/Makefile @@ -0,0 +1,28 @@ +PORTNAME= moderngl +DISTVERSION= 5.7.4 +CATEGORIES= graphics +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= ModernGL: High performance rendering for Python 3 +WWW= https://moderngl.readthedocs.io/en/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}glcontext>=2.3.6<3:graphics/py-glcontext@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # testsuite SEGVs, see https://github.com/moderngl/moderngl/issues/547 + +USE_GITHUB= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/moderngl/mgl${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/graphics/py-moderngl/distinfo b/graphics/py-moderngl/distinfo new file mode 100644 index 000000000000..a9f64b518ad6 --- /dev/null +++ b/graphics/py-moderngl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674242505 +SHA256 (moderngl-moderngl-5.7.4_GH0.tar.gz) = 1c3ded82f572d574a2116b55d6988fcd66776c809bdb09a42590ab678d612dca +SIZE (moderngl-moderngl-5.7.4_GH0.tar.gz) = 2687476 diff --git a/graphics/py-moderngl/pkg-descr b/graphics/py-moderngl/pkg-descr new file mode 100644 index 000000000000..814db167e6f4 --- /dev/null +++ b/graphics/py-moderngl/pkg-descr @@ -0,0 +1,7 @@ +ModernGL is a python wrapper over OpenGL 3.3+ core that simplifies the creation +of simple graphics applications like scientific simulations, games or user +interfaces. Usually, acquiring in-depth knowledge of OpenGL requires a steep +learning curve. In contrast, ModernGL is easy to learn and use, moreover it is +capable of rendering with high performance and quality, with less code written. +The majority of the moderngl code base is also written in C++ for high +performance.