svn commit: r431009 - in head/devel: . py-testpath py-testpath/files

Antoine Brodin antoine at FreeBSD.org
Mon Jan 9 18:45:16 UTC 2017


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 at 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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>

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


More information about the svn-ports-all mailing list