Fox python3 only ports, use the proper construct for FLAVOR and forcibly assign

the variable.
FLAVOR = python3
(not FLAVOR =?)

ok sthen@
This commit is contained in:
ajacoutot 2021-02-27 11:13:34 +00:00
parent 7bea040b02
commit b25fdb8308
20 changed files with 41 additions and 41 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2021/02/20 17:18:04 landry Exp $
# $OpenBSD: Makefile,v 1.17 2021/02/27 11:13:34 ajacoutot Exp $
COMMENT = Python client interface for MPD
@ -18,7 +18,7 @@ MODULES = lang/python
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
TEST_DEPENDS = ${BUILD_PKGPATH} \
devel/py-mock${MODPY_FLAVOR}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2021/02/03 15:32:23 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = RFC4510 conforming LDAP V3 pure Python client library
@ -16,7 +16,7 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2020/11/06 20:01:34 jasper Exp $
# $OpenBSD: Makefile,v 1.18 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = console-based visual debugger for Python
@ -21,7 +21,7 @@ RUN_DEPENDS = devel/py-urwid${MODPY_FLAVOR}>=1.1.1 \
TEST_DEPENDS = devel/py-test-mock${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.if ${FLAVOR:Mpython3}
PUDB_SCRIPT_NAME = pudb3

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2021/02/19 23:13:01 sthen Exp $
# $OpenBSD: Makefile,v 1.15 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = ELF and DWARF parser library for Python
@ -15,7 +15,7 @@ MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
PERMIT_PACKAGE = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
MODULES = lang/python
MODPY_PI = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/02/20 14:17:35 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2021/02/27 11:13:35 ajacoutot Exp $
# remove when switching to Python 3.9
COMMENT= backport of the importlib.resources module
@ -24,7 +24,7 @@ BUILD_DEPENDS= devel/py-setuptools_scm${MODPY_FLAVOR} \
textproc/py-toml${MODPY_FLAVOR} \
FLAVORS= python3
FLAVOR?= python3
FLAVOR= python3
# tests are broken
NO_TEST= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2021/02/26 14:58:23 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = library to instrument executable formats
@ -23,7 +23,7 @@ WANTLIB += ${COMPILER_LIBCXX} m
MODULES = lang/python
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2021/01/17 19:34:50 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = module that multiplexes interactions with lists of objects
@ -18,7 +18,7 @@ MODULES = lang/python
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
# No tests - no upstream?

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2020/09/16 07:29:10 jasper Exp $
# $OpenBSD: Makefile,v 1.10 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = Python lex/yacc
@ -19,7 +19,7 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
do-test:
cd ${WRKSRC}/test && \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2020/11/30 15:47:52 jasper Exp $
# $OpenBSD: Makefile,v 1.10 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = pipe interface for radare2
@ -19,6 +19,6 @@ MODULES = lang/python
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2021/01/04 14:06:31 sthen Exp $
# $OpenBSD: Makefile,v 1.34 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = console user interface library for python
@ -28,6 +28,6 @@ MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = urwid/tests
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2020/11/05 18:34:46 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = module for creating and manipulating graphs and networks
@ -20,8 +20,8 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS= python3
FLAVOR ?= python3
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = devel/py-decorator${MODPY_FLAVOR}>=4.3.0

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/01/05 12:58:23 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = convert between Julian and calendar dates
@ -20,6 +20,6 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2021/02/19 21:00:32 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.40 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT= Python module for GnuPG interface
@ -18,7 +18,7 @@ MODPY_PI= Yes
MODULES= lang/python
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
BUILD_DEPENDS= security/gnupg
RUN_DEPENDS= security/gnupg

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2021/01/03 12:30:33 jasper Exp $
# $OpenBSD: Makefile,v 1.22 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = datetime-iterator for cron-like formats
@ -19,7 +19,7 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
RUN_DEPENDS = devel/py-dateutil${MODPY_FLAVOR} \
textproc/py-natsort${MODPY_FLAVOR}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2020/11/01 13:28:14 jasper Exp $
# $OpenBSD: Makefile,v 1.21 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT= platform-independent file locking for Python
@ -24,7 +24,7 @@ MODPY_SETUPTOOLS= Yes
MODPY_PYTEST= Yes
FLAVORS= python3
FLAVOR ?= python3
FLAVOR = python3
TEST_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2021/02/20 17:30:54 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.20 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT= spellchecking library for Python
@ -23,6 +23,6 @@ MODPY_PYTEST_ARGS = enchant/tests.py
RUN_DEPENDS= textproc/enchant2
FLAVORS= python3
FLAVOR?= python3
FLAVOR= python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/01/05 12:58:23 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = low memory library for creating large XML files
@ -18,6 +18,6 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2020/11/04 20:21:47 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = parse semi-structured text into Python table
@ -22,6 +22,6 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2020/11/03 13:52:13 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = Python library for "Tom's Obvious Minimal Language" #'
@ -17,6 +17,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2020/11/04 20:21:47 jasper Exp $
# $OpenBSD: Makefile,v 1.6 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = drop-in replace for csv with unicode support
@ -23,6 +23,6 @@ MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
FLAVORS = python3
FLAVOR ?= python3
FLAVOR = python3
.include <bsd.port.mk>