From nobody Mon Jun 8 19:50:45 2026 X-Original-To: dev-commits-ports-all@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 4gZ2hk2Dfkz6gdhd for ; Mon, 08 Jun 2026 19:50:46 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gZ2hj6jMlz3jZP for ; Mon, 08 Jun 2026 19:50:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780948245; 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=675GLvRb1k60PK2WLrutzkSEKdL4Vi7WtC0l9bikyTA=; b=mWdodIo0iDlIK8HEVrnGhwCXS4R92iBj2iXCpT0sW8YLJbMIM16Gi0Hi8o+v2m6FziwvXZ T+mX3RuMbZ3aiMB1oiKZMm6DMZHq3hrvA+gmUaKV6uVRBJa0ImMLWuIrJAH2YaI/IWmIDT xRVULxM1WDvtT/r1nxqQ4hNEQMYmfxM9nFG93uWbAu5Mpz7k2xzRrmGdRjrj783SkrKGPM 8y+6wiDQnEKB4rD5Dy1bmevuujwxQ+7GTt4IzRUYE9vPZ1bY0qfxPkRqbjVt3qH03KQlKx LQ/Yh7ZDWqXVa4kqBIhMaEF/8/tyDT1V0egtPcG8fhxWntmGlfbfY8Jpst08Cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780948245; a=rsa-sha256; cv=none; b=g2GfO5Pujq90847neCe5Fti5v07LMpAEX+DDsRVSfq77WpFvzXHTzO5qX8SrMIs1rI9zDm wHgJHQC4dLkdokxfu7hrDwlUWirUteRwIgEMidJQ7K67gQQ5URjfruJAvikt9v/egP0uyX bcfRUv1OTFqrZt5RmZfYiCl2Qursp5LwGA+SYZeCyo6H+Ci326ET9hEeX3ZpXe7Z9AaIJT 2vdgk1C3IZanG65D4VgVn509y/qUCsra4efk3yf74y4UU0v7Za4GJY7Mr8lzObsUd5I+nh Wb/Fem86woUHv7hTa87fNFAMdcFhnROA/ZZ8NLXU3a1pI4BH+Tywf1Qz1Rj4bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780948245; 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=675GLvRb1k60PK2WLrutzkSEKdL4Vi7WtC0l9bikyTA=; b=rl4bCN2BKHuK5BzcJn+R3L2BSO1P2UzJSEEydnqidXwCtbAlB3YlmvIe/kK+RN0Ybu+d0S QZDmxcLKGnqaw3W7wzGDoaSmhGuRs2UJM74hXYu5FxCNQmqzKci2GaxPW6obwtrlccM8Fe W3f2ysho9a7XDOPW9YgCUu8yPI5yUKp9HNg4iMpVxriBWs33MObDDavRMWPLPZ6vVQMDLY X7UBqoYG6YUGBdWoEOT6Hs6VRuJgPAnbH5igsW450pXTXRFrGyPFy6y9vBwoG+RdVCtkZM 2Jb9acDH5s4y8/zRWa9IKn5F6W7zgzNyGJfRSZXFRJYx5zZoZK6cIOpKXkcjeg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gZ2hj6D27z12jv for ; Mon, 08 Jun 2026 19:50:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 41cf5 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 08 Jun 2026 19:50:45 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a506d52b2a40 - main - graphics/py-gizeh: update 0.1.=?utf-8?Q?11 =E2=86=92 0?=.1.12 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: a506d52b2a408e932b57e5211a74ce2355de9e83 Auto-Submitted: auto-generated Date: Mon, 08 Jun 2026 19:50:45 +0000 Message-Id: <6a271d15.41cf5.2291c292@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a506d52b2a408e932b57e5211a74ce2355de9e83 commit a506d52b2a408e932b57e5211a74ce2355de9e83 Author: Yuri Victorovich AuthorDate: 2026-06-08 16:08:09 +0000 Commit: Yuri Victorovich CommitDate: 2026-06-08 19:50:40 +0000 graphics/py-gizeh: update 0.1.11 → 0.1.12 --- graphics/py-gizeh/Makefile | 14 +++++++++++--- graphics/py-gizeh/distinfo | 6 +++--- graphics/py-gizeh/files/patch-examples_roses.py | 13 +++++++++++++ graphics/py-gizeh/files/patch-pyproject.toml | 13 +++++++++++++ 4 files changed, 40 insertions(+), 6 deletions(-) diff --git a/graphics/py-gizeh/Makefile b/graphics/py-gizeh/Makefile index 52cbce34f59c..f86b7f4b5885 100644 --- a/graphics/py-gizeh/Makefile +++ b/graphics/py-gizeh/Makefile @@ -1,6 +1,5 @@ PORTNAME= gizeh -DISTVERSION= 0.1.11 -PORTREVISION= 6 +DISTVERSION= 0.1.12 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +11,20 @@ WWW= https://github.com/Zulko/gizeh LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 pytest NO_ARCH= yes +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest tests --ignore=tests/test_samples.py -p no:relaxed + +# tests as of 0.1.12: 1 passed + .include diff --git a/graphics/py-gizeh/distinfo b/graphics/py-gizeh/distinfo index d8387c903b72..905faba70d28 100644 --- a/graphics/py-gizeh/distinfo +++ b/graphics/py-gizeh/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1541326427 -SHA256 (gizeh-0.1.11.tar.gz) = a12422d4d16e8b3dbdf2d51cb6633855c460404ace34c6509db30f7e3d55177b -SIZE (gizeh-0.1.11.tar.gz) = 17068 +TIMESTAMP = 1780911498 +SHA256 (gizeh-0.1.12.tar.gz) = f028d8a12fcea7b8cd21d0f9e7bcc4f24536c110577bdae44560f4d90176c4cb +SIZE (gizeh-0.1.12.tar.gz) = 18190 diff --git a/graphics/py-gizeh/files/patch-examples_roses.py b/graphics/py-gizeh/files/patch-examples_roses.py new file mode 100644 index 000000000000..229a69933063 --- /dev/null +++ b/graphics/py-gizeh/files/patch-examples_roses.py @@ -0,0 +1,13 @@ +-- Fix gcd import for Python 3.9+. + +--- examples/roses.py.orig 2026-06-08 09:41:52 UTC ++++ examples/roses.py +@@ -5,7 +5,7 @@ http://en.wikipedia.org/wiki/Rose_mathematics + http://en.wikipedia.org/wiki/Rose_mathematics + """ + +-from fractions import gcd ++from math import gcd + + import numpy as np + diff --git a/graphics/py-gizeh/files/patch-pyproject.toml b/graphics/py-gizeh/files/patch-pyproject.toml new file mode 100644 index 000000000000..69ce166f08e3 --- /dev/null +++ b/graphics/py-gizeh/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +-- Exclude examples from being installed as a top-level package. + +--- pyproject.toml.orig 2026-06-08 09:40:15 UTC ++++ pyproject.toml +@@ -45,7 +45,7 @@ Issues = "https://github.com/Zulko/gizeh/issues" + Issues = "https://github.com/Zulko/gizeh/issues" + + [tool.setuptools.packages.find] +-exclude = ["docs*", "tests*"] ++exclude = ["docs*", "tests*", "examples*"] + + [tool.ruff] + target-version = "py37"