Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 23:16:17 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377274 - head/devel/py-unittest2
Message-ID:  <201501172316.t0HNGHHY029002@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Jan 17 23:16:16 2015
New Revision: 377274
URL: https://svnweb.freebsd.org/changeset/ports/377274
QAT: https://qat.redports.org/buildarchive/r377274/

Log:
  devel/py-unittest2: update to 0.8.0

Modified:
  head/devel/py-unittest2/Makefile
  head/devel/py-unittest2/distinfo

Modified: head/devel/py-unittest2/Makefile
==============================================================================
--- head/devel/py-unittest2/Makefile	Sat Jan 17 23:15:42 2015	(r377273)
+++ head/devel/py-unittest2/Makefile	Sat Jan 17 23:16:16 2015	(r377274)
@@ -1,18 +1,24 @@
 # $FreeBSD$
 
 PORTNAME=	unittest2
-PORTVERSION=	0.5.1
-PORTREVISION=	1
+PORTVERSION=	0.8.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	rm@FreeBSD.org
-COMMENT=	Unittest features for Python 2.7 backported to Python 2.3+
+COMMENT=	New features in unittest backported to Python 2.4+
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
 
 LICENSE=	BSD3CLAUSE
 
-USES=		python:2 zip
-USE_PYTHON=	distutils autoplist
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+post-patch:
+	@${REINPLACE_CMD} -e "s|'argparse', 'six'|'six'|" \
+		${WRKSRC}/setup.py
 
 .include <bsd.port.mk>

Modified: head/devel/py-unittest2/distinfo
==============================================================================
--- head/devel/py-unittest2/distinfo	Sat Jan 17 23:15:42 2015	(r377273)
+++ head/devel/py-unittest2/distinfo	Sat Jan 17 23:16:16 2015	(r377274)
@@ -1,2 +1,2 @@
-SHA256 (unittest2-0.5.1.zip) = 227be2497f1278f6826e196d0629b8af6fd0f36d82abd969ced3295b017b4e96
-SIZE (unittest2-0.5.1.zip) = 78114
+SHA256 (unittest2-0.8.0.tar.gz) = bb00b9c261cf3fa6b84cc3e6c3a39edf74b3140345b3f677907635a2738a7e2a
+SIZE (unittest2-0.8.0.tar.gz) = 78312



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