Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 11:01:49 +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: r568378 - head/math/py-piranha
Message-ID:  <202103141101.12EB1niQ010997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Sun Mar 14 11:01:49 2021
New Revision: 568378
URL: https://svnweb.freebsd.org/changeset/ports/568378

Log:
  math/py-piranha: Fix build with Python 3.8 and 3.9
  
  * Adjust regexp pattern to make builds with Python 3.8/3.9 possible and
    remove Python 2 support from it while I'm here because the port is
    Python 3 only since r559531.
  
  Excerpt from the log:
  
  ninja: error: '/usr/local/lib/libpython3.8m.so', needed by 'pyranha/_core.so', missing and no known rule to make it
  
  PR:		253815
  Approved by:	portmgr (build fix)

Modified:
  head/math/py-piranha/Makefile

Modified: head/math/py-piranha/Makefile
==============================================================================
--- head/math/py-piranha/Makefile	Sun Mar 14 10:53:04 2021	(r568377)
+++ head/math/py-piranha/Makefile	Sun Mar 14 11:01:49 2021	(r568378)
@@ -26,7 +26,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	bluescarni
 USE_PYTHON=	flavors
 
-PYTHON_SUFFIX_LETTER=	${PYTHON_VER:C/^2.*//:C/^3.*/m/}
+PYTHON_SUFFIX_LETTER=	${PYTHON_VER:C/^3.[67]/m/:C/^3.[89]//}
 
 CMAKE_ON=	BUILD_PYRANHA
 CMAKE_OFF=	PIRANHA_INSTALL_HEADERS



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