[136748] trunk/dports/sysutils

larryv at macports.org larryv at macports.org
Mon May 25 14:04:41 PDT 2015


Revision: 136748
          https://trac.macports.org/changeset/136748
Author:   larryv at macports.org
Date:     2015-05-25 14:04:41 -0700 (Mon, 25 May 2015)
Log Message:
-----------
python3_select: Create `python3` select group (#34326)

Allow for creation of `python3`, `python3-config`, `pydoc3`, `idle3`, etc.,
improving adherence to PEP 394 (https://www.python.org/dev/peps/pep-0394).

Modified Paths:
--------------
    trunk/dports/sysutils/python3_select/Portfile
    trunk/dports/sysutils/python3_select/files/base
    trunk/dports/sysutils/python3_select/files/none

Added Paths:
-----------
    trunk/dports/sysutils/python3_select/

Removed Paths:
-------------
    trunk/dports/sysutils/python3_select/files/python23-apple
    trunk/dports/sysutils/python3_select/files/python25-apple
    trunk/dports/sysutils/python3_select/files/python25-apple.mtln
    trunk/dports/sysutils/python3_select/files/python26-apple
    trunk/dports/sysutils/python3_select/files/python26-apple.mtln
    trunk/dports/sysutils/python3_select/files/python27-apple
    trunk/dports/sysutils/python3_select/files/python27-apple.mtln

Modified: trunk/dports/sysutils/python3_select/Portfile
===================================================================
--- trunk/dports/sysutils/python_select/Portfile	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/Portfile	2015-05-25 21:04:41 UTC (rev 136748)
@@ -4,19 +4,18 @@
 PortSystem          1.0
 PortGroup           select 1.0
 
-name                python_select
-version             0.3
-revision            4
+name                python3_select
+version             0.0
 categories          sysutils
 platforms           darwin
 supported_archs     noarch
 license             BSD
 maintainers         nomaintainer
 
-description         Common files for selecting default Python version
+description         Common files for selecting default Python 3 version
 long_description    This port installs files that allow 'port select' \
                     to create links to the preferred default version \
-                    of Python.
+                    of Python 3.
 homepage            http://www.macports.org
 
 distfiles
@@ -24,49 +23,12 @@
 build {}
 destroot {}
 
-# Documentation for Python ports:
+# Documentation for Python 3 ports:
 #   PortGroup       select 1.0
-#   select.group    python
-#   select.file     ${filespath}/python[string map {. {}} ${branch}]
+#   set pythonNoDot python[string map {. {}} $branch]
+#   select.entries  [list python3 python3-$pythonNoDot $pythonNoDot]
 
-# install all files
-select.entries              {python base} \
-                            {python none}
+select.entries      {python3 base} \
+                    {python3 none}
 
-platform darwin 8 {
-    select.entries-append   {python python23-apple}
-}
-
-platform darwin 9 {
-    select.entries-append   {python python25-apple}
-}
-
-platform darwin 10 {
-    select.entries-append   {python python25-apple} \
-                            {python python26-apple}
-}
-
-platform darwin 11 {
-    select.entries-append   {python python25-apple} \
-                            {python python26-apple} \
-                            {python python27-apple}
-}
-
-platform darwin 12 {
-    select.entries-append   {python python25-apple.mtln python25-apple} \
-                            {python python26-apple.mtln python26-apple} \
-                            {python python27-apple.mtln python27-apple}
-}
-
-platform darwin 13 {
-    select.entries-append   {python python25-apple.mtln python25-apple} \
-                            {python python26-apple.mtln python26-apple} \
-                            {python python27-apple.mtln python27-apple}
-}
-
-platform darwin 14 {
-    select.entries-append   {python python26-apple.mtln python26-apple} \
-                            {python python27-apple.mtln python27-apple}
-}
-
 livecheck.type     none

Modified: trunk/dports/sysutils/python3_select/files/base
===================================================================
--- trunk/dports/sysutils/python_select/files/base	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/base	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +1,12 @@
-bin/python
-bin/pythonw
-bin/python-config
-bin/idle
-bin/pydoc
-bin/smtpd.py
-bin/2to3
-share/man/man1/python.1
-share/man/man1/python.1.gz
-${frameworks_dir}/Python.framework/Versions/Current
-${frameworks_dir}/Python.framework/Headers
-${frameworks_dir}/Python.framework/Resources
-${frameworks_dir}/Python.framework/Python
+bin/python3
+bin/python3m
+bin/python3-32
+bin/pythonw3
+bin/pythonw3-32
+bin/python3-config
+bin/python3m-config
+bin/idle3
+bin/pydoc3
+bin/2to3-3
+bin/pyvenv
+share/man/man1/python3.1

Modified: trunk/dports/sysutils/python3_select/files/none
===================================================================
--- trunk/dports/sysutils/python_select/files/none	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/none	2015-05-25 21:04:41 UTC (rev 136748)
@@ -10,4 +10,3 @@
 -
 -
 -
--

Deleted: trunk/dports/sysutils/python3_select/files/python23-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python23-apple	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python23-apple	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.3
-/usr/bin/pythonw2.3
--
--
-/usr/bin/pydoc
--
--
-/usr/share/man/man1/python2.3.1
--
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python25-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python25-apple	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python25-apple	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.5
-/usr/bin/pythonw2.5
-/usr/bin/python2.5-config
--
-/usr/bin/pydoc2.5
-/usr/bin/smtpd2.5.py
--
--
-/usr/share/man/man1/python2.5.1.gz
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python25-apple.mtln
===================================================================
--- trunk/dports/sysutils/python_select/files/python25-apple.mtln	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python25-apple.mtln	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.5
-/usr/bin/pythonw2.5
-/usr/bin/python2.5-config
-/usr/bin/idle2.5
-/usr/bin/pydoc2.5
-/usr/bin/smtpd2.5.py
--
-/usr/share/man/man1/python2.5.1
--
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python26-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python26-apple	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python26-apple	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.6
-/usr/bin/pythonw2.6
-/usr/bin/python2.6-config
-/usr/bin/idle2.6
-/usr/bin/pydoc2.6
-/usr/bin/smtpd2.6.py
-/usr/bin/2to32.6
--
-/usr/share/man/man1/python2.6.1.gz
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python26-apple.mtln
===================================================================
--- trunk/dports/sysutils/python_select/files/python26-apple.mtln	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python26-apple.mtln	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.6
-/usr/bin/pythonw2.6
-/usr/bin/python2.6-config
-/usr/bin/idle2.6
-/usr/bin/pydoc2.6
-/usr/bin/smtpd2.6.py
-/usr/bin/2to32.6
-/usr/share/man/man1/python2.6.1
--
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python27-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python27-apple	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python27-apple	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.7
-/usr/bin/pythonw2.7
-/usr/bin/python2.7-config
-/usr/bin/idle2.7
-/usr/bin/pydoc2.7
-/usr/bin/smtpd2.7.py
-/usr/bin/2to3-2.7
--
-/usr/share/man/man1/python2.7.1.gz
--
--
--
--

Deleted: trunk/dports/sysutils/python3_select/files/python27-apple.mtln
===================================================================
--- trunk/dports/sysutils/python_select/files/python27-apple.mtln	2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python3_select/files/python27-apple.mtln	2015-05-25 21:04:41 UTC (rev 136748)
@@ -1,13 +0,0 @@
-/usr/bin/python2.7
-/usr/bin/pythonw2.7
-/usr/bin/python2.7-config
-/usr/bin/idle2.7
-/usr/bin/pydoc2.7
-/usr/bin/smtpd2.7.py
-/usr/bin/2to3-2.7
-/usr/share/man/man1/python2.7.1
--
--
--
--
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150525/43f49568/attachment-0001.html>


More information about the macports-changes mailing list