Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 16:59:34 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473627 - head/devel/py-attrs
Message-ID:  <201806301659.w5UGxYuN048646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Sat Jun 30 16:59:33 2018
New Revision: 473627
URL: https://svnweb.freebsd.org/changeset/ports/473627

Log:
  devel/py-attrs: Update to 18.1.0
  
  Changelog:
    https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst
  
  - Update PORTVERSION and distinfo checksum to 18.1.0
  - Add TEST_DEPENDS and test target
  
  PR:		229170
  Reviewed by:	koobs
  Approved by:	koobs (mentor), Axel Rau <axel.rau@chaos1.de> (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D15923

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

Modified: head/devel/py-attrs/Makefile
==============================================================================
--- head/devel/py-attrs/Makefile	Sat Jun 30 16:50:56 2018	(r473626)
+++ head/devel/py-attrs/Makefile	Sat Jun 30 16:59:33 2018	(r473627)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	attrs
-PORTVERSION=	17.3.0
+PORTVERSION=	18.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,18 @@ COMMENT=	Python attributes without boilerplate
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Pympler>0:devel/py-pympler@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
+
 NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist distutils
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>

Modified: head/devel/py-attrs/distinfo
==============================================================================
--- head/devel/py-attrs/distinfo	Sat Jun 30 16:50:56 2018	(r473626)
+++ head/devel/py-attrs/distinfo	Sat Jun 30 16:59:33 2018	(r473627)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512561736
-SHA256 (attrs-17.3.0.tar.gz) = c78f53e32d7cf36d8597c8a2c7e3c0ad210f97b9509e152e4c37fa80869f823c
-SIZE (attrs-17.3.0.tar.gz) = 89046
+TIMESTAMP = 1529320200
+SHA256 (attrs-18.1.0.tar.gz) = e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b
+SIZE (attrs-18.1.0.tar.gz) = 106346



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