Subject: CVS commit: pkgsrc/lang
From: Taylor R Campbell
Date: 2023-06-27 12:35:30
Message id: 20230627103530.BB9CFFA89@cvs.NetBSD.org

Log Message:
python: Override sys.platform with PY_PLATNAME when cross-compiling.

For this purpose, factor the PY_PLATNAME definition out into a new
lang/pythonNN/platname.mk file.  It's not the same for 2.x and 3.x;
perhaps we could factor it out further into a single 2.x vs 3.x
conditional but this is a more mechanical change that makes it easier
to audit for now.

Files:
RevisionActionfile
1.107modifypkgsrc/lang/python27/Makefile
1.18modifypkgsrc/lang/python310/Makefile
1.7modifypkgsrc/lang/python311/Makefile
1.37modifypkgsrc/lang/python37/Makefile
1.29modifypkgsrc/lang/python38/Makefile
1.24modifypkgsrc/lang/python39/Makefile
1.1addpkgsrc/lang/python27/platname.mk
1.1addpkgsrc/lang/python310/platname.mk
1.1addpkgsrc/lang/python311/platname.mk
1.1addpkgsrc/lang/python37/platname.mk
1.1addpkgsrc/lang/python38/platname.mk
1.1addpkgsrc/lang/python39/platname.mk