svn commit: r423072 - head/graphics/opencv

Jan Beich jbeich at FreeBSD.org
Sat Oct 1 15:36:16 UTC 2016


Author: jbeich
Date: Sat Oct  1 15:36:15 2016
New Revision: 423072
URL: https://svnweb.freebsd.org/changeset/ports/423072

Log:
  graphics/py-opencv: drop python3 vestige after r422698
  
  PYTHON_REL is defined in bsd.port.pre.mk, so this unlikely to ever have
  worked unless defined via make.conf. Note, USES=python only supports
  overriding PYTHON_VERSION apart from DEFAULT_VERSIONS=python*.
  
    $ make -V PYTHON_VERSION PYTHON_REL=3500
    python2.7
  
    $ PYTHON_REL=3500 make -V PYTHON_REL
    2712
  
    $ make -V PYTHON_REL PYTHON_VERSION=python3.5
    3502
  
  PR:		204519 (for tracking)

Modified:
  head/graphics/opencv/Makefile   (contents, props changed)

Modified: head/graphics/opencv/Makefile
==============================================================================
--- head/graphics/opencv/Makefile	Sat Oct  1 15:34:01 2016	(r423071)
+++ head/graphics/opencv/Makefile	Sat Oct  1 15:36:15 2016	(r423072)
@@ -201,13 +201,8 @@ post-install:
 	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
 		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S|${PREFIX}/||})
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.   if defined(PYTHON_REL) && ${PYTHON_REL} >= 3000
-	cd ${WRKSRC}/samples/python && \
-		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python
-.   else
 	cd ${WRKSRC}/samples/python2 && \
 		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/python2
-.   endif
 .endif
 .if defined(OCV_JAVA)
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}


More information about the svn-ports-head mailing list