Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 03:47:56 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379871 - head/devel/py-pytest
Message-ID:  <201502250347.t1P3luft028086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Feb 25 03:47:55 2015
New Revision: 379871
URL: https://svnweb.freebsd.org/changeset/ports/379871
QAT: https://qat.redports.org/buildarchive/r379871/

Log:
  devel/py-pytest: Update to 2.6.4
  
  - Update to 2.6.4
  - Update COMMENT to reflect upstream description (setup.py)
  - Update RUN_DEPENDS and TEST_DEPENDS
  - Add TESTS option
  - Update pkg-descr for more detail on features
  
  Approved by:	python (with hat)

Modified:
  head/devel/py-pytest/Makefile
  head/devel/py-pytest/distinfo
  head/devel/py-pytest/pkg-descr

Modified: head/devel/py-pytest/Makefile
==============================================================================
--- head/devel/py-pytest/Makefile	Wed Feb 25 01:53:35 2015	(r379870)
+++ head/devel/py-pytest/Makefile	Wed Feb 25 03:47:55 2015	(r379871)
@@ -1,24 +1,30 @@
 # $FreeBSD$
 
 PORTNAME=	pytest
-PORTVERSION=	2.6.1
-PORTREVISION=	1
+PORTVERSION=	2.6.4
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
-COMMENT=	Mature full-featured Python testing tool
+COMMENT=	Simple powerful testing with Python
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py>=1.4.22:${PORTSDIR}/devel/py-py
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py>=1.4.25:${PORTSDIR}/devel/py-py
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+		${PYTHON_PKGNAMEPREFIX}pexpect>0:${PORTSDIR}/misc/py-pexpect
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+OPTIONS_DEFINE=	TESTS
+
+TESTS_DESC=		Install test suite requirements
+TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
+
 regression-test: build
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 

Modified: head/devel/py-pytest/distinfo
==============================================================================
--- head/devel/py-pytest/distinfo	Wed Feb 25 01:53:35 2015	(r379870)
+++ head/devel/py-pytest/distinfo	Wed Feb 25 03:47:55 2015	(r379871)
@@ -1,2 +1,2 @@
-SHA256 (pytest-2.6.1.tar.gz) = 994dabcb3149659d259add2aa7d11bff4d35efb7cf4c8233fa9b0b62c1255c3c
-SIZE (pytest-2.6.1.tar.gz) = 627761
+SHA256 (pytest-2.6.4.tar.gz) = 550883b98184cef6cbb980d4d90051330aeae41075092f98ef0215719af8ef33
+SIZE (pytest-2.6.4.tar.gz) = 512090

Modified: head/devel/py-pytest/pkg-descr
==============================================================================
--- head/devel/py-pytest/pkg-descr	Wed Feb 25 01:53:35 2015	(r379870)
+++ head/devel/py-pytest/pkg-descr	Wed Feb 25 03:47:55 2015	(r379871)
@@ -1,3 +1,16 @@
-py.test is a simple and popular testing tool for Python.
+The pytest testing tool makes it easy to write small tests, yet scales to
+support complex functional testing.
+
+Features: 
+
+  * Auto-discovery of test modules and functions
+  * Detailed info on failing assert statements
+  * Modular fixtures for managing small or parametrized long-lived test
+    resources
+  * Multi-paradigm support: you can use pytest to run test suites based on
+    unittest (or trial), nose
+  * Single-source compatibility from Python2.6 all the way up to Python3.4,
+    PyPy-2.3, (jython-2.5 untested)
+  * Many external plugins
 
 WWW: http://pytest.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502250347.t1P3luft028086>