lang/python38: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2021-10-14 20:08:33 +02:00
parent e6c5c31798
commit 6cb2ff876d
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= python
DISTVERSION= ${PYTHON_DISTVERSION}
PORTREVISION= 1
CATEGORIES= lang python
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION}
PKGNAMESUFFIX= ${PYTHON_SUFFIX}
@ -129,6 +130,7 @@ post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
.endif
${LN} -sf libpython${PYTHON_VER}${ABIFLAGS}.so.1.0 ${STAGEDIR}${PREFIX}/lib/libpython${PYTHON_VER}${ABIFLAGS}.so.1
# This code block exists for the qemu-user enabled cross build environment.
# When using this environment in poudriere, CC is not set to the default
# of /usr/bin/cc and a cross-compile toolchain is used. We need to hand

View file

@ -138,6 +138,7 @@ include/python%%XYDOT%%%%ABI%%/unicodeobject.h
include/python%%XYDOT%%%%ABI%%/warnings.h
include/python%%XYDOT%%%%ABI%%/weakrefobject.h
lib/libpython%%XYDOT%%%%ABI%%.so
lib/libpython%%XYDOT%%%%ABI%%.so.1
lib/libpython%%XYDOT%%%%ABI%%.so.1.0
lib/libpython%%XYDOT%%%%ABI%%.so.1.0-gdb.py
lib/python%%XYDOT%%/LICENSE.txt