[136741] trunk/dports/sysutils
larryv at macports.org
larryv at macports.org
Mon May 25 12:32:34 PDT 2015
Revision: 136741
https://trac.macports.org/changeset/136741
Author: larryv at macports.org
Date: 2015-05-25 12:32:34 -0700 (Mon, 25 May 2015)
Log Message:
-----------
python2_select: Create `python2` select group (#34326)
Allows for creation of `python2`, `python2-config`, `pydoc2`, `idle2`, etc.,
improving adherence to PEP 394 (https://www.python.org/dev/peps/pep-0394).
Modified Paths:
--------------
trunk/dports/sysutils/python2_select/Portfile
trunk/dports/sysutils/python2_select/files/base
trunk/dports/sysutils/python2_select/files/python25-apple
trunk/dports/sysutils/python2_select/files/python25-apple.mtln
trunk/dports/sysutils/python2_select/files/python26-apple
trunk/dports/sysutils/python2_select/files/python26-apple.mtln
trunk/dports/sysutils/python2_select/files/python27-apple
trunk/dports/sysutils/python2_select/files/python27-apple.mtln
Added Paths:
-----------
trunk/dports/sysutils/python2_select/
Modified: trunk/dports/sysutils/python2_select/Portfile
===================================================================
--- trunk/dports/sysutils/python_select/Portfile 2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python2_select/Portfile 2015-05-25 19:32:34 UTC (rev 136741)
@@ -4,19 +4,18 @@
PortSystem 1.0
PortGroup select 1.0
-name python_select
-version 0.3
-revision 4
+name python2_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 2 version
long_description This port installs files that allow 'port select' \
to create links to the preferred default version \
- of Python.
+ of Python 2.
homepage http://www.macports.org
distfiles
@@ -24,10 +23,10 @@
build {}
destroot {}
-# Documentation for Python ports:
+# Documentation for Python 2 ports:
# PortGroup select 1.0
-# select.group python
-# select.file ${filespath}/python[string map {. {}} ${branch}]
+# set pythonNoDot python[string map {. {}} $branch]
+# select.entries [list python2 python2-$pythonNoDot $pythonNoDot]
# install all files
select.entries {python base} \
Modified: trunk/dports/sysutils/python2_select/files/base
===================================================================
--- trunk/dports/sysutils/python_select/files/base 2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python2_select/files/base 2015-05-25 19:32:34 UTC (rev 136741)
@@ -1,13 +1,13 @@
-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/python2
+bin/pythonw2
+bin/python2-config
+bin/idle2
+bin/pydoc2
+bin/smtpd2.py
+bin/2to3-2
+share/man/man1/python2.1
+share/man/man1/python2.1.gz
+share/man/man1/pythonw2.1
+share/man/man1/pythonw2.1.gz
+share/man/man1/pydoc2.1
+share/man/man1/pydoc2.1.gz
Modified: trunk/dports/sysutils/python2_select/files/python25-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python25-apple 2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python2_select/files/python25-apple 2015-05-25 19:32:34 UTC (rev 136741)
@@ -1,13 +1,13 @@
/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.gz
-
+/usr/share/man/man1/pythonw2.5.1.gz
-
--
--
+/usr/share/man/man1/pydoc2.5.1.gz
Modified: trunk/dports/sysutils/python2_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/python2_select/files/python25-apple.mtln 2015-05-25 19:32:34 UTC (rev 136741)
@@ -7,7 +7,7 @@
-
/usr/share/man/man1/python2.5.1
-
+/usr/share/man/man1/pythonw2.5.1
-
+/usr/share/man/man1/pydoc2.5.1
-
--
--
Modified: trunk/dports/sysutils/python2_select/files/python26-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python26-apple 2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python2_select/files/python26-apple 2015-05-25 19:32:34 UTC (rev 136741)
@@ -8,6 +8,6 @@
-
/usr/share/man/man1/python2.6.1.gz
-
+/usr/share/man/man1/pythonw2.6.1.gz
-
--
--
+/usr/share/man/man1/pydoc2.6.1.gz
Modified: trunk/dports/sysutils/python2_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/python2_select/files/python26-apple.mtln 2015-05-25 19:32:34 UTC (rev 136741)
@@ -7,7 +7,7 @@
/usr/bin/2to32.6
/usr/share/man/man1/python2.6.1
-
+/usr/share/man/man1/pythonw2.6.1
-
+/usr/share/man/man1/pydoc2.6.1
-
--
--
Modified: trunk/dports/sysutils/python2_select/files/python27-apple
===================================================================
--- trunk/dports/sysutils/python_select/files/python27-apple 2015-05-25 04:43:52 UTC (rev 136726)
+++ trunk/dports/sysutils/python2_select/files/python27-apple 2015-05-25 19:32:34 UTC (rev 136741)
@@ -8,6 +8,6 @@
-
/usr/share/man/man1/python2.7.1.gz
-
+/usr/share/man/man1/pythonw2.7.1.gz
-
--
--
+/usr/share/man/man1/pydoc2.7.1.gz
Modified: trunk/dports/sysutils/python2_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/python2_select/files/python27-apple.mtln 2015-05-25 19:32:34 UTC (rev 136741)
@@ -7,7 +7,7 @@
/usr/bin/2to3-2.7
/usr/share/man/man1/python2.7.1
-
+/usr/share/man/man1/pythonw2.7.1
-
+/usr/share/man/man1/pydoc2.7.1
-
--
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150525/bdca9efc/attachment.html>
More information about the macports-changes
mailing list