The qutebrowser-2.0.0 needs py-importlib-resources backport
for python3.8 and lower. One of its dependencies is
setuptools_scm[toml]>3.4.1 so I need to turn on python2
flavor for py-toml to update it.
py-toml supports both py2 & py3 so no need to force py3.
Tests don't perform any different compared to python3 flavor.
Any comments/OK's?
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-toml/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile 3 Nov 2020 13:52:13 -0000 1.7
+++ Makefile 30 Jan 2021 07:57:15 -0000
@@ -17,6 +17,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
-FLAVOR ?= python3
+FLAVOR ?=
.include <bsd.port.mk>
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/py-toml/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST 3 Nov 2020 13:52:14 -0000 1.3
+++ pkg/PLIST 30 Jan 2021 07:57:15 -0000
@@ -1,6 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.3 2020/11/03 13:52:14 jasper Exp $
-@conflict py-toml-*
-@pkgpath textproc/py-toml
+@comment $OpenBSD: PLIST,v$
lib/python${MODPY_VERSION}/site-packages/toml/
lib/python${MODPY_VERSION}/site-packages/toml-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/toml-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO