From nobody Tue Mar 21 19:30:18 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 4Ph1sR1XZRz40jhp; Tue, 21 Mar 2023 19:30:19 +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 4Ph1sQ6G92z4VPF; Tue, 21 Mar 2023 19:30:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427018; 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=5vw+amPmY50s2oOwL4S1W6x/xY0jnJ0FADK10IWBua0=; b=v7JgCD7TgophCD0MeIjdyiGO+L61kpNqznO/ysN711zY19VKPhQm8NWvCludxpnC+Q+1ub nG+I6KnGG14HjGcUtKlpvTWz02SNzyukLBLmHcpn1+V1NtA+FnX9fvudYdaxhEk9wm9SPW QEbgANvlz0E1E+hV4/+IkUDpULP/GNaMsFX670Tb0k8zLEozy9sD2O1z5/1IIEGr9Q9n6O Qx4s1uXjh0AzoGXXa19uMo/zsSuBS0aK/l5L8fKcRNrc06nIBZ2JWM8a6ogER4odh/26cF 4DKwbZ+53es/zHykU6r9rfwLsFwEljW5JwVgrSETcxnItOOdep8zgB/QhrO2Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427018; 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=5vw+amPmY50s2oOwL4S1W6x/xY0jnJ0FADK10IWBua0=; b=QTWqIPJ52wN1pdGfdhOtNV1PlOFIEUHH0Mt79lMPK+gGbgbzXVlCc/cJT6Ws+ys46X/nNE MNXJwVfItexuKHTRyxNX3FQsFj18LiRZ7MU0lfpo0ihrBJ7A9qDvbXxcxy14xb7Gp0sPSh 9uyEyEZ2NK6uBLEU8eAwWluX0DE2UofhrEcaIIlXyAmKWXcqS0sOKK30z666Jl755Cw0B+ MSsz+kAgrvJbEwaYOW6GQBn/h+IU0X7SWOsLU99vfnbU8ATaX0MAHtt7JubHs7/nNEHxJM VfZEyMJGXK3zWzh4oG/Wrh6cQcT5/RS+NezE2rUM77ueUR0CTAbhJ892rzV51Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427018; a=rsa-sha256; cv=none; b=TEaHMXmxkEzMrMhoWz9/pY+8+SYX1MXzMqOeinvIuXNo3Wk1UkUs6IB2drp8Md15/KYUVO gN3E6w2aOXX3nNCNuMN8cJal6U/V8gQ1Fj0XLWUvSpXnaB22LkqCm9qrIKnWyqzr95+jYu T+DfmBpwFBUI59il5mAXE1BkEcgl2xm1bgndCKrL6gzM/GkZZZA2Gib0jpLGB3U+43jxUb GGKLk+yvckS83wYU0OvcQlulAuibgEbIwDpAKMTJ1r5HcyT2DZpnscTlbwJtx8dJoDaV80 BfWSkyfgXRvJtip6XFDS+M5JkY/VSbzCL3qv78gfmuyyyPcOp8iJuKCk5EHGlQ== 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 4Ph1sQ3FPszPbh; Tue, 21 Mar 2023 19:30:18 +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 32LJUIw6042608; Tue, 21 Mar 2023 19:30:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJUIAT042607; Tue, 21 Mar 2023 19:30:18 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:18 GMT Message-Id: <202303211930.32LJUIAT042607@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: df9e0bf5fddc - main - textproc/py-myst-parser: Convert to USE_PYTHON=pep517 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: df9e0bf5fddc653af4f613600956c95bd3954fe1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=df9e0bf5fddc653af4f613600956c95bd3954fe1 commit df9e0bf5fddc653af4f613600956c95bd3954fe1 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:21 +0000 textproc/py-myst-parser: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-myst-parser/Makefile | 7 ++-- textproc/py-myst-parser/files/setup.py | 68 ---------------------------------- 2 files changed, 3 insertions(+), 72 deletions(-) diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile index 4c61e27ca6cc..690a8c176e29 100644 --- a/textproc/py-myst-parser/Makefile +++ b/textproc/py-myst-parser/Makefile @@ -1,5 +1,6 @@ PORTNAME= myst-parser PORTVERSION= 0.18.1 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,7 @@ WWW= https://github.com/executablebooks/MyST-Parser LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1<0.20,1:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1.0.0<3.0.0:textproc/py-markdown-it-py@${PY_FLAVOR} \ @@ -20,11 +22,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1<0.20,1:textproc/py-docutils ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/textproc/py-myst-parser/files/setup.py b/textproc/py-myst-parser/files/setup.py deleted file mode 100644 index 9ee4305c51d1..000000000000 --- a/textproc/py-myst-parser/files/setup.py +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['myst_parser', - 'myst_parser.config', - 'myst_parser.mdit_to_docutils', - 'myst_parser.parsers', - 'myst_parser.sphinx_ext'] - -package_data = \ -{'': ['*']} - -install_requires = \ -['docutils>=0.15,<0.20', - 'jinja2', - 'markdown-it-py>=1.0.0,<3.0.0', - 'mdit-py-plugins~=0.3.1', - 'pyyaml', - 'sphinx>=4,<6', - 'typing-extensions'] - -extras_require = \ -{'code_style': ['pre-commit~=2.12'], - 'linkify': ['linkify-it-py~=1.0'], - 'rtd': ['ipython', - 'sphinx-book-theme', - 'sphinx-design', - 'sphinxext-rediraffe~=0.2.7', - 'sphinxcontrib.mermaid~=0.7.1', - 'sphinxext-opengraph~=0.6.3'], - 'testing': ['beautifulsoup4', - 'coverage[toml]', - 'pytest>=6,<7', - 'pytest-cov', - 'pytest-regressions', - 'pytest-param-files~=0.3.4', - 'sphinx-pytest', - 'sphinx<5.2']} - -entry_points = \ -{'console_scripts': ['myst-anchors = myst_parser.cli:print_anchors', - 'myst-docutils-html = ' - 'myst_parser.parsers.docutils_:cli_html', - 'myst-docutils-html5 = ' - 'myst_parser.parsers.docutils_:cli_html5', - 'myst-docutils-latex = ' - 'myst_parser.parsers.docutils_:cli_latex', - 'myst-docutils-pseudoxml = ' - 'myst_parser.parsers.docutils_:cli_pseudoxml', - 'myst-docutils-xml = ' - 'myst_parser.parsers.docutils_:cli_xml']} - -setup(name='myst-parser', - version='%%PORTVERSION%%', - description='An extended commonmark compliant parser, with bridges to docutils & sphinx.', - author=None, - author_email='Chris Sewell ', - url=None, - packages=packages, - package_data=package_data, - install_requires=install_requires, - extras_require=extras_require, - entry_points=entry_points, - python_requires='>=3.7', - )