From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect-python:master commit in: /
Date: Sun, 19 Jan 2014 01:57:14 +0000 (UTC) [thread overview]
Message-ID: <1390096259.2c3be0bbbfa5f443c2afe7c4dfc1d703987cda5d.floppym@gentoo> (raw)
commit: 2c3be0bbbfa5f443c2afe7c4dfc1d703987cda5d
Author: mchiang <phidias.chiang <AT> gmail <DOT> com>
AuthorDate: Thu Jan 16 03:26:14 2014 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 01:50:59 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect-python.git;a=commit;h=2c3be0bb
Support Windows binaries via @EXEEXT@, bug 337601
---
Makefile.am | 2 +-
configure.ac | 4 ++--
python.eselect => python.eselect.in | 14 +++++++-------
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e92a315..69fd8d8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
bin_PROGRAMS = python-wrapper
eselectdir = $(datadir)/eselect/modules
-dist_eselect_DATA = python.eselect
+nodist_eselect_DATA = python.eselect
diff --git a/configure.ac b/configure.ac
index c49e7d5..c85be38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([eselect-python], [20131210])
+AC_INIT([eselect-python], [20140115])
AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-bzip2])
AC_PROG_CC
@@ -31,6 +31,6 @@ CFLAGS="${old_CFLAGS}"
# Create output files.
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile python.eselect])
AC_OUTPUT
diff --git a/python.eselect b/python.eselect.in
similarity index 96%
rename from python.eselect
rename to python.eselect.in
index 9c58391..9a52791 100644
--- a/python.eselect
+++ b/python.eselect.in
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: $
@@ -15,12 +15,12 @@ PYTHON_INTERPRETERS_GROUP=""
# Find a list of Python versions
find_targets() {
- local interpreter interpreters="python?.?"
+ local interpreter interpreters="python?.?@EXEEXT@"
if [[ "${PYTHON_INTERPRETERS_GROUP}" == "2" ]]; then
- interpreters="python2.?"
+ interpreters="python2.?@EXEEXT@"
elif [[ "${PYTHON_INTERPRETERS_GROUP}" == "3" ]]; then
- interpreters="python3.?"
+ interpreters="python3.?@EXEEXT@"
fi
# Think twice before adding jython to this list. /usr/bin/jython
@@ -349,7 +349,7 @@ describe_update_options() {
}
do_update() {
- local if_unset="0" ignored_slots=() interpreters="python?.?" python2="0" python3="0" python_version_option= slot= target targets=()
+ local if_unset="0" ignored_slots=() interpreters="python?.?@EXEEXT@" python2="0" python3="0" python_version_option= slot= target targets=()
while [[ $# > 0 ]]; do
case "$1" in
--if-unset)
@@ -388,9 +388,9 @@ do_update() {
fi
if [[ "${python2}" == "1" ]]; then
- interpreters="python2.?"
+ interpreters="python2.?@EXEEXT@"
elif [[ "${python3}" == "1" ]]; then
- interpreters="python3.?"
+ interpreters="python3.?@EXEEXT@"
fi
targets=($(cd "${INTERPRETER_PATH}"; ls ${interpreters} 2> /dev/null | sort -r))
next reply other threads:[~2014-01-19 1:57 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 1:57 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-19 20:20 [gentoo-commits] proj/eselect-python:master commit in: / Patrick McLean
2020-07-19 20:20 Patrick McLean
2019-04-17 12:26 Michał Górny
2019-04-17 10:47 Michał Górny
2017-12-04 17:32 Michał Górny
2017-12-03 13:24 Michał Górny
2017-12-03 13:23 Michał Górny
2017-12-03 12:20 Michał Górny
2016-08-03 15:44 Mike Gilbert
2016-05-16 18:04 Michał Górny
2016-05-16 16:47 Michał Górny
2016-05-16 16:38 Michał Górny
2016-05-16 16:38 Michał Górny
2016-02-28 17:03 Michał Górny
2016-02-28 17:03 Michał Górny
2016-02-23 22:16 Michał Górny
2016-02-22 21:41 Michał Górny
2016-02-22 21:41 Michał Górny
2016-02-22 21:41 Michał Górny
2016-02-06 21:30 Michał Górny
2016-02-06 21:30 Michał Górny
2016-02-06 21:30 Michał Górny
2016-02-06 21:30 Michał Górny
2016-02-06 9:50 Michał Górny
2016-02-06 9:49 Michał Górny
2016-02-06 9:29 Michał Górny
2016-02-06 9:00 Michał Górny
2016-02-05 20:36 [gentoo-commits] proj/eselect-python:pyexec-2.3 " Michał Górny
2016-02-06 9:00 ` [gentoo-commits] proj/eselect-python:master " Michał Górny
2016-02-05 20:36 [gentoo-commits] proj/eselect-python:pyexec-2.3 " Michał Górny
2016-02-06 9:00 ` [gentoo-commits] proj/eselect-python:master " Michał Górny
2015-11-17 18:43 Michał Górny
2015-11-17 18:36 Michał Górny
2015-11-17 18:36 Michał Górny
2015-11-17 18:36 Michał Górny
2015-11-12 16:53 [gentoo-commits] proj/eselect-python:mgornys-hackery " Michał Górny
2015-11-17 18:36 ` [gentoo-commits] proj/eselect-python:master " Michał Górny
2014-01-25 17:04 Mike Gilbert
2014-01-19 8:33 Mike Gilbert
2014-01-19 1:57 Mike Gilbert
2013-12-09 18:52 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390096259.2c3be0bbbfa5f443c2afe7c4dfc1d703987cda5d.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox