Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2020 15:01:29 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553995 - in head/editors/neovim: . files
Message-ID:  <202011031501.0A3F1Tr5051834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011031501.0A3F1Tr5051834>