From nobody Fri Jun 30 07:23:23 2023 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 4Qsmy42LFBz4ksBm; Fri, 30 Jun 2023 07:23:24 +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 4Qsmy401nkz44s0; Fri, 30 Jun 2023 07:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109804; 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=dushpaLzOvLlAWMzFhE01ZsdPTV/sstL3jXsDKTfhpA=; b=QzhjyoP6AqNBxTwTjFsf0vEI27g2DZkYJL0i1Iv87ffdLf367utzJSh50sMe0jXIvevgGu KSBsvwANOepDAL7zsfAblVh39ZsMo9djsJJXymJHiOvKxq3th+RXJSbhq9KvprwHeOpgG1 f9+NlUeVrhFTGKa1zESHiAgX/5y9eyyqwasJMZbhvc/vXAPRVVjY4iOWlTH0KzlRp+T+dT m1Z/vTcV74VcsUIrfLP58edaApO9djrcqYRGEtFx1iPhz67PZ4o7v4k7Y1h4JVRsEb7VZH x+NgnwDjzXWogHLJ5rHEFO0MLjzIF6OfkfFP0JT5ZbsVQSxjM9LHfrcCqvQ3ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109804; 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=dushpaLzOvLlAWMzFhE01ZsdPTV/sstL3jXsDKTfhpA=; b=YbHTnuLvaT0T/wEPn8IyFqZvx+t/cLieCWGsuBV7XXlnxY20vY03Ra3N7Ip//IPgavm6Y8 PvJbpau0mQz6ucU2w/1LoCJKAxKnalDksccWbHNP+/UdZPQv9wAEo8cdcsw/qrp7TvLl41 0sQsSQ9n+u6mC9xjmVpeO3owR83q71hYwLq7JUOGNBHDXmqDtKDtmH6JUQlew03/ddxBW6 8hKXq8ChT2gPgNuOVPmPTpd9rUUuLoEkMasuLZqulZ5qU7Ei93HxzNYn+6vGMfkkvUWPtg NsL3LZrFIeuz1hDeWJAq1Y3TIX7n04us02Xv7R8IsZBqASieKgAdCIzm+ozTOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688109804; a=rsa-sha256; cv=none; b=upb/yoy3pba/z30ThYdq2z5rcfZGKuIQOkB8OvufV1D9VVXe52QGDfvYFztYtM6gqKbqNg w2+SGQeF74/lVEELPmUYZUjcPDGaFVKekVhETMIwlyiTtI0Bq7AZWHjH0yMTk2NjYJRiBJ kZVfcNqHZS49uKX0FiBVKj1nGjwUOtV2Q5RBQG646yT89hqY3MeVmDef9zH+VkAK0jy2sb Jm3m2o9JDIimJlT2PW7Pjkopnc55WSLaK0hS4V3d35axIbG7Vcie1pJeQOeZXNh900BBfU k4mCYajD4Sr2zRj6ublB+dhbeXqroLzCRjHlY6ZZhvqaEfV81WhQvgnxhvf7Gg== 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 4Qsmy36BLmzqgs; Fri, 30 Jun 2023 07:23:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35U7NNWY085292; Fri, 30 Jun 2023 07:23:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U7NN5d085291; Fri, 30 Jun 2023 07:23:23 GMT (envelope-from git) Date: Fri, 30 Jun 2023 07:23:23 GMT Message-Id: <202306300723.35U7NN5d085291@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2ceae76cdadf - main - textproc/lookatme: Allow build with py-mistune installed 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ceae76cdadfe9823c92051904a6f9929a02181f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ceae76cdadfe9823c92051904a6f9929a02181f commit 2ceae76cdadfe9823c92051904a6f9929a02181f Author: Po-Chuan Hsieh AuthorDate: 2023-06-30 07:08:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-30 07:08:52 +0000 textproc/lookatme: Allow build with py-mistune installed - Bump PORTREVISION for package change PR: 263956 --- textproc/lookatme/Makefile | 1 + textproc/lookatme/files/patch-mistune | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/textproc/lookatme/Makefile b/textproc/lookatme/Makefile index cb6ed9fdd83e..1f2b60065d01 100644 --- a/textproc/lookatme/Makefile +++ b/textproc/lookatme/Makefile @@ -1,5 +1,6 @@ PORTNAME= lookatme PORTVERSION= 2.5.5 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI diff --git a/textproc/lookatme/files/patch-mistune b/textproc/lookatme/files/patch-mistune new file mode 100644 index 000000000000..14ca231aa856 --- /dev/null +++ b/textproc/lookatme/files/patch-mistune @@ -0,0 +1,32 @@ +--- lookatme/parser.py.orig 2022-12-30 04:38:38 UTC ++++ lookatme/parser.py +@@ -7,7 +7,7 @@ import re + from collections import defaultdict + from typing import AnyStr, Callable, Dict, List, Tuple + +-import mistune ++import mistune0 as mistune + + from lookatme.schemas import MetaSchema + from lookatme.slide import Slide +--- lookatme/render/markdown_block.py.orig 2022-12-30 04:38:38 UTC ++++ lookatme/render/markdown_block.py +@@ -4,7 +4,7 @@ representations + """ + + +-import mistune ++import mistune0 as mistune + import pygments + import pygments.styles + import urwid +--- requirements.txt.orig 2022-12-30 04:38:38 UTC ++++ requirements.txt +@@ -1,6 +1,6 @@ + marshmallow>=3.17.0,<4 + Click>=7,<9 + PyYAML>=5,<6 +-mistune>=0.8,<1 ++mistune0>=0.8,<1 + urwid>=2,<3 + Pygments>=2,<3