aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-pyhamcrest
diff options
context:
space:
mode:
authorRichard Gallamore <ultima@FreeBSD.org>2019-02-14 19:45:33 +0000
committerRichard Gallamore <ultima@FreeBSD.org>2019-02-14 19:45:33 +0000
commitd9e790a725324e9ae79a034b4333fc3fd3b15c1c (patch)
tree057e1a46766d9759f5b72ec97a9382faff40ecb3 /textproc/py-pyhamcrest
parent823ad164f335135b292e161beb132595104dccea (diff)
downloadports-d9e790a725324e9ae79a034b4333fc3fd3b15c1c.tar.gz
ports-d9e790a725324e9ae79a034b4333fc3fd3b15c1c.zip
* 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
Notes
Notes: svn path=/head/; revision=492931
Diffstat (limited to 'textproc/py-pyhamcrest')
-rw-r--r--textproc/py-pyhamcrest/Makefile15
-rw-r--r--textproc/py-pyhamcrest/distinfo6
2 files changed, 16 insertions, 5 deletions
diff --git a/textproc/py-pyhamcrest/Makefile b/textproc/py-pyhamcrest/Makefile
index a3e91d727a3a..8ad9f2cd71ee 100644
--- a/textproc/py-pyhamcrest/Makefile
+++ b/textproc/py-pyhamcrest/Makefile
@@ -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>
diff --git a/textproc/py-pyhamcrest/distinfo b/textproc/py-pyhamcrest/distinfo
index 47f8932551f7..79efeb3d9820 100644
--- a/textproc/py-pyhamcrest/distinfo
+++ b/textproc/py-pyhamcrest/distinfo
@@ -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