Thursday, August 05, 2021

make devel/py-click and co py3 only

diff 9b1dc9835de83a287315b9042e803e815e51baab /usr/ports
blob - 4909a69a9b07633474447340caf2cbf89cb7123d
file + devel/Makefile
--- devel/Makefile
+++ devel/Makefile
@@ -1341,13 +1341,9 @@
SUBDIR += py-characteristic,python3
SUBDIR += py-cheetah
SUBDIR += py-cheetah,python3
- SUBDIR += py-click
SUBDIR += py-click,python3
- SUBDIR += py-click-log
SUBDIR += py-click-log,python3
- SUBDIR += py-click-plugins
SUBDIR += py-click-plugins,python3
- SUBDIR += py-click-threading
SUBDIR += py-click-threading,python3
SUBDIR += py-clint
SUBDIR += py-clint,python3
@@ -1622,7 +1618,6 @@
SUBDIR += py-smmap,python3
SUBDIR += py-sortedcontainers
SUBDIR += py-sortedcontainers,python3
- SUBDIR += py-spark-parser
SUBDIR += py-spark-parser,python3
SUBDIR += py-speg,python3
SUBDIR += py-stdnum
@@ -1679,7 +1674,6 @@
SUBDIR += py-tz
SUBDIR += py-tz,python3
SUBDIR += py-tzlocal,python3
- SUBDIR += py-uncompyle6
SUBDIR += py-uncompyle6,python3
SUBDIR += py-unicorn,python3
SUBDIR += py-unittest2
@@ -1704,7 +1698,6 @@
SUBDIR += py-wurlitzer,python3
SUBDIR += py-xdg
SUBDIR += py-xdg,python3
- SUBDIR += py-xdis
SUBDIR += py-xdis,python3
SUBDIR += py-xlsxwriter
SUBDIR += py-xlsxwriter,python3
blob - 639d00b6ec804ab70d87ad7ed5741f279c512f57
file + devel/py-click/Makefile
--- devel/py-click/Makefile
+++ devel/py-click/Makefile
@@ -5,7 +5,7 @@ COMMENT= command line library for Python
MODPY_EGG_VERSION=6.7
DISTNAME= click-${MODPY_EGG_VERSION}
PKGNAME= py-click-${MODPY_EGG_VERSION}
-REVISION= 3
+REVISION= 4

CATEGORIES= devel

@@ -22,6 +22,6 @@ MODPY_SETUPTOOLS= Yes
MODPY_PYTEST= Yes

FLAVORS= python3
-FLAVOR?=
+FLAVOR= python3

.include <bsd.port.mk>
blob - 72ae7b4f4344a9b798797e2d5f7fdc57caf4f78b
file + devel/py-click-log/Makefile
--- devel/py-click-log/Makefile
+++ devel/py-click-log/Makefile
@@ -5,7 +5,7 @@ COMMENT = logging integration for Python click
MODPY_EGG_VERSION = 0.3.2
DISTNAME = click-log-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
-REVISION = 2
+REVISION = 3

CATEGORIES = devel

@@ -25,6 +25,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

.include <bsd.port.mk>
blob - b7b2192f35cb2be173ced7675e839d8be0cd4dc4
file + devel/py-click-plugins/Makefile
--- devel/py-click-plugins/Makefile
+++ devel/py-click-plugins/Makefile
@@ -5,7 +5,7 @@ COMMENT = register CLI commands via setuptools entry-
MODPY_EGG_VERSION = 1.0.4
DISTNAME = click-plugins-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
-REVISION = 2
+REVISION = 3

CATEGORIES = devel

@@ -23,6 +23,6 @@ MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

.include <bsd.port.mk>
blob - 60541faaeff897dd48de2ab53cfdb19f22920aa8
file + devel/py-click-threading/Makefile
--- devel/py-click-threading/Makefile
+++ devel/py-click-threading/Makefile
@@ -5,7 +5,7 @@ COMMENT = multithreading in Python click
MODPY_EGG_VERSION = 0.4.3
DISTNAME = click-threading-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
-REVISION = 2
+REVISION = 3

CATEGORIES = devel

@@ -22,6 +22,6 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

.include <bsd.port.mk>
blob - 7e50c9ece227ff3cb240aed2b96b8689a72ffa04
file + devel/py-spark-parser/Makefile
--- devel/py-spark-parser/Makefile
+++ devel/py-spark-parser/Makefile
@@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 1.6.1
DISTNAME = spark_parser-${MODPY_EGG_VERSION}
PKGNAME = py-spark-parser-${MODPY_EGG_VERSION}
CATEGORIES = devel
-REVISION = 5
+REVISION = 6

HOMEPAGE = https://github.com/rocky/python-spark/

@@ -23,7 +23,7 @@ MODPY_PYTEST_ARGS = test
RUN_DEPENDS = devel/py-click${MODPY_FLAVOR}

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

post-install:
mv ${PREFIX}/bin/spark-parser-coverage{,${MODPY_BIN_SUFFIX}}
blob - fed2ecf46c355b07b922ec7b9b0916fd19c463ab
file + devel/py-uncompyle6/Makefile
--- devel/py-uncompyle6/Makefile
+++ devel/py-uncompyle6/Makefile
@@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 2.11.0
DISTNAME = uncompyle6-${MODPY_EGG_VERSION}
PKGNAME = py-uncompyle6-${MODPY_EGG_VERSION}
CATEGORIES = devel
-REVISION = 4
+REVISION = 5

HOMEPAGE = https://github.com/rocky/python-uncompyle6/

@@ -23,7 +23,7 @@ MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

NO_TEST = Yes

blob - c7b45fff8135feb5e9443bc084e5278fdede3106
file + devel/py-xdis/Makefile
--- devel/py-xdis/Makefile
+++ devel/py-xdis/Makefile
@@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 3.6.11
DISTNAME = xdis-${MODPY_EGG_VERSION}
PKGNAME = py-xdis-${MODPY_EGG_VERSION}
CATEGORIES = devel
-REVISION = 4
+REVISION = 5

HOMEPAGE = https://github.com/rocky/python-xdis/

@@ -25,7 +25,7 @@ TEST_DEPENDS = devel/py-six${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}

FLAVORS = python3
-FLAVOR ?=
+FLAVOR = python3

.if !${FLAVOR:Mpython3}
TEST_DEPENDS += lang/python/${MODPY_VERSION},-tests
blob - eea2e29c22ee5aa2ffa57f25446e8899bd136b7a
file + devel/quirks/Makefile
--- devel/quirks/Makefile
+++ devel/quirks/Makefile
@@ -5,7 +5,7 @@ CATEGORIES = devel databases
DISTFILES =

# API.rev
-PKGNAME = quirks-4.31
+PKGNAME = quirks-4.32
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

blob - d2402fb4dd0642eafd1ace68bacc084f0dab65c6
file + devel/quirks/files/Quirks.pm
--- devel/quirks/files/Quirks.pm
+++ devel/quirks/files/Quirks.pm
@@ -470,7 +470,14 @@ my $stem_extensions = {
'py-minimalmodbus' => 'py3-minimalmodbus',
'baresip-gtk2' => 'baresip-gtk',
'py-xlib' => 'py3-xlib',
- 'py-neovim' => 'py3-neovim'
+ 'py-neovim' => 'py3-neovim',
+ 'py-click-log' => 'py3-click-log',
+ 'py-click-plugins' => 'py3-click-plugins',
+ 'py-click-threading' => 'py3-click-threading',
+ 'py-spark-parser' => 'py3-spark-parser',
+ 'py-xdis' => 'py3-xdis',
+ 'py-uncompyle6' => 'py3-uncompyle6',
+ 'py-click' => 'py3-click'
};

my $obsolete_reason = {};
Hello,

Here's a small patch to make devel/py-click and all rdeps py3-only.
This is being done in preparation for an eventual click 8.0 upgrade
where py2 is dropped from support.

Please let met know if I missed anything.

Thanks,
Lucas

No comments:

Post a Comment