From owner-svn-ports-head@freebsd.org Sun Mar 7 22:22:08 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4D7B577E4F; Sun, 7 Mar 2021 22:22:08 +0000 (UTC) (envelope-from sunpoet@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 4Dtwv20lNlz4X9P; Sun, 7 Mar 2021 22:22:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC0431E21A; Sun, 7 Mar 2021 22:22:04 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 127MM4St048842; Sun, 7 Mar 2021 22:22:04 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 127MM4vY048841; Sun, 7 Mar 2021 22:22:04 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202103072222.127MM4vY048841@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 7 Mar 2021 22:22:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567700 - head/textproc/py-tomlkit X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/textproc/py-tomlkit X-SVN-Commit-Revision: 567700 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2021 22:22:09 -0000 Author: sunpoet Date: Sun Mar 7 22:22:04 2021 New Revision: 567700 URL: https://svnweb.freebsd.org/changeset/ports/567700 Log: Convert to test framework Modified: head/textproc/py-tomlkit/Makefile Modified: head/textproc/py-tomlkit/Makefile ============================================================================== --- head/textproc/py-tomlkit/Makefile Sun Mar 7 22:21:58 2021 (r567699) +++ head/textproc/py-tomlkit/Makefile Sun Mar 7 22:22:04 2021 (r567700) @@ -14,6 +14,9 @@ COMMENT= Style-preserving TOML library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils @@ -21,5 +24,8 @@ NO_ARCH= yes post-patch: @${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include