From nobody Mon Apr 18 12:00:44 2022 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 5EEB111D620B; Mon, 18 Apr 2022 12:00:45 +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 4KhlrF183pz3n0V; Mon, 18 Apr 2022 12:00:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283245; 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=axV7tYk4wjmhUmkudFh7QKYrbIUdfCZ+fnwxCqPEPNU=; b=dssgxxznG+TQQADw9r2CdjRqN++hnHfMplYzVtjd7vyhO+2BglfBojPZyyrIoyBhLRWPtg MzG0GKm6ALqJdA0fFbfR//76OhtBHCc/U+KYhhL8XaBR4i4/0cF20+D0HELuMNw99eSqFd 7Cbh6epNo65QANrYYq+brArwPdep3gMJ5HRC/PVMAFFm/qIC6uHN2toY3sHdheWKOH73c6 e5+GkYITfUo8/Rmk9RTsAMReEk/XARBSRcFtaLKN6jzFq9l1iaBm+3t1lcBeicbE6jaWoz um0XrPuiU84DRtRjb3RyetWEQSKQL18XVtcM030Dg+jkE/y3wmqZi2WFdfx67w== 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 95301122F4; Mon, 18 Apr 2022 12:00:44 +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 23IC0iDK017069; Mon, 18 Apr 2022 12:00:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IC0iLP017068; Mon, 18 Apr 2022 12:00:44 GMT (envelope-from git) Date: Mon, 18 Apr 2022 12:00:44 GMT Message-Id: <202204181200.23IC0iLP017068@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 2fefa005e847 - main - devel/py-pytest-markdown: New port 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: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2fefa005e84720bef29a3765c3d313113c930d7e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283245; 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=axV7tYk4wjmhUmkudFh7QKYrbIUdfCZ+fnwxCqPEPNU=; b=ZrXwPlbVn+0WvaZDXbniipRqKUKwULCeM/om0zC5joptSkZyZBhfXvQz3ciRbCcrvU14gi ISplP3nEGJfkXezvwmxyDHZIiQqgpCdca7k12tw+kHqnV1d7cw7o/bDOTjfsAeatbbV/WD DL0RdxRoZQCNDCX+jCg9YuW0vXminG5uQR9Y75VoXh6QjmlOv/6/uShu+iLL+ipJtD9maV stXxnE9TTDRjhBjRmnvV0d0jJpQhStBjC37DXeaJr9Z71asfNkwPAWTWYE242XkHkCgM+J ufXLkpmsR9hql72tYWuEaSbsXo1L8yNw5R7BBmosWJnDibhlfgM00E8MyJ3lGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650283245; a=rsa-sha256; cv=none; b=prb3kcDR/rkiriApg1cpE4U8RapqWvI3cgR8yLhx3uBA8m8Yzq7seoGflS6Tx0eZ3zJ3o5 B717Emn18gyOOj7NTK92epUKwL/8fxp2WuEs/k8lheg4CZhx/V2jOCbtp3b9AWYfW3Wu4Q 9RyLogbZPxfl+v+0xoRh/JEDjfzi3hSsKVwEoAKsKqsrYW73T/Ufb8YReQh+iSCAA17VUG nt0U95Ed3VIlwdHpEKzx9xBJAv9mYR64XQfo0Is9GZt1+0i4VvC7yn1+VyPzsLLERAi8jX /sr5zC8vYOghJtjBPFMpDnV9wZbexDq6FREqlgLOyLnLQbQao45woWqh7cqX3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fefa005e84720bef29a3765c3d313113c930d7e commit 2fefa005e84720bef29a3765c3d313113c930d7e Author: Matthew Seaman AuthorDate: 2022-04-17 08:17:52 +0000 Commit: Matthew Seaman CommitDate: 2022-04-18 11:59:07 +0000 devel/py-pytest-markdown: New port You have written a README.md. In contains some of your best words. They are in an order, and you are happy its a good order. But all those code blocks... Do they contain valid python? This plugin will find tests in your markdown files and run them. --- devel/Makefile | 1 + devel/py-pytest-markdown/Makefile | 21 +++++++++++++++++++++ devel/py-pytest-markdown/distinfo | 3 +++ devel/py-pytest-markdown/pkg-descr | 6 ++++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7b06d26e73c1..01e239246657 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5092,6 +5092,7 @@ SUBDIR += py-pytest-isort SUBDIR += py-pytest-lazy-fixture SUBDIR += py-pytest-localserver + SUBDIR += py-pytest-markdown SUBDIR += py-pytest-metadata SUBDIR += py-pytest-mock SUBDIR += py-pytest-mutagen diff --git a/devel/py-pytest-markdown/Makefile b/devel/py-pytest-markdown/Makefile new file mode 100644 index 000000000000..75c4d60c8959 --- /dev/null +++ b/devel/py-pytest-markdown/Makefile @@ -0,0 +1,21 @@ + +PORTNAME= pytest-markdown +PORTVERSION= 1.0.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pytest_markdown-${PORTVERSION} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Test your markdown docs with pytest + +LICENSE= APACHE20 + + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.0.1:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.1:textproc/py-CommonMark@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-pytest-markdown/distinfo b/devel/py-pytest-markdown/distinfo new file mode 100644 index 000000000000..a384aeb797c3 --- /dev/null +++ b/devel/py-pytest-markdown/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650118193 +SHA256 (pytest_markdown-1.0.2.tar.gz) = 79816bb35a56e20693bab2257e4f1795df6f8f2bc9c2a9f54da687a115c01f35 +SIZE (pytest_markdown-1.0.2.tar.gz) = 2991 diff --git a/devel/py-pytest-markdown/pkg-descr b/devel/py-pytest-markdown/pkg-descr new file mode 100644 index 000000000000..e7b2caa2090e --- /dev/null +++ b/devel/py-pytest-markdown/pkg-descr @@ -0,0 +1,6 @@ +You have written a README.md. In contains some of your best words. They are in +an order, and you are happy its a good order. But all those code blocks... Do +they contain valid python? This plugin will find tests in your markdown files +and run them. + +WWW: https://github.com/Jc2k/pytest-markdown