[ARVADOS] created: 1.3.0-2687-g0d90de4cf
Git user
git at public.arvados.org
Wed Jun 17 20:39:06 UTC 2020
at 0d90de4cf2fe4846f0a4ca321e2704e93bdbf80c (commit)
commit 0d90de4cf2fe4846f0a4ca321e2704e93bdbf80c
Author: Ward Vandewege <ward at curii.com>
Date: Wed Jun 17 15:41:02 2020 -0400
16522: add a python3 package for arvados-fuse.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/build/run-build-packages.sh b/build/run-build-packages.sh
index 3ba1dcc05..862b93e6e 100755
--- a/build/run-build-packages.sh
+++ b/build/run-build-packages.sh
@@ -334,6 +334,9 @@ fpm_build_virtualenv "libpam-arvados" "sdk/pam"
# The FUSE driver
fpm_build_virtualenv "arvados-fuse" "services/fuse"
+# The FUSE driver - Python3 package
+fpm_build_virtualenv "arvados-fuse" "services/fuse" "python3"
+
# The node manager
fpm_build_virtualenv "arvados-node-manager" "services/nodemanager"
diff --git a/build/run-library.sh b/build/run-library.sh
index b75b6cca7..f8e5129da 100755
--- a/build/run-library.sh
+++ b/build/run-library.sh
@@ -574,7 +574,7 @@ fpm_build_virtualenv () {
cd build/usr/share/$python/dist/$PYTHON_PKG/
# Replace the shebang lines in all python scripts, and handle the activate
- # scripts too This is a functional replacement of the 237 line
+ # scripts too. This is a functional replacement of the 237 line
# virtualenv_tools.py script that doesn't work in python3 without serious
# patching, minus the parts we don't need (modifying pyc files, etc).
for binfile in `ls bin/`; do
@@ -632,7 +632,7 @@ fpm_build_virtualenv () {
COMMAND_ARR+=('--rpm-auto-add-directories')
fi
- if [[ "$PKG" == "arvados-python-client" ]]; then
+ if [[ "$PKG" == "arvados-python-client" ]] || [[ "$PKG" == "arvados-fuse" ]]; then
if [[ "$python" == "python2.7" ]]; then
COMMAND_ARR+=('--conflicts' "$PYTHON3_PKG_PREFIX-$PKG")
else
diff --git a/services/fuse/fpm-info.sh b/services/fuse/fpm-info.sh
index fd94ef7af..f789abe69 100644
--- a/services/fuse/fpm-info.sh
+++ b/services/fuse/fpm-info.sh
@@ -9,6 +9,6 @@ case "$TARGET" in
fpm_depends+=(fuse-libs)
;;
debian* | ubuntu*)
- fpm_depends+=(libcurl3-gnutls libpython2.7)
+ fpm_depends+=(libcurl3-gnutls)
;;
esac
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list