#2 new version 0.9.0
Merged 5 years ago by qulogic. Opened 5 years ago by praiskup.
rpms/ praiskup/vim-jedi v-0.9  into  master

file modified
+1 -2
@@ -1,2 +1,1 @@ 

- /0.7.0

- /0.8.0.tar.gz

+ /jedi-vim-*.tar.gz

@@ -0,0 +1,20 @@ 

+ Fix :JediDebugInfo command

+ 

+ This got somehow fixed upstream, will be part of next release.

+ 

+ diff --git a/pythonx/jedi_vim_debug.py b/pythonx/jedi_vim_debug.py

+ index 81633e7..40231b8 100644

+ --- a/pythonx/jedi_vim_debug.py

+ +++ b/pythonx/jedi_vim_debug.py

+ @@ -3,9 +3,10 @@

+  

+  def display_debug_info():

+      import vim

+ +    import pipes

+  

+      def echo(msg):

+ -        vim.command('echo {0}'.format(msg))

+ +        vim.command('echo {0}'.format(pipes.quote(msg)))

+  

+      echo("printf(' - sys.version: `%s`', {0!r})".format(

+          ', '.join([x.strip()

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- 3843948c6fc3e280bb078fa94ac5fd26  0.8.0.tar.gz

+ SHA512 (jedi-vim-0.9.0.tar.gz) = 71af7fa7875b6bec05aa33377344a69be272d3db101e2282a82febe88fd57e8e2fff87aa84a490f10a497eac8328200ea636277b165c5e3db263325b846c93b6

file modified
+22 -10
@@ -1,17 +1,22 @@ 

  #used for pre-releases:

  %global vimfiles_root %{_datadir}/vim/vimfiles

+ %global _python_bytecompile_extra 0

  

  Name:          vim-jedi

- Version:       0.8.0

- Release:       7%{?dist}

+ Version:       0.9.0

+ Release:       1%{?dist}

  Summary:       The Jedi vim plugin

  

  License:       LGPLv3

  URL:           https://github.com/davidhalter/jedi-vim

- Source0:       https://github.com/davidhalter/jedi-vim/archive/%{version}.tar.gz

+ Source0:       https://github.com/davidhalter/jedi-vim/archive/%{version}/jedi-vim-%{version}.tar.gz

  Source1:       %{name}.metainfo.xml

+ 

+ Patch0:        jedi-vim-0.9.0-fix-debug.patch

+ 

  Requires:      python2-jedi

  Requires:      vim-common

+ BuildRequires: python2-devel

  

  BuildArch:     noarch

  
@@ -19,7 +24,7 @@ 

  vim-jedi is a VIM binding to the awesome auto completion library Jedi.

  

  %prep

- %setup -q -n jedi-vim-%{version}

+ %autosetup -p1 -n jedi-vim-%{version}

  

  cp %{SOURCE1} .

  
@@ -27,23 +32,30 @@ 

  

  %install

  mkdir -p %{buildroot}%{vimfiles_root}

- cp initialize.py* %{buildroot}%{vimfiles_root}

- cp jedi_vim.py* %{buildroot}%{vimfiles_root}

- cp -ar {after,autoload,ftplugin,plugin} %{buildroot}%{vimfiles_root}

+ cp -ar {doc,after,autoload,ftplugin,plugin} %{buildroot}%{vimfiles_root}

  mkdir -p %{buildroot}/%{_datadir}/appdata

  install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/

  

- %files 

+ mkdir -p %buildroot/%python2_sitelib

+ install -m 644 pythonx/*.py %buildroot/%python2_sitelib

+ 

+ 

+ %files

  %doc README.rst AUTHORS.txt LICENSE.txt

- %{vimfiles_root}/initialize.py*

- %{vimfiles_root}/jedi_vim.py*

+ %doc %{vimfiles_root}/doc/*

  %{vimfiles_root}/after/*

  %{vimfiles_root}/autoload/*

  %{vimfiles_root}/ftplugin/*

  %{vimfiles_root}/plugin/*

  %{_datadir}/appdata/%{name}.metainfo.xml

+ %python2_sitelib/jedi_vim.py*

+ %python2_sitelib/jedi_vim_debug.py*

+ 

  

  %changelog

+ * Mon Feb 25 2019 Pavel Raiskup <praiskup@redhat.com> - 0.9.0-1

+ - new upstream version (rhbz#1559214)

+ 

  * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

Resolves: rhbz#1559214
Version: 0.9.0-1

rebased onto 1bc7caa

5 years ago

rebased onto a4e6ae0

5 years ago

Can you rebase? There are conflicts.

rebased onto bf541c3

5 years ago

rebased onto de8d567

5 years ago

Done, thanks for having a look. Btw., migration to python3 should be done - but it is not part of this PR.

rebased onto 0826688

5 years ago

Pull-Request has been merged by qulogic

5 years ago

Thanks! Please feel free to take a look at migrating to Python 3.