[ARVADOS] updated: 2.1.0-287-g8cbdc1b04

Git user git at public.arvados.org
Fri Jan 22 17:30:57 UTC 2021


Summary of changes:
 build/run-library.sh | 4 ++++
 1 file changed, 4 insertions(+)

       via  8cbdc1b04e64e2d5e394e86aba699b361bcdc24a (commit)
      from  80dbda890bf58bda79654cf4cebdfbc2b07d6b1f (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 8cbdc1b04e64e2d5e394e86aba699b361bcdc24a
Author: Ward Vandewege <ward at curii.com>
Date:   Fri Jan 22 12:29:07 2021 -0500

    Make sure that our Python 3 based packages conflict with the older
    Python 2 based ones.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/build/run-library.sh b/build/run-library.sh
index 9efc8028b..513e8624e 100755
--- a/build/run-library.sh
+++ b/build/run-library.sh
@@ -621,6 +621,10 @@ fpm_build_virtualenv () {
   LICENSE_STRING=`grep license $WORKSPACE/$PKG_DIR/setup.py|cut -f2 -d=|sed -e "s/[',\\"]//g"`
   COMMAND_ARR+=('--license' "$LICENSE_STRING")
 
+  if [[ "$FORMAT" != "rpm" ]]; then
+    COMMAND_ARR+=('--conflicts' "python-$PKG")
+  fi
+
   if [[ "$DEBUG" != "0" ]]; then
     COMMAND_ARR+=('--verbose' '--log' 'info')
   fi

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list