Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 06:48:59 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409652 - in head/devel/py-pytest: . files
Message-ID:  <201602270648.u1R6mxqc082640@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Feb 27 06:48:59 2016
New Revision: 409652
URL: https://svnweb.freebsd.org/changeset/ports/409652

Log:
  devel/py-pytest: Update to 2.8.7
  
  - Update PORTVERSION and distinfo checksum (2.8.7)
  - Remove nose from TEST_DEPENDS (only mentioned in tox.ini)
  - Patch setup.py not to install version-suffixed console_scripts
  - Enable "concurrent" Python installation accordingly
  - Remove USES=zip, DISTFILES is now a tarball
  
  Changes:
  
    http://pytest.org/latest/changelog.html

Added:
  head/devel/py-pytest/files/
  head/devel/py-pytest/files/patch-setup.py   (contents, props changed)
Modified:
  head/devel/py-pytest/Makefile
  head/devel/py-pytest/distinfo

Modified: head/devel/py-pytest/Makefile
==============================================================================
--- head/devel/py-pytest/Makefile	Sat Feb 27 05:15:57 2016	(r409651)
+++ head/devel/py-pytest/Makefile	Sat Feb 27 06:48:59 2016	(r409652)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pytest
-PORTVERSION=	2.8.5
+PORTVERSION=	2.8.7
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,12 +14,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 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}pytest-xdist>=1.13:${PORTSDIR}/devel/py-pytest-xdist
 
-USES=		python zip
-USE_PYTHON=	autoplist distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 

Modified: head/devel/py-pytest/distinfo
==============================================================================
--- head/devel/py-pytest/distinfo	Sat Feb 27 05:15:57 2016	(r409651)
+++ head/devel/py-pytest/distinfo	Sat Feb 27 06:48:59 2016	(r409652)
@@ -1,2 +1,2 @@
-SHA256 (pytest-2.8.5.zip) = 44bb32fb3925b5a284ceee1af55e0a63d25436ec415232089403eed3a347667e
-SIZE (pytest-2.8.5.zip) = 664063
+SHA256 (pytest-2.8.7.tar.gz) = fc4c86be54fce08e4b85b646a736efa18c6cde7599c1d2919f4f74629e018baf
+SIZE (pytest-2.8.7.tar.gz) = 564943

Added: head/devel/py-pytest/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest/files/patch-setup.py	Sat Feb 27 06:48:59 2016	(r409652)
@@ -0,0 +1,13 @@
+--- setup.py.orig	2016-02-27 05:10:48 UTC
++++ setup.py
+@@ -69,7 +69,9 @@ def main():
+         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
+         author='Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others',
+         author_email='holger at merlinux.eu',
+-        entry_points=make_entry_points(),
++        entry_points= {
++            'console_scripts': ['py.test=pytest:main'],
++        },
+         classifiers=classifiers,
+         cmdclass={'test': PyTest},
+         # the following should be enabled for release



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