svn commit: r428485 - in head/devel: . py-py py-pytest py-pytest-asyncio py3-py py3-pytest

Jan Beich jbeich at FreeBSD.org
Tue Dec 13 13:59:15 UTC 2016


Author: jbeich
Date: Tue Dec 13 13:59:13 2016
New Revision: 428485
URL: https://svnweb.freebsd.org/changeset/ports/428485

Log:
  devel/py-pytest-asyncio: unbreak with python < 3.x by default
  
  =======================<phase: run-depends    >============================
  ===>   py35-pytest-asyncio-0.5.0 depends on package: py35-pytest>=3.0.2 - not found
  ===>   py35-pytest-asyncio-0.5.0 depends on package: /packages/All/py35-pytest-3.0.3.txz - not found
  ===>   USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
  *** [run-depends] Error code 1
  
  Reported by:	pkg-fallout

Added:
  head/devel/py3-py/
  head/devel/py3-py/Makefile   (contents, props changed)
  head/devel/py3-pytest/
  head/devel/py3-pytest/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)
  head/devel/py-py/Makefile   (contents, props changed)
  head/devel/py-pytest-asyncio/Makefile   (contents, props changed)
  head/devel/py-pytest/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Dec 13 13:38:42 2016	(r428484)
+++ head/devel/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -4805,8 +4805,10 @@
     SUBDIR += py3-libpeas
     SUBDIR += py3-lxml
     SUBDIR += py3-nose
+    SUBDIR += py3-py
     SUBDIR += py3-pyicu
     SUBDIR += py3-pylru-cache
+    SUBDIR += py3-pytest
     SUBDIR += py3-python-magic
     SUBDIR += py3-pytz
     SUBDIR += py3-threema-msgapi

Modified: head/devel/py-py/Makefile
==============================================================================
--- head/devel/py-py/Makefile	Tue Dec 13 13:38:42 2016	(r428484)
+++ head/devel/py-py/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
 
-USES=		python
+USES+=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes

Modified: head/devel/py-pytest-asyncio/Makefile
==============================================================================
--- head/devel/py-pytest-asyncio/Makefile	Tue Dec 13 13:38:42 2016	(r428484)
+++ head/devel/py-pytest-asyncio/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -11,7 +11,7 @@ COMMENT=	Py.test plugin providing fixtur
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.2:devel/py-pytest
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.2:devel/py3-pytest
 
 NO_ARCH=	yes
 USES=		python:3.3+

Modified: head/devel/py-pytest/Makefile
==============================================================================
--- head/devel/py-pytest/Makefile	Tue Dec 13 13:38:42 2016	(r428484)
+++ head/devel/py-pytest/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -12,7 +12,7 @@ COMMENT=	Simple powerful testing with Py
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py>=1.4.29:devel/py-py
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py>=1.4.29:devel/py${SLAVE_SUFFIX}-py
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \
 		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
 		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis \
@@ -20,7 +20,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}moc
 		${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect \
 		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist
 
-USES=		python
+USES+=		python
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes

Added: head/devel/py3-py/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-py/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-py
+
+USES=		python:3.2+
+
+.include "${MASTERDIR}/Makefile"

Added: head/devel/py3-pytest/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-pytest/Makefile	Tue Dec 13 13:59:13 2016	(r428485)
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-pytest
+
+USES=		python:3.3+
+SLAVE_SUFFIX=	${PYTHON_MAJOR_VER}
+
+.include "${MASTERDIR}/Makefile"


More information about the svn-ports-all mailing list