[ARVADOS] updated: 2.1.0-46-gdf6a46947
Git user
git at public.arvados.org
Mon Nov 23 21:03:03 UTC 2020
Summary of changes:
build/run-build-packages-python-and-ruby.sh | 11 ++++++++++-
build/run-library.sh | 10 ----------
2 files changed, 10 insertions(+), 11 deletions(-)
via df6a469478a5f102e16682d0ab1d5f7dce67aaf3 (commit)
from 71f347ddc27c9bb398ef826ff610bc14cd200ce7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit df6a469478a5f102e16682d0ab1d5f7dce67aaf3
Author: Ward Vandewege <ward at curii.com>
Date: Sun Nov 22 08:35:06 2020 -0500
Move the handle_python_package() function from run-library.sh to
run-build-packages-python-and-ruby.sh, it is only used in the latter.
Update it to call python3 instead of just 'python'.
refs #15888
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/build/run-build-packages-python-and-ruby.sh b/build/run-build-packages-python-and-ruby.sh
index f3b7564d7..84da280d7 100755
--- a/build/run-build-packages-python-and-ruby.sh
+++ b/build/run-build-packages-python-and-ruby.sh
@@ -6,7 +6,6 @@
COLUMNS=80
. `dirname "$(readlink -f "$0")"`/run-library.sh
-#. `dirname "$(readlink -f "$0")"`/libcloud-pin.sh
read -rd "\000" helpmessage <<EOF
$(basename $0): Build Arvados Python packages and Ruby gems
@@ -50,6 +49,16 @@ gem_wrapper() {
title "End of $gem_name gem build (`timer`)"
}
+handle_python_package () {
+ # This function assumes the current working directory is the python package directory
+ if [ -n "$(find dist -name "*-$(nohash_version_from_git).tar.gz" -print -quit)" ]; then
+ # This package doesn't need rebuilding.
+ return
+ fi
+ # Make sure only to use sdist - that's the only format pip can deal with (sigh)
+ python3 setup.py $DASHQ_UNLESS_DEBUG sdist
+}
+
python_wrapper() {
local package_name="$1"; shift
local package_directory="$1"; shift
diff --git a/build/run-library.sh b/build/run-library.sh
index 361a3de81..db1764b54 100755
--- a/build/run-library.sh
+++ b/build/run-library.sh
@@ -85,16 +85,6 @@ calculate_python_sdk_cwl_package_versions() {
fi
}
-handle_python_package () {
- # This function assumes the current working directory is the python package directory
- if [ -n "$(find dist -name "*-$(nohash_version_from_git).tar.gz" -print -quit)" ]; then
- # This package doesn't need rebuilding.
- return
- fi
- # Make sure only to use sdist - that's the only format pip can deal with (sigh)
- python setup.py $DASHQ_UNLESS_DEBUG sdist
-}
-
handle_ruby_gem() {
local gem_name="$1"; shift
local gem_version="$(nohash_version_from_git)"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list