Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110228331
D30472.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1001 B
Referenced Files
None
Subscribers
None
D30472.diff
View Options
diff --git a/Mk/Uses/scons.mk b/Mk/Uses/scons.mk
--- a/Mk/Uses/scons.mk
+++ b/Mk/Uses/scons.mk
@@ -1,30 +1,19 @@
# Provide support to use the scons
#
# Feature: scons
-# Usage: USES=scons[:ARGS]
-# Valid ARGS: python2 python3
-#
-# python2: Use default python 2.x to run scons
-# python3: Use default python 3.x to run scons (default)
+# Usage: USES=scons
+# Valid ARGS: none
#
# MAINTAINER: python@FreeBSD.org
.if !defined(_INCLUDE_USES_SCONS_MK)
_INCLUDE_USES_SCONS_MK= yes
-.if empty(scons_ARGS)
-scons_ARGS= python3
-.endif
+. if !empty(scons_ARGS)
+IGNORE+= USES=scons takes no arguments
+. endif
-.if ${scons_ARGS} == python3
_SCONS_PYTHON_VER= ${PYTHON3_DEFAULT}
-.elif ${scons_ARGS} == python2
-_SCONS_PYTHON_VER= ${PYTHON2_DEFAULT}
-DEPRECATED?= Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
-EXPIRATION_DATE?= 2020-12-31
-.else
-IGNORE= Incorrect 'USES+= scons:${scons_ARGS}' usage
-.endif
_SCONS_PYTHON_FLAVOR= py${_SCONS_PYTHON_VER:S|.||}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 16, 10:22 AM (16 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16672533
Default Alt Text
D30472.diff (1001 B)
Attached To
Mode
D30472: Mk/Uses/scons.mk: remove support for python2
Attached
Detach File
Event Timeline
Log In to Comment