pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Sep 17 16:57:10 UTC 2024

Modified Files:
        pkgsrc/lang/python: egg.mk

Log Message:
python: throw a warning when a package uses egg.mk and PKG_DEVELOPER is set


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/python/egg.mk

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

Modified files:

Index: pkgsrc/lang/python/egg.mk
diff -u pkgsrc/lang/python/egg.mk:1.43 pkgsrc/lang/python/egg.mk:1.44
--- pkgsrc/lang/python/egg.mk:1.43      Wed Nov 15 15:24:09 2023
+++ pkgsrc/lang/python/egg.mk   Tue Sep 17 16:57:10 2024
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.43 2023/11/15 15:24:09 nia Exp $
+# $NetBSD: egg.mk,v 1.44 2024/09/17 16:57:10 wiz Exp $
 #
 # The method used in this Makefile fragment is obsolete.
 # Please use wheel.mk instead.
@@ -9,6 +9,9 @@
 .include "../../mk/bsd.fast.prefs.mk"
 .include "../../lang/python/pyversion.mk"
 
+.if ${PKG_DEVELOPER:Uno} != "no"
+WARNINGS+=     "lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead."
+.endif
 
 EGG_NAME?=     ${DISTNAME:C/-([^0-9])/_\1/g}
 EGG_INFODIR?=  ${EGG_NAME}-py${PYVERSSUFFIX}.egg-info



Home | Main Index | Thread Index | Old Index