From nobody Tue Mar 21 19:30:14 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 4Ph1sM6PTSz40jHk; Tue, 21 Mar 2023 19:30:15 +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 4Ph1sM2vd6z4VJN; Tue, 21 Mar 2023 19:30:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427015; 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=dnPtFsvoyTo2CndsE53obFhaEhazOozLsKjpNrM1FsU=; b=N45wbXDpnooHZkCLXN1cswiYFLwZBOlor+6i41PvMAaQcOjTMBtcGpeh3C1NAgTaJUAjK6 szgfwc7bt7dmtgkCc2zxlfbatW8xqm4al1JkUnj9WwkfhwFnNZXFhZGInfqwcvMewqD/qL BUg6c9JTbpQMhCZOXG7beWMu5XNCsxjwiOW29xpuNbn67oE9odGmLWAWhxgDF2ByGhXqlT 1OCaPYZqSnx/bXPN/JnBIruzzRsOsfyG0qIUDQWPjsV5nrZn8W5iZO/uzcqnU03/QdNUpH w5dfMKXLFAnQS1sFjF77W5XrzTcQSSZx2ry0MTzN462DRCYLZP5eCutXu5Theg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427015; 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=dnPtFsvoyTo2CndsE53obFhaEhazOozLsKjpNrM1FsU=; b=fCpxJfgwSHhwpiRYzbbUBA8qbhhlhgU4729U8eyXXygXp155IU6i7sdGY33bLgFlbyxsk9 CQ/NLHgoeEeKFEdU+LNgX+wnDMjkbtoF2NZFug+XgkfC+MuNXWKAkemCcmOEH6XslO73WJ mNKJqi2vdHo6iow5joL1rdOQxWBGVN2APNF2s65oraUU7k+zyaXRp6NKOA1YfgReVD6Tjh UvvG83DSR0TF7/NEUCvGncVG+SuBswsz4GHanKdpfdVj07E0tMzmv0JLL81XM+L1bAw2Yb VbHGS4oflsqL6vDLP5NcKsy9Q0IXCy4aSa2Zh1bCmSJkSH6CTcU4K1JI/DaRLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427015; a=rsa-sha256; cv=none; b=xDKE3cZXosiRWg4X4gvRhItgWpb7Ptl+VSlnBowe+VqYWIe2ZF7f938TRH8QVKwPqFAadQ GrVj+aSWhlEwcfA215l8Wyhvd9dxF5LHvWf8DXx0ZnC9fKGmIgqgNwZzjFt1N3XzDgFHqj 2scu6fZDSI57kgp5ZQ11SU9WvqAq8bsoD3HKMhrxrzBYROY+cvZXVWN7kd2TVwtFiB+3Kg nnJMUyeylgG9ug0QPlOi07bJQQ5iqDyKossRKzWXU+Uloo6r6Y7W9zn8J2kZy+QFMLL12k ai4yBvuEHcN/idMPSE0BZRGIzljcrvKDCKM2Nma0YHs3RNaztHefRjUEQEoryQ== 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 4Ph1sM1N7PzPkx; Tue, 21 Mar 2023 19:30:15 +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 32LJUFHm041278; Tue, 21 Mar 2023 19:30:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJUEHv041272; Tue, 21 Mar 2023 19:30:14 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:14 GMT Message-Id: <202303211930.32LJUEHv041272@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: e493afc7d882 - main - textproc/py-mdit-py-plugins: 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: e493afc7d8825448d4a24ed25d09677f63eb0185 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e493afc7d8825448d4a24ed25d09677f63eb0185 commit e493afc7d8825448d4a24ed25d09677f63eb0185 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:21 +0000 textproc/py-mdit-py-plugins: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-mdit-py-plugins/Makefile | 7 ++--- textproc/py-mdit-py-plugins/files/setup.py | 45 ------------------------------ 2 files changed, 3 insertions(+), 49 deletions(-) diff --git a/textproc/py-mdit-py-plugins/Makefile b/textproc/py-mdit-py-plugins/Makefile index fe7cd288e74e..f20a551ccdce 100644 --- a/textproc/py-mdit-py-plugins/Makefile +++ b/textproc/py-mdit-py-plugins/Makefile @@ -1,5 +1,6 @@ PORTNAME= mdit-py-plugins PORTVERSION= 0.3.3 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,14 +12,12 @@ WWW= https://github.com/executablebooks/mdit-py-plugins 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}markdown-it-py>=1.0.0<3.0.0:textproc/py-markdown-it-py@${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-mdit-py-plugins/files/setup.py b/textproc/py-mdit-py-plugins/files/setup.py deleted file mode 100644 index 3a64613df499..000000000000 --- a/textproc/py-mdit-py-plugins/files/setup.py +++ /dev/null @@ -1,45 +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 = \ -['mdit_py_plugins', - 'mdit_py_plugins.amsmath', - 'mdit_py_plugins.anchors', - 'mdit_py_plugins.attrs', - 'mdit_py_plugins.container', - 'mdit_py_plugins.deflist', - 'mdit_py_plugins.dollarmath', - 'mdit_py_plugins.field_list', - 'mdit_py_plugins.footnote', - 'mdit_py_plugins.front_matter', - 'mdit_py_plugins.myst_blocks', - 'mdit_py_plugins.myst_role', - 'mdit_py_plugins.tasklists', - 'mdit_py_plugins.texmath', - 'mdit_py_plugins.wordcount'] - -package_data = \ -{'': ['*']} - -install_requires = \ -['markdown-it-py>=1.0.0,<3.0.0'] - -extras_require = \ -{'code_style': ['pre-commit'], - 'rtd': ['attrs', 'myst-parser~=0.16.1', 'sphinx-book-theme~=0.1.0'], - 'testing': ['coverage', 'pytest', 'pytest-cov', 'pytest-regressions']} - -setup(name='mdit-py-plugins', - version='%%PORTVERSION%%', - description='Collection of plugins for markdown-it-py', - author=None, - author_email='Chris Sewell ', - url=None, - packages=packages, - package_data=package_data, - install_requires=install_requires, - extras_require=extras_require, - python_requires='>=3.7', - )