Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2019 19:45:33 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492931 - head/textproc/py-pyhamcrest
Message-ID:  <201902141945.x1EJjX0p059432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Thu Feb 14 19:45:33 2019
New Revision: 492931
URL: https://svnweb.freebsd.org/changeset/ports/492931

Log:
  * Revision bump for distfile change
  * Changed MASTER_SITES to GitHub, GitHub includes test suite
  * Added test target and depends, added for testing newer versions of python
  
  PR:		235585

Modified:
  head/textproc/py-pyhamcrest/Makefile
  head/textproc/py-pyhamcrest/distinfo

Modified: head/textproc/py-pyhamcrest/Makefile
==============================================================================
--- head/textproc/py-pyhamcrest/Makefile	Thu Feb 14 19:00:47 2019	(r492930)
+++ head/textproc/py-pyhamcrest/Makefile	Thu Feb 14 19:45:33 2019	(r492931)
@@ -2,9 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	PyHamcrest
+DISTVERSIONPREFIX=	V
 DISTVERSION=	1.9.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ultima@FreeBSD.org
@@ -15,9 +16,19 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
 
-USES=		python:2.7-3.4
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11:devel/py-hypothesis@${PY_FLAVOR} \
+       		${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python
 USE_PYTHON=	autoplist distutils
+USE_GITHUB=	yes
+GH_ACCOUNT=	hamcrest
 
 NO_ARCH=	yes
+
+do-test:
+		(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
 
 .include <bsd.port.mk>

Modified: head/textproc/py-pyhamcrest/distinfo
==============================================================================
--- head/textproc/py-pyhamcrest/distinfo	Thu Feb 14 19:00:47 2019	(r492930)
+++ head/textproc/py-pyhamcrest/distinfo	Thu Feb 14 19:45:33 2019	(r492931)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1513497017
-SHA256 (PyHamcrest-1.9.0.tar.gz) = 8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd
-SIZE (PyHamcrest-1.9.0.tar.gz) = 376623
+TIMESTAMP = 1550103080
+SHA256 (hamcrest-PyHamcrest-V1.9.0_GH0.tar.gz) = 9e672cdbe2dfd0890227c92f7c809736f9302a0bb748bbf78ba71fc7a15412d3
+SIZE (hamcrest-PyHamcrest-V1.9.0_GH0.tar.gz) = 57650



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