• Icon: Sub-task Sub-task
    • Resolution: Declined
    • Icon: Normal Normal
    • None
    • None
    • None

      Currently subversion only supports python2. Tests show that it emerges with python 3.7 but there are still severe warnings:

       * QA Notice: Package triggers severe warnings which indicate that it
       *            may exhibit random runtime failures.
       * /var/tmp/portage/dev-vcs/subversion-1.12.0/work/subversion-1.12.0/subversion/bindings/swig/proxy/swig_python_external_runtime.swg:737:31: warning: implicit declaration of function ‘PyUnicode_AS_STRING’; did you mean ‘PyUnicode_AS_DATA’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:556:10: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/svn_delta.c:4202:17: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:2458:12: warning: implicit declaration of function ‘PyFile_Check’; did you mean ‘PyCell_Check’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/svn_delta.c:758:31: warning: implicit declaration of function ‘PyUnicode_AS_STRING’; did you mean ‘PyUnicode_AS_DATA’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:2464:14: warning: implicit declaration of function ‘PyFile_AsFile’ [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/svn_delta.c:5045:20: warning: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PyList_GET_SIZE’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:2507:15: warning: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PyList_GET_SIZE’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/svn_client.c:758:31: warning: implicit declaration of function ‘PyUnicode_AS_STRING’; did you mean ‘PyUnicode_AS_DATA’? [-Wimplicit-function-declaration]
       * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:3881:11: warning: implicit declaration of function ‘PyString_AsStringAndSize’; did you mean ‘PyBytes_AsStringAndSize’? [-Wimplicit-function-declaration]
      ...
      

      Another thing is that setting USE flag http automatically wants to pull in dev-util/scons with python 2.7, although scons already supports python3:

      These are the packages that would be merged, in order:Calculating dependencies... done!
      [ebuild   R    ] dev-util/scons-3.0.5-r1::dev-kit  USE="-doc -test" PYTHON_TARGETS="python2_7* python3_6 python3_7 -python3_5" 0 KiB
      [ebuild  N     ] net-libs/serf-1.3.9:1::net-kit  USE="libressl -kerberos -static-libs" 142 KiB
      [ebuild   R    ] dev-vcs/subversion-1.12.0::dev-kit  USE="apache2 dso http* nls vim-syntax -berkdb -ctypes-python -debug -doc -extras -gnome-keyring -java -kwallet -perl -python -ruby -sasl -test" PYTHON_TARGETS="-python2_7" 0 KiBTotal: 3 packages (1 new, 2 reinstalls), Size of downloads: 142 KiB
      

            Unassigned Unassigned
            jhan jhan [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: