From owner-svn-ports-all@freebsd.org Sat Jun 29 09:27:59 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02CC815D8675; Sat, 29 Jun 2019 09:27:59 +0000 (UTC) (envelope-from swills@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BA346F3AC; Sat, 29 Jun 2019 09:27:58 +0000 (UTC) (envelope-from swills@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 755C2C6A0; Sat, 29 Jun 2019 09:27:58 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5T9RweN010117; Sat, 29 Jun 2019 09:27:58 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5T9Rv4g010113; Sat, 29 Jun 2019 09:27:57 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201906290927.x5T9Rv4g010113@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 29 Jun 2019 09:27:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505337 - in head/devel: . py-pytest-virtualenv X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . py-pytest-virtualenv X-SVN-Commit-Revision: 505337 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9BA346F3AC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2019 09:27:59 -0000 Author: swills Date: Sat Jun 29 09:27:57 2019 New Revision: 505337 URL: https://svnweb.freebsd.org/changeset/ports/505337 Log: devel/py-pytest-virtualenv: create port Create a Python virtual environment in your test that cleans up on teardown. The fixture has utility methods to install packages and list what's installed. WWW: https://github.com/manahl/pytest-plugins/tree/master/pytest-virtualenv Added: head/devel/py-pytest-virtualenv/ head/devel/py-pytest-virtualenv/Makefile (contents, props changed) head/devel/py-pytest-virtualenv/distinfo (contents, props changed) head/devel/py-pytest-virtualenv/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jun 29 09:27:37 2019 (r505336) +++ head/devel/Makefile Sat Jun 29 09:27:57 2019 (r505337) @@ -4848,6 +4848,7 @@ SUBDIR += py-pytest-sugar SUBDIR += py-pytest-timeout SUBDIR += py-pytest-tornado + SUBDIR += py-pytest-virtualenv SUBDIR += py-pytest-xdist SUBDIR += py-pytest-xprocess SUBDIR += py-python-Levenshtein Added: head/devel/py-pytest-virtualenv/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-virtualenv/Makefile Sat Jun 29 09:27:57 2019 (r505337) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= pytest-virtualenv +PORTVERSION= 1.7.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= swills@FreeBSD.org +COMMENT= Virtualenv fixture for py.test + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0:devel/py-setuptools-git@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-fixture-config>0:devel/py-pytest-fixture-config@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-shutil>0:devel/py-pytest-shutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} + +USES= python + +USE_PYTHON= autoplist concurrent distutils + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs) + +.include Added: head/devel/py-pytest-virtualenv/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-virtualenv/distinfo Sat Jun 29 09:27:57 2019 (r505337) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560869801 +SHA256 (pytest-virtualenv-1.7.0.tar.gz) = 2270ee8822111ec25db48e9d9f2efec32e68483a015b14cd0d92aeccc6ff820f +SIZE (pytest-virtualenv-1.7.0.tar.gz) = 15767 Added: head/devel/py-pytest-virtualenv/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-virtualenv/pkg-descr Sat Jun 29 09:27:57 2019 (r505337) @@ -0,0 +1,4 @@ +Create a Python virtual environment in your test that cleans up on teardown. +The fixture has utility methods to install packages and list what's installed. + +WWW: https://github.com/manahl/pytest-plugins/tree/master/pytest-virtualenv