Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 12:10:56 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567488 - head/devel/py-cld
Message-ID:  <202103061210.126CAuTl087235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Sat Mar  6 12:10:56 2021
New Revision: 567488
URL: https://svnweb.freebsd.org/changeset/ports/567488

Log:
  devel/py-cld: Fix packaging with Python 3.8
  
  * Also pet portlint by replacing PLIST_FILES entries with make variables.
  
  PR:		253815
  Approved by:	python (with hat)

Modified:
  head/devel/py-cld/Makefile

Modified: head/devel/py-cld/Makefile
==============================================================================
--- head/devel/py-cld/Makefile	Sat Mar  6 12:10:36 2021	(r567487)
+++ head/devel/py-cld/Makefile	Sat Mar  6 12:10:56 2021	(r567488)
@@ -19,9 +19,9 @@ LIB_DEPENDS=	libcld2.so:devel/cld2
 USES=		python:3.6+
 USE_PYTHON=	flavors
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/chromium_compact_language_detector-2.0-py%%PYTHON_VER%%.egg-info \
-		%%PYTHON_SITELIBDIR%%/cld2.so \
-		%%PYTHON_SITELIBDIR%%/cld2full.so
+PLIST_FILES=	${PYTHON_SITELIBDIR}/chromium_compact_language_detector-2.0-py${PYTHON_VER}.egg-info \
+		${PYTHON_SITELIBDIR}/cld2${PYTHON_EXT_SUFFIX}.so \
+		${PYTHON_SITELIBDIR}/cld2full${PYTHON_EXT_SUFFIX}.so
 
 post-patch:
 	${REINPLACE_CMD} -e "s#\.\./cld2#${LOCALBASE}/include/cld#" ${WRKSRC}/setup.py ${WRKSRC}/setup_full.py



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