1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

* 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
This commit is contained in:
Richard Gallamore 2019-02-14 19:45:33 +00:00
parent 823ad164f3
commit d9e790a725
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492931
2 changed files with 16 additions and 5 deletions

View File

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

View File

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