svn commit: r498529 - in head: . Mk devel/libpeas mail/py-milter math/py-matplotlib textproc/py-enchant
Antoine Brodin
antoine at FreeBSD.org
Wed Apr 10 05:47:29 UTC 2019
Author: antoine
Date: Wed Apr 10 05:47:26 2019
New Revision: 498529
URL: https://svnweb.freebsd.org/changeset/ports/498529
Log:
Switch default version of python to 3.6
PR: 234633
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D18743
Modified:
head/Mk/bsd.default-versions.mk
head/UPDATING
head/devel/libpeas/Makefile
head/mail/py-milter/Makefile
head/math/py-matplotlib/Makefile
head/textproc/py-enchant/Makefile
Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk Wed Apr 10 04:21:15 2019 (r498528)
+++ head/Mk/bsd.default-versions.mk Wed Apr 10 05:47:26 2019 (r498529)
@@ -82,7 +82,7 @@ PGSQL_DEFAULT?= 9.5
# Possible values: 7.1, 7.2, 7.3
PHP_DEFAULT?= 7.2
# Possible values: 2.7, 3.5, 3.6, 3.7
-PYTHON_DEFAULT?= 2.7
+PYTHON_DEFAULT?= 3.6
# Possible values: 2.7
PYTHON2_DEFAULT?= 2.7
# Possible values: 3.5, 3.6, 3.7
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Wed Apr 10 04:21:15 2019 (r498528)
+++ head/UPDATING Wed Apr 10 05:47:26 2019 (r498529)
@@ -5,6 +5,15 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20190410:
+ AFFECTS: users of python
+ AUTHOR: antoine at FreeBSD.org
+
+ Default version of python was switched to 3.6.
+
+ For ports users wanting to keep version 2.7 as default,
+ add DEFAULT_VERSIONS+= python=2.7 to make.conf
+
20190328:
AFFECTS: www/firefox-i18n, www/firefox-esr-i18n, mail/thunderbird-i18n, www/seamonkey-i18n
AUTHOR: gecko at FreeBSD.org
Modified: head/devel/libpeas/Makefile
==============================================================================
--- head/devel/libpeas/Makefile Wed Apr 10 04:21:15 2019 (r498528)
+++ head/devel/libpeas/Makefile Wed Apr 10 05:47:26 2019 (r498529)
@@ -38,7 +38,7 @@ PLIST= ${.CURDIR}/pkg-plist
USES+= python
USE_PYTHON= flavors
USE_GNOME+= pygobject3
-.if ${FLAVOR:Upy27:Mpy2*}
+.if ${FLAVOR:Upy36:Mpy2*}
CONFIGURE_ARGS+= --disable-python3
BUILD_WRKSRC= ${WRKSRC}/loaders/python
INSTALL_WRKSRC= ${WRKSRC}/loaders/python
Modified: head/mail/py-milter/Makefile
==============================================================================
--- head/mail/py-milter/Makefile Wed Apr 10 04:21:15 2019 (r498528)
+++ head/mail/py-milter/Makefile Wed Apr 10 05:47:26 2019 (r498529)
@@ -31,7 +31,7 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${FLAVOR:Upy27:Mpy3*}
+.if ${FLAVOR:Upy36:Mpy3*}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-miltermodule.c
.endif
Modified: head/math/py-matplotlib/Makefile
==============================================================================
--- head/math/py-matplotlib/Makefile Wed Apr 10 04:21:15 2019 (r498528)
+++ head/math/py-matplotlib/Makefile Wed Apr 10 05:47:26 2019 (r498529)
@@ -35,7 +35,7 @@ OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND \
QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND
OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND
OPTIONS_SUB= yes
-.if ${FLAVOR:U:Mpy3*}
+.if ${FLAVOR:Upy36:Mpy3*}
# x11-toolkits/py-gtk2, x11-toolkits/py-wxPython28 do not support Python 3
OPTIONS_EXCLUDE= GTKBACKEND GTKAGGBACKEND WXAGGBACKEND
.endif
Modified: head/textproc/py-enchant/Makefile
==============================================================================
--- head/textproc/py-enchant/Makefile Wed Apr 10 04:21:15 2019 (r498528)
+++ head/textproc/py-enchant/Makefile Wed Apr 10 05:47:26 2019 (r498529)
@@ -20,7 +20,7 @@ OPTIONS_DEFINE= WX
OPTIONS_DEFAULT=WX
WX_DESC= Provide a wxSpellCheckerDialog
OPTIONS_SUB= yes
-.if ${FLAVOR:U:Mpy3*}
+.if ${FLAVOR:Upy36:Mpy3*}
OPTIONS_EXCLUDE= WX
.endif
More information about the svn-ports-all
mailing list