Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 18:06:31 +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: r567108 - head/finance/beancount
Message-ID:  <202103031806.123I6VgI038470@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Mar  3 18:06:31 2021
New Revision: 567108
URL: https://svnweb.freebsd.org/changeset/ports/567108

Log:
  finance/beancount: Fix packaging with Python 3.8
  
  * Apply the same fix as in r559094 by stripping libraries by wildcard paths.
  
  * Also use PYTHONPREFIX_SITELIBDIR instead PYTHON_SITELIBDIR to make the
    port PREFIX safe while I'm here.
  
  PR:		253815
  Approved by:	python (with hat)

Modified:
  head/finance/beancount/Makefile

Modified: head/finance/beancount/Makefile
==============================================================================
--- head/finance/beancount/Makefile	Wed Mar  3 18:06:27 2021	(r567107)
+++ head/finance/beancount/Makefile	Wed Mar  3 18:06:31 2021	(r567108)
@@ -34,6 +34,6 @@ USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils noflavors
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/parser/_parser.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/parser/_parser*.so
 
 .include <bsd.port.mk>



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