svn commit: r404499 - head/devel/py-pytest
Kubilay Kocak
koobs at FreeBSD.org
Sat Dec 26 10:28:34 UTC 2015
Author: koobs
Date: Sat Dec 26 10:28:32 2015
New Revision: 404499
URL: https://svnweb.freebsd.org/changeset/ports/404499
Log:
devel/py-pytest: Update to 2.8.5
- Update PORTVERSION and distinfo checksum (2.8.5)
- Add USES zip accordingly (no tar.gz @ PyPI)
- Add pytest-xdist to TEST_DEPENDS
- Add NO_ARCH
- Remove TESTS option and OPTIONS helpers
- Update test target to new convention
Changes:
https://github.com/pytest-dev/pytest/blob/2.8.5/CHANGELOG
Modified:
head/devel/py-pytest/Makefile
head/devel/py-pytest/distinfo
Modified: head/devel/py-pytest/Makefile
==============================================================================
--- head/devel/py-pytest/Makefile Sat Dec 26 10:12:43 2015 (r404498)
+++ head/devel/py-pytest/Makefile Sat Dec 26 10:28:32 2015 (r404499)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pytest
-PORTVERSION= 2.7.1
+PORTVERSION= 2.8.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,20 +12,18 @@ COMMENT= Simple powerful testing with Py
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>=1.4.25:${PORTSDIR}/devel/py-py
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>=1.4.29:${PORTSDIR}/devel/py-py
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
- ${PYTHON_PKGNAMEPREFIX}pexpect>0:${PORTSDIR}/misc/py-pexpect
+ ${PYTHON_PKGNAMEPREFIX}pexpect>0:${PORTSDIR}/misc/py-pexpect \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:${PORTSDIR}/devel/py-pytest-xdist
-USES= python
+USES= python zip
USE_PYTHON= autoplist distutils
-OPTIONS_DEFINE= TESTS
+NO_ARCH= yes
-TESTS_DESC= Install test suite requirements
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-
-regression-test: build
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
Modified: head/devel/py-pytest/distinfo
==============================================================================
--- head/devel/py-pytest/distinfo Sat Dec 26 10:12:43 2015 (r404498)
+++ head/devel/py-pytest/distinfo Sat Dec 26 10:28:32 2015 (r404499)
@@ -1,2 +1,2 @@
-SHA256 (pytest-2.7.1.tar.gz) = 530f23c79e1b13850e93f3a59720f1eca75bad01307dc4fd694a6a19619fb9cb
-SIZE (pytest-2.7.1.tar.gz) = 531671
+SHA256 (pytest-2.8.5.zip) = 44bb32fb3925b5a284ceee1af55e0a63d25436ec415232089403eed3a347667e
+SIZE (pytest-2.8.5.zip) = 664063
More information about the svn-ports-head
mailing list