Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2016 15:36:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423072 - head/graphics/opencv
Message-ID:  <201610011536.u91FaFbH061969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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