<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/12df949b45f44f82763c97f04b7af5d4a337a87b">https://github.com/macports/macports-ports/commit/12df949b45f44f82763c97f04b7af5d4a337a87b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 12df949 py-pip: add select groups for pip2 and pip3
</span>12df949 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 12df949b45f44f82763c97f04b7af5d4a337a87b
</span>Author: Dan Villiom Podlaski Christiansen <danchr@macports.org>
AuthorDate: Wed May 1 14:21:23 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-pip: add select groups for pip2 and pip3
</span>---
python/pip_select/Portfile | 8 +++++---
python/pip_select/files/{base => pip} | 0
python/pip_select/files/pip2 | 1 +
python/pip_select/files/pip3 | 1 +
python/py-pip/Portfile | 12 ++++++++----
5 files changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/pip_select/Portfile b/python/pip_select/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 645ee39..8bfdfb6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/pip_select/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/pip_select/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup select 1.0
</span>
name pip_select
version 0.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories python
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,8 +26,10 @@ distfiles
</span> use_configure no
build {}
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- select::install pip ${filespath}/base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- select::install pip ${filespath}/none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach bin {pip pip2 pip3} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install $bin ${filespath}/$bin base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select::install $bin ${filespath}/none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
livecheck.type none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/pip_select/files/base b/python/pip_select/files/pip
</span>similarity index 100%
rename from python/pip_select/files/base
rename to python/pip_select/files/pip
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/pip_select/files/pip2 b/python/pip_select/files/pip2
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..07928e3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/pip_select/files/pip2
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/pip2
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/pip_select/files/pip3 b/python/pip_select/files/pip3
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..c808bea
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/pip_select/files/pip3
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/pip3
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pip/Portfile b/python/py-pip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 67daeb4..b816354 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup select 1.0
</span>
name py-pip
version 19.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append www
platforms darwin
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,15 +74,19 @@ if {${name} ne ${subport}} {
</span> delete ${destroot}${prefix}/bin/pip${python.branch}-${python.branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- select.group ${python.rootname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- select.file ${filespath}/${python.rootname}${python.version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ select.entries \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [list ${python.rootname} ${python.rootname}${python.version}] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [list ${python.rootname}[string index ${python.version} 0] ${python.rootname}${python.version}]
</span>
notes "
To make the Python ${python.branch} version of pip the one that is run\
when you execute the commands without a version suffix, e.g. 'pip', run:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port select --set ${select.group} [file tail ${select.file}]
</span> "
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach entry ${select.entries} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append "port select --set $entry"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
}
</pre><pre style='margin:0'>
</pre>