pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python38



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Dec 30 15:12:57 UTC 2021

Modified Files:
        pkgsrc/lang/python38: Makefile PLIST

Log Message:
python38: prepare for upcoming setuptools change

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/python38/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/python38/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python38/Makefile
diff -u pkgsrc/lang/python38/Makefile:1.21 pkgsrc/lang/python38/Makefile:1.22
--- pkgsrc/lang/python38/Makefile:1.21  Wed Dec  8 16:05:23 2021
+++ pkgsrc/lang/python38/Makefile       Thu Dec 30 15:12:57 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2021/12/08 16:05:23 adam Exp $
+# $NetBSD: Makefile,v 1.22 2021/12/30 15:12:57 wiz Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "dist.mk"
 
 PKGNAME=       python38-${PY_DISTVERSION}
@@ -181,11 +181,20 @@ post-configure:
        touch ${WRKSRC}/Include/opcode.h
 
 .if ${OPSYS} == "HPUX"
-post-install:
+post-install: hpux-postinstall
+.PHONY: hpux-postinstall
+hpux-postinstall:
        ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython3.8.sl \
                ${DESTDIR}${PREFIX}/lib/libpython3.8.sl.1.0
 .endif
 
+post-install: setuptools-postinstall
+.PHONY: setuptools-postinstall
+setuptools-postinstall:
+       ${INSTALL_DATA} ${.CURDIR}/../../devel/py-setuptools/files/_distutils_system_mod \
+               ${DESTDIR}${PREFIX}/lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.py
+
+
 # needed to make devel/py-readline pick up the correct readline implementation
 BUILDLINK_DEPMETHOD.readline=          build
 

Index: pkgsrc/lang/python38/PLIST
diff -u pkgsrc/lang/python38/PLIST:1.10 pkgsrc/lang/python38/PLIST:1.11
--- pkgsrc/lang/python38/PLIST:1.10     Tue May  4 05:16:07 2021
+++ pkgsrc/lang/python38/PLIST  Thu Dec 30 15:12:57 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2021/05/04 05:16:07 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2021/12/30 15:12:57 wiz Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -2504,6 +2504,7 @@ lib/python${PY_VER_SUFFIX}/signal.py
 lib/python${PY_VER_SUFFIX}/signal.pyc
 lib/python${PY_VER_SUFFIX}/signal.pyo
 lib/python${PY_VER_SUFFIX}/site-packages/README.txt
+lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.py
 lib/python${PY_VER_SUFFIX}/site.py
 lib/python${PY_VER_SUFFIX}/site.pyc
 lib/python${PY_VER_SUFFIX}/site.pyo



Home | Main Index | Thread Index | Old Index