Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2012 17:24:39 +1100 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rm@FreeBSD.org
Subject:   ports/172920: [PATCH] devel/py-pytest: update to 2.3.1
Message-ID:  <20121021062439.0758339E76@freebsd-9-amd64.localdomain>
Resent-Message-ID: <201210210630.q9L6U0An082427@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172920
>Category:       ports
>Synopsis:       [PATCH] devel/py-pytest: update to 2.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 06:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- Update to 2.3.1
- Whitespace alignment, reorder PLIST_SUB
- Add TEST_DEPENDS
- Add regression-test target (discussed with hpk@upstream)

Changes: http://pytest.org/latest/changelog.html

====[QA]====
portlint: looks fine.
porttest: OK
redports: https://redports.org/buildarchive/20121021035920-10756/

    Note: All redports builds include regression-test run - OK
    
unittest: 803 passed, 29 skipped, 7 xfailed (known) in 149.48 seconds
============

Port maintainer (rm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-pytest-2.3.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/py-pytest/Makefile ./Makefile
--- /usr/ports/devel/py-pytest/Makefile	2012-05-28 05:56:02.000000000 +1000
+++ ./Makefile	2012-10-21 14:45:05.000000000 +1100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pytest
-PORTVERSION=	2.2.4
+PORTVERSION=	2.3.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,10 +18,16 @@
 
 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.mk>
diff -ruN --exclude=CVS /usr/ports/devel/py-pytest/distinfo ./distinfo
--- /usr/ports/devel/py-pytest/distinfo	2012-05-28 05:56:02.000000000 +1000
+++ ./distinfo	2012-10-20 23:40:36.000000000 +1100
@@ -1,2 +1,2 @@
-SHA256 (pytest-2.2.4.zip) = dc03898d46d00bb5e6756f6bc2ea3fc6c35935e774a0682988c4b4fcdd624f5e
-SIZE (pytest-2.2.4.zip) = 309641
+SHA256 (pytest-2.3.1.zip) = 63495312c5586938096e67839a82ce877ef180355f63b8fcf6754fcc9a3740a1
+SIZE (pytest-2.3.1.zip) = 512689
--- py27-pytest-2.3.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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