svn commit: r492931 - head/textproc/py-pyhamcrest

Richard Gallamore ultima at FreeBSD.org
Thu Feb 14 19:45:34 UTC 2019


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 at 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


More information about the svn-ports-all mailing list