From nobody Mon Apr 18 00:02:22 2022 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 73C5A11D23C0; Mon, 18 Apr 2022 00:02: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 4KhRvM2q1vz4Zd1; Mon, 18 Apr 2022 00:02:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240144; 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=rJf5O53ZemzffuGBN5FdhUy5nHf2rv6sQ9RHtyGZ46U=; b=tfZuHQBCyrAr4lpS1XCtAwFMLT3FOnrt0huRSBQkVslfbhjt8ynm2Rn2D8BGk+zX11wd2p aA7rzhP4zeF37tOdmQWKk9ko2imoQXEEtNRKF31bj/7AdVsTLX2gAYybUC81VACNsXMtyt VLKVaS3wDzrYSvBPb5VQIW9WsgbPYR/VVYBAa2ZFt9FkkDSXxNqn9bTx3S34Kdmqo9hkpS OLyJtF2DMN294lE3en0o81wggd9VmusDMDaxr33wqxt5lUo+ChpMsS1LnYOxnXLNaTMprc S/gNKSf9AaHcNOYWpl1kEO8IN09IH73ZTGVzxcFtvJTKp+nmNcxBCcobjv6G4Q== 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 C514127C33; Mon, 18 Apr 2022 00:02:22 +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 23I02MKO044871; Mon, 18 Apr 2022 00:02:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I02MeY044870; Mon, 18 Apr 2022 00:02:22 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:02:22 GMT Message-Id: <202204180002.23I02MeY044870@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: 874ae5850900 - main - textproc/py-markdown-it-py: Update to 2.1.0 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: 874ae5850900aa7fec36109c88e2aed0f5eabd4a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240144; 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=rJf5O53ZemzffuGBN5FdhUy5nHf2rv6sQ9RHtyGZ46U=; b=dWBv8sUZP6tOwdRaaxiy0gdMECVr2UysA8J31G98S8xyhY6ogtgPU4+GEaGXoge6epLu2z RxuUv021MPpz6LztO0j6ONwP3eyhWor7HabMPI1lOk3puPOPTVScue+Ourw5UczDcvBaOF 2VYuSd+Gn4HYFV1QJfSnJzo+MxGsKRfqhXRyjR3E7ID6LZ6hdjqmHOHWrzfIyogbwNR60M 49qBt/t4l7SXpZmRneEbRu5J3Ylb3yJuRnvREg8B62dOQwXKt+/5KKPFGZtZNf8bw/yfz5 DpjAbtO4Li61HZh8mH2emDhr/ozh7e0+scR5bjdT11GY+pVm75cersA13LbgNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650240144; a=rsa-sha256; cv=none; b=sPXK00YkSl+8OUvdXBNhSZoznXEy+EyQw/M+qj6BtdFymSkns0nrrKkDmzn1twEy4U2z5T kUM2Cq1Itfq+QA0Go6GUDMDeVSmzawHHecAe4xhsfqgqwjFPc+lDgEVIVyDSxKLZtpmrnD ieONK/O/PWpraMSt8mFI81Yee2zuCxzevH/mNlcTlPvL2omGO6olppx6pXjcVsPxbOfTsy DTWvvrwC1/d8MG8fjqLoddLB6lOyY6ILGMRyTA30K7tl5pK/hSDMAp2IGjzh1iAS04Fl/S QAvQ/HStBNvU/EdmblObaf4KDs5+/IHH9NO2/uTI1S1Lgd0yBmS5E40MQjWq+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=874ae5850900aa7fec36109c88e2aed0f5eabd4a commit 874ae5850900aa7fec36109c88e2aed0f5eabd4a Author: Po-Chuan Hsieh AuthorDate: 2022-04-17 23:45:20 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-17 23:58:24 +0000 textproc/py-markdown-it-py: Update to 2.1.0 Changes: https://github.com/executablebooks/markdown-it-py/releases https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md --- textproc/py-markdown-it-py/Makefile | 10 +++--- textproc/py-markdown-it-py/distinfo | 6 ++-- textproc/py-markdown-it-py/files/setup.py | 58 +++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 7 deletions(-) diff --git a/textproc/py-markdown-it-py/Makefile b/textproc/py-markdown-it-py/Makefile index 88f10fb1b6eb..378e95489471 100644 --- a/textproc/py-markdown-it-py/Makefile +++ b/textproc/py-markdown-it-py/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh PORTNAME= markdown-it-py -PORTVERSION= 2.0.1 +PORTVERSION= 2.1.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +12,9 @@ COMMENT= Python port of markdown-it LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19<22:devel/py-attrs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1<1:textproc/py-mdurl@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1<1:textproc/py-mdurl@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes @@ -26,4 +25,7 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR} .endif +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/textproc/py-markdown-it-py/distinfo b/textproc/py-markdown-it-py/distinfo index 3b3ba0702e77..05677f1f15d5 100644 --- a/textproc/py-markdown-it-py/distinfo +++ b/textproc/py-markdown-it-py/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643382564 -SHA256 (markdown-it-py-2.0.1.tar.gz) = 7b5c153ae1ab2cde00a33938bce68f3ad5d68fbe363f946de7d28555bed4e08a -SIZE (markdown-it-py-2.0.1.tar.gz) = 62355 +TIMESTAMP = 1650228820 +SHA256 (markdown-it-py-2.1.0.tar.gz) = cf7e59fed14b5ae17c0006eff14a2d9a00ed5f3a846148153899a0224e2c07da +SIZE (markdown-it-py-2.1.0.tar.gz) = 66227 diff --git a/textproc/py-markdown-it-py/files/setup.py b/textproc/py-markdown-it-py/files/setup.py new file mode 100644 index 000000000000..a2166377b371 --- /dev/null +++ b/textproc/py-markdown-it-py/files/setup.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['markdown_it', + 'markdown_it.cli', + 'markdown_it.common', + 'markdown_it.helpers', + 'markdown_it.presets', + 'markdown_it.rules_block', + 'markdown_it.rules_core', + 'markdown_it.rules_inline'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['mdurl~=0.1'] + +extras_require = \ +{":python_version<'3.8'": ['typing_extensions>=3.7.4'], + 'benchmarking': ['psutil', 'pytest', 'pytest-benchmark~=3.2'], + 'code_style': ['pre-commit==2.6'], + 'compare': ['commonmark~=0.9.1', + 'markdown~=3.3.6', + 'mistletoe~=0.8.1', + 'mistune~=2.0.2', + 'panflute~=2.1.3'], + 'linkify': ['linkify-it-py~=1.0'], + 'plugins': ['mdit-py-plugins'], + 'profiling': ['gprof2dot'], + 'rtd': ['attrs', + 'myst-parser', + 'pyyaml', + 'sphinx', + 'sphinx-copybutton', + 'sphinx-design', + 'sphinx_book_theme'], + 'testing': ['coverage', 'pytest', 'pytest-cov', 'pytest-regressions']} + +entry_points = \ +{'console_scripts': ['markdown-it = markdown_it.cli.parse:main']} + +setup(name='markdown-it-py', + version='%%PORTVERSION%%', + description='Python port of markdown-it. Markdown parsing, done right!', + 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', + )