svn commit: r553995 - in head/editors/neovim: . files

Adam Weinberger adamw at FreeBSD.org
Tue Nov 3 15:01:30 UTC 2020


Author: adamw
Date: Tue Nov  3 15:01:29 2020
New Revision: 553995
URL: https://svnweb.freebsd.org/changeset/ports/553995

Log:
  editors/neovim: Update list of python versions
  
  Previously, py3.9 wasn't recognized at all, and it was checking for python
  versions that are no longer supported and don't exist in the ports tree.
  
  No MFH here as py39 doesn't exist in 2020Q4.

Added:
  head/editors/neovim/files/patch-runtime_autoload_provider_pythonx.vim   (contents, props changed)
Modified:
  head/editors/neovim/Makefile

Modified: head/editors/neovim/Makefile
==============================================================================
--- head/editors/neovim/Makefile	Tue Nov  3 14:51:13 2020	(r553994)
+++ head/editors/neovim/Makefile	Tue Nov  3 15:01:29 2020	(r553995)
@@ -4,7 +4,7 @@
 PORTNAME=	neovim
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors
 
 MAINTAINER=	adamw at FreeBSD.org

Added: head/editors/neovim/files/patch-runtime_autoload_provider_pythonx.vim
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/neovim/files/patch-runtime_autoload_provider_pythonx.vim	Tue Nov  3 15:01:29 2020	(r553995)
@@ -0,0 +1,24 @@
+From ca6815115c79da62b845f479f0cdd765bdbfb700 Mon Sep 17 00:00:00 2001
+From: Marco Hinz <mh.codebro at gmail.com>
+Date: Thu, 8 Oct 2020 11:52:17 +0200
+Subject: [PATCH] provider: update supported Python versions (#13070)
+
+Python 3.9 was released, so we need to add support for the upcoming Python 3.10.
+Python 3.5 and earlier reached their end-of-life.
+
+PEP 478: Python 3.5  Release Schedule: https://www.python.org/dev/peps/pep-0478
+PEP 596: Python 3.9  Release Schedule: https://www.python.org/dev/peps/pep-0596
+PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619
+--- runtime/autoload/provider/pythonx.vim.orig	2020-11-03 14:47:53 UTC
++++ runtime/autoload/provider/pythonx.vim
+@@ -28,8 +28,8 @@ endfunction
+ function! s:get_python_candidates(major_version) abort
+   return {
+         \ 2: ['python2', 'python2.7', 'python2.6', 'python'],
+-        \ 3: ['python3', 'python3.7', 'python3.6', 'python3.5', 'python3.4', 'python3.3',
+-        \     'python']
++        \ 3: ['python3', 'python3.10', 'python3.9', 'python3.8', 'python3.7',
++        \     'python3.6', 'python']
+         \ }[a:major_version]
+ endfunction
+ 


More information about the svn-ports-all mailing list