From nobody Fri Jun 30 07:23:26 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 4Qsmy65Zb1z4ks2k; Fri, 30 Jun 2023 07:23:26 +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 4Qsmy62KrSz44xy; Fri, 30 Jun 2023 07:23:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109806; 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=mB4RUxAvel/zwvmzIPfoUdzBq9R1J1dTKMN9NF8+XZs=; b=yl6IoxGoRjcXU5l7OMAnmBiKyM80JkVazKq9YYG5iGYFVUfBi8g5bqW/kQO7yVCB+7dg4e rFgwhdH7Cehbq7GvoeDzzfOulQtlQXUpduCCWh15vDJwpO8Y+qhRES9XLWBXq+FKwIYpGF bh3fkCApdfNHeGUwnzQINrA6OclWIvmhT1eNapd70UaQLy8Pw6IgoX3Adxrq8d7vKx4r7h wGF+72ENtVY52Xx8fZJc5wX9T7g0s8H5wkJGKKeP7PncwdgpHAj1mhV6060G7p9eCZwxyJ ZLS7HghXkflKuEGDl37IlPiXRCwEdsy1a00kgWxob81AlDPVs7fnYYO5Y2x0HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688109806; 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=mB4RUxAvel/zwvmzIPfoUdzBq9R1J1dTKMN9NF8+XZs=; b=Ga4nACdsRXQbSTu+sNlQ6PDN62d2tW+SNRE/hnblxvsAfWpMlSkgr7X2YWFSJ82XQC43/i /ida/r41cQ4aBvqductEJbQEP0xrt6Bb669yAW6u7nSElJW0tP263419ZSPVQQ6QyGGA+K b5UKTfU8JYswJtVuzT7r098Mr1f1BJZUNRe/tqXGH9BjlnNAseEn2Ly4YElLEdqFfiZ1g+ FJximWKM+LZNEbUWSqb85NxNR8wfQfAn98LUa95lIFvzeaym8k3KxrZ+Ok4R1MfGYR3xFs Jm056lPkMsixlLdWjP8iFnJS5ioHjJfhEgLBGNlezS3Ajsvo4zq2w5fbYVJlGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688109806; a=rsa-sha256; cv=none; b=a525+mbGcb2YPV8DEc+7WIJxgyboKYkvJqYnwt0tG8MTSJIPLfPmdAWmtSaOwqOi6H79/j BvBPdYkaah8kuZoQy4/YjsI8aK5DgoS1uN4IKY6/3nh6qB6qfllJsJu4rBfwzaNO9rEc1c dzkbJO8XAavP3sOfhVFuWE312Wof+bh8bp9mi5mnrLQT/u5veRfBjeJxvjI/YlEz/nZMdW 7N4wZztzzH3vS0JJVLTNsBYqbf2DCJsFWrhl1P3e5llfhpQ8u9hbGA6CBWEA5rO2sEVk6y ha1bhzsQKN9FiKJOJp2c2KlpvuyASqJx+SCg/ztZ0BoQANFr9f6gv7zlJ7hFuQ== 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 4Qsmy61NPbzqPb; Fri, 30 Jun 2023 07:23:26 +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 35U7NQPp085330; Fri, 30 Jun 2023 07:23:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U7NQ2f085329; Fri, 30 Jun 2023 07:23:26 GMT (envelope-from git) Date: Fri, 30 Jun 2023 07:23:26 GMT Message-Id: <202306300723.35U7NQ2f085329@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: a5789ccf779d - main - textproc/py-m2r: Allow build with py-mistune installed 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5789ccf779d5adcb9e384f0c5e4712b6acc6d37 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5789ccf779d5adcb9e384f0c5e4712b6acc6d37 commit a5789ccf779d5adcb9e384f0c5e4712b6acc6d37 Author: Po-Chuan Hsieh AuthorDate: 2023-06-30 07:08:57 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-06-30 07:08:57 +0000 textproc/py-m2r: Allow build with py-mistune installed - Bump PORTREVISION for package change PR: 263956 --- textproc/py-m2r/Makefile | 1 + textproc/py-m2r/files/patch-mistune | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/textproc/py-m2r/Makefile b/textproc/py-m2r/Makefile index 82df827c5045..b9efa5b2d9c6 100644 --- a/textproc/py-m2r/Makefile +++ b/textproc/py-m2r/Makefile @@ -1,5 +1,6 @@ PORTNAME= m2r DISTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= textproc devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/textproc/py-m2r/files/patch-mistune b/textproc/py-m2r/files/patch-mistune new file mode 100644 index 000000000000..6b74fff89f4e --- /dev/null +++ b/textproc/py-m2r/files/patch-mistune @@ -0,0 +1,22 @@ +--- m2r.py.orig 2022-11-17 08:04:26 UTC ++++ m2r.py +@@ -10,7 +10,7 @@ from argparse import ArgumentParser, Namespace + from docutils import statemachine, nodes, io, utils + from docutils.parsers import rst + from docutils.utils import column_width +-import mistune ++import mistune0 as mistune + from urllib.parse import urlparse + + __version__ = '0.3.1' +--- setup.py.orig 2022-11-17 08:04:26 UTC ++++ setup.py +@@ -16,7 +16,7 @@ except ImportError: + with open(readme_file) as f: + readme = f.read() + +-install_requires = ['mistune<2', 'docutils'] ++install_requires = ['mistune0<2', 'docutils'] + test_requirements = ['pygments'] + + setup(