From owner-svn-ports-all@freebsd.org Mon Jan 9 18:45:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D522CA7D6C; Mon, 9 Jan 2017 18:45:16 +0000 (UTC) (envelope-from antoine@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 mx1.freebsd.org (Postfix) with ESMTPS id 69CF71212; Mon, 9 Jan 2017 18:45:16 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v09IjF6I027690; Mon, 9 Jan 2017 18:45:15 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09IjFfk027685; Mon, 9 Jan 2017 18:45:15 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201701091845.v09IjFfk027685@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 9 Jan 2017 18:45:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431009 - in head/devel: . py-testpath py-testpath/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 09 Jan 2017 18:45:16 -0000 Author: antoine Date: Mon Jan 9 18:45:14 2017 New Revision: 431009 URL: https://svnweb.freebsd.org/changeset/ports/431009 Log: New port: devel/py-testpath Test utilities for Python code working with files and commands. WWW: https://github.com/jupyter/testpath Added: head/devel/py-testpath/ head/devel/py-testpath/Makefile (contents, props changed) head/devel/py-testpath/distinfo (contents, props changed) head/devel/py-testpath/files/ head/devel/py-testpath/files/setup.py (contents, props changed) head/devel/py-testpath/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 9 18:36:48 2017 (r431008) +++ head/devel/Makefile Mon Jan 9 18:45:14 2017 (r431009) @@ -4664,6 +4664,7 @@ SUBDIR += py-termstyle SUBDIR += py-testgears SUBDIR += py-testoob + SUBDIR += py-testpath SUBDIR += py-testtools SUBDIR += py-tgMochiKit SUBDIR += py-thrift Added: head/devel/py-testpath/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testpath/Makefile Mon Jan 9 18:45:14 2017 (r431009) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= testpath +PORTVERSION= 0.3 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= python@FreeBSD.org +COMMENT= Test utilities for Python code working with files and commands + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest + +USE_GITHUB= yes +GH_ACCOUNT= jupyter + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3400 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib +.endif + +post-extract: + @${CP} ${FILESDIR}/setup.py ${WRKSRC} + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) + +.include Added: head/devel/py-testpath/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testpath/distinfo Mon Jan 9 18:45:14 2017 (r431009) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483907649 +SHA256 (jupyter-testpath-0.3_GH0.tar.gz) = 01cc3cd59a59d42b238252774b9ebfc9d2af1d0d9bac81d7801409f570b1cda5 +SIZE (jupyter-testpath-0.3_GH0.tar.gz) = 91250 Added: head/devel/py-testpath/files/setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testpath/files/setup.py Mon Jan 9 18:45:14 2017 (r431009) @@ -0,0 +1,13 @@ + +from setuptools import setup, find_packages + +setup( + name='testpath', + version='0.3', + description='Test utilities for Python code working with files and commands', + url='https://github.com/jupyter/testpath', + author='The Jupyter Development Team', + license='MIT', + long_description='Test utilities for Python code working with files and commands', + packages=find_packages(exclude=['tests']) +) Added: head/devel/py-testpath/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testpath/pkg-descr Mon Jan 9 18:45:14 2017 (r431009) @@ -0,0 +1,3 @@ +Test utilities for Python code working with files and commands. + +WWW: https://github.com/jupyter/testpath