Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 19:01:11 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423289 - head/devel/py-traitlets
Message-ID:  <201610041901.u94J1B3f005740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Oct  4 19:01:11 2016
New Revision: 423289
URL: https://svnweb.freebsd.org/changeset/ports/423289

Log:
  Update to 4.3.1
  
  PR:		213166
  Submitted by:	maintainer

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

Modified: head/devel/py-traitlets/Makefile
==============================================================================
--- head/devel/py-traitlets/Makefile	Tue Oct  4 18:35:00 2016	(r423288)
+++ head/devel/py-traitlets/Makefile	Tue Oct  4 19:01:11 2016	(r423289)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	traitlets
-PORTVERSION=	4.2.2
+PORTVERSION=	4.3.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,29 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	yuri@rawbw.com
 COMMENT=	Configuration system for Python applications
 
-LICENSE=	BSD2CLAUSE
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING.md
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator \
+		${PYTHON_PKGNAMEPREFIX}ipython_genutils>=0:devel/py-ipython_genutils \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3400
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34
+.endif
+
+.if ${PYTHON_VER} == 2.7
+TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock
+.endif
+
+do-test:
+	@(cd ${TEST_WRKSRC} && py.test-${PYTHON_VER} traitlets)
+
+.include <bsd.port.post.mk>

Modified: head/devel/py-traitlets/distinfo
==============================================================================
--- head/devel/py-traitlets/distinfo	Tue Oct  4 18:35:00 2016	(r423288)
+++ head/devel/py-traitlets/distinfo	Tue Oct  4 19:01:11 2016	(r423289)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1467453710
-SHA256 (traitlets-4.2.2.tar.gz) = 7d7e3070484b2fe490fa55e0acf7023afc5ed9ddabec57405f25c355158e152a
-SIZE (traitlets-4.2.2.tar.gz) = 79332
+TIMESTAMP = 1475525206
+SHA256 (traitlets-4.3.1.tar.gz) = ba8c94323ccbe8fd792e45d8efe8c95d3e0744cc8c085295b607552ab573724c
+SIZE (traitlets-4.3.1.tar.gz) = 88108



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