Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 20:51:08 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306636 - head/devel/py-pytest
Message-ID:  <201210292051.q9TKp8kq041896@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Mon Oct 29 20:51:08 2012
New Revision: 306636
URL: http://svn.freebsd.org/changeset/ports/306636

Log:
  - update to 2.3.2
  - align whitespace, reorder PLIST_SUB
  - add TEST_DEPENDS
  - add regression-test target (discussed with hpk@upstream)
  
  while here:
  - trim Makefile header
  - fix packing list with python32
  - tab -> space change in pkg-plist:WWW
  
  PR:		172920 (based on)
  Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
  Feature safe:	yes

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	Mon Oct 29 20:48:23 2012	(r306635)
+++ head/devel/py-pytest/Makefile	Mon Oct 29 20:51:08 2012	(r306636)
@@ -1,12 +1,7 @@
-# New ports collection makefile for:	py-pytest
-# Date created:				15 July 2011
-# Whom:					Ruslan Mahmatkhanov <cvs-src@yandex.ru>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	pytest
-PORTVERSION=	2.2.4
+PORTVERSION=	2.3.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,10 +13,23 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pylib>=1.4.8:${PORTSDIR}/devel/py-pylib
 
-PLIST_SUB+=	PYTHON_VER=${PYTHON_VER}
 # Python 3 ready
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
-USE_ZIP=	yes
+USE_ZIP=		yes
+
+PLIST_SUB+=	PYTHON_VER=${PYTHON_VER}
+
+TEST_DEPENDS:=	${RUN_DEPENDS}
+
+regression-test: build
+	@cd ${WRKSRC} && PYTHONPATH=${WRKSRC} ${PYTHON_CMD} pytest.py --ignore=doc/ja
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if ${PYTHON_REL} >= 320
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/devel/py-pytest/distinfo
==============================================================================
--- head/devel/py-pytest/distinfo	Mon Oct 29 20:48:23 2012	(r306635)
+++ head/devel/py-pytest/distinfo	Mon Oct 29 20:51:08 2012	(r306636)
@@ -1,2 +1,2 @@
-SHA256 (pytest-2.2.4.zip) = dc03898d46d00bb5e6756f6bc2ea3fc6c35935e774a0682988c4b4fcdd624f5e
-SIZE (pytest-2.2.4.zip) = 309641
+SHA256 (pytest-2.3.2.zip) = ff1efd507224cdd768d3827272c87e0cf99571f242c8a5bb634b9d35469fd61d
+SIZE (pytest-2.3.2.zip) = 515396

Modified: head/devel/py-pytest/pkg-descr
==============================================================================
--- head/devel/py-pytest/pkg-descr	Mon Oct 29 20:48:23 2012	(r306635)
+++ head/devel/py-pytest/pkg-descr	Mon Oct 29 20:51:08 2012	(r306636)
@@ -1,3 +1,3 @@
 py.test is a simple and popular testing tool for Python.
 
-WWW:	http://pytest.org/
+WWW: http://pytest.org/



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