From nobody Wed Aug 10 04:17:35 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 4M2c9C49zlz4Y1hv; Wed, 10 Aug 2022 04:17:35 +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 4M2c9C3bLlz3MLT; Wed, 10 Aug 2022 04:17:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105055; 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=tRBeOrmN3Z6VfL6XIio8IdjcxHrgnWyAdqpq+sR19Ok=; b=yWbBOT1zUb4exrVckwaEpw3Fo6ttEVtsRLYop4flv/02XmXuJBHU+A+eVz/GtLJpQvh6RU 9oU2FH0HOpnKv9OriCxqbSYJ4Sfip3piGKQwvDD29dWglWrEF7fJ2/8l4sQCake1PtwC+W hQf5kAS219dxJSuXq9MM/0s+6DKJBTks46jg7dFGHmkG2ocgeeZseRfnvK5blZhM96g+eA d7Kq+08KNtF+UkmJo/oppNn2YX6umilhdkGIib/86SkMvQXrce3dod10WkWszVcc2LUuJ8 NqlQjhIunDeBGc+M0NG9FXJ2NcDXYHgW5pmR5kRKf+Y302o6PX6f6FiMN8IycQ== 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 4M2c9C2ZztzyFC; Wed, 10 Aug 2022 04:17:35 +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 27A4HZRe007763; Wed, 10 Aug 2022 04:17:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27A4HZcP007762; Wed, 10 Aug 2022 04:17:35 GMT (envelope-from git) Date: Wed, 10 Aug 2022 04:17:35 GMT Message-Id: <202208100417.27A4HZcP007762@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 64b885ada496 - main - devel/py-xdoctest: New port: Python package for executing tests in documentation strings 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64b885ada496a6088fa49fd551875e2f374593b4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105055; 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=tRBeOrmN3Z6VfL6XIio8IdjcxHrgnWyAdqpq+sR19Ok=; b=DE/2/hFZiOUZVpO+SXm5aYMSMrhtdutmI67o+QbdvYN0DMnibxxZaWGqun3fnS5EuB864t izhQqYAO7J/H0mhVJmv3P0cqFtG4dGUvy0M5k+9PSejYfVX7P+2l5L43ngNC3PdxFt1Q+r OLr4/+XRj4B5/KYDP5nQjsmvhkQmIyGW8CjvbKnnVhdtpBrQuDGQniBnjRAMd5KGyp1hVt J/qZKzVEb/Tz8buCR7zWdGEQEeW1shODAAqTaAKZPDm2erQ16ddSKNYw/svQtf7J8NnrJb NmdnUOKWq0HJdWCeWG9MRX2drvmEh1cF5IBqAa9bg048BhoMg2o2o6z5el34ZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660105055; a=rsa-sha256; cv=none; b=FkOpAVS8jvuk6MFvKyaMS55b9T6BXjJcVQ6BTF5l+faUDqdsfKDO56Ol8GvcBbzoCjjJGh cM7d7uGjGoB6Dl9vb7Kw09UuDG01cfMYGhnuq+l+xiNUfJ2EK6eXahFvHYdvyQIIrWLKv3 Z+lANH2cxDjxJFFeulM1X2WKcn6KP09mmOv9GhNyBXxhqPsR2ablYnxSRPFaMFnHwfTt9/ 3XxfhOvajMbIXZWEmq7utibYkCj0IWwN412HJ5oNIJmmnjFlZ4W04JTGbmegd8lDpePulJ cQnUtLgu7k3UdUgrp+VP/GSb12NAil0IiTVH4MAi/vpzVv+8Mxb9J5eNRk0ZdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=64b885ada496a6088fa49fd551875e2f374593b4 commit 64b885ada496a6088fa49fd551875e2f374593b4 Author: Yuri Victorovich AuthorDate: 2022-08-10 01:15:11 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-10 04:17:30 +0000 devel/py-xdoctest: New port: Python package for executing tests in documentation strings --- devel/Makefile | 1 + devel/py-xdoctest/Makefile | 27 +++++++++++++++++++++++++++ devel/py-xdoctest/distinfo | 3 +++ devel/py-xdoctest/pkg-descr | 3 +++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4e0082e43dd8..4c58f21a3ecb 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5461,6 +5461,7 @@ SUBDIR += py-xcaplib SUBDIR += py-xdg SUBDIR += py-xdis + SUBDIR += py-xdoctest SUBDIR += py-xerox SUBDIR += py-xmltodict SUBDIR += py-xstatic diff --git a/devel/py-xdoctest/Makefile b/devel/py-xdoctest/Makefile new file mode 100644 index 000000000000..a085465c30da --- /dev/null +++ b/devel/py-xdoctest/Makefile @@ -0,0 +1,27 @@ +PORTNAME= xdoctest +DISTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP # has no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python package for executing tests in documentation strings + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>=2.0.15:devel/py-codecov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=2.0.15:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.25.1:www/py-requests@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pytest # some tests fail, see https://github.com/Erotemic/xdoctest/issues/131 + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include diff --git a/devel/py-xdoctest/distinfo b/devel/py-xdoctest/distinfo new file mode 100644 index 000000000000..86183f374139 --- /dev/null +++ b/devel/py-xdoctest/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660092630 +SHA256 (xdoctest-1.0.1.tar.gz) = 3b90a4b7894dda58c9c8dc673fb61fdceb90fdc838baf1cac475618c8e35975c +SIZE (xdoctest-1.0.1.tar.gz) = 173949 diff --git a/devel/py-xdoctest/pkg-descr b/devel/py-xdoctest/pkg-descr new file mode 100644 index 000000000000..b1a860b1e94b --- /dev/null +++ b/devel/py-xdoctest/pkg-descr @@ -0,0 +1,3 @@ +Xdoctest is a Python package for executing tests in documentation strings. + +WWW: https://github.com/Erotemic/xdoctest