Hi ports@, Here's an update for www/py-multidict to 4.7.5 Changes to the software can be found here (2 links for some reason ...):
https://github.com/aio-libs/multidict/blob/master/HISTORY.rst https://github.com/aio-libs/multidict/blob/master/CHANGES.rst Tests pass for me on amd64. As for consumers: * www/py-aiohttp * NO_TESTS=yes * www/py-gunicorn * all tests pass * www/py-yarl * all tests pass (0 tests ???) Cheers, Paco. Index: Makefile =================================================================== RCS file: /home/cvs/ports/www/py-multidict/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile 12 Jul 2019 20:51:02 -0000 1.7 +++ Makefile 6 Mar 2020 18:38:23 -0000 @@ -2,13 +2,12 @@ COMMENT = multidict implementation -MODPY_EGG_VERSION = 4.2.0 -REVISION = 1 +MODPY_EGG_VERSION = 4.7.5 DISTNAME = multidict-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = www devel -WANTLIB += pthread ${MODPY_WANTLIB} +WANTLIB += pthread ${MODPY_WANTLIB} # Apache2 PERMIT_PACKAGE = Yes @@ -18,7 +17,9 @@ MODULES = lang/python MODPY_PI = Yes MODPY_SETUPTOOLS = Yes MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3} +MODPY_PYTEST = Yes -TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} +TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \ + devel/py-test-cov${MODPY_FLAVOR} .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/cvs/ports/www/py-multidict/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 26 Apr 2018 13:05:38 -0000 1.3 +++ distinfo 6 Mar 2020 18:22:01 -0000 @@ -1,2 +1,2 @@ -SHA256 (multidict-4.2.0.tar.gz) = JAUnJBleRocnOfqhDGEZV7us6uKO7JLhzkkVCxFexe0= -SIZE (multidict-4.2.0.tar.gz) = 137359 +SHA256 (multidict-4.7.5.tar.gz) = ruKDxJYB+kwTrcZMCcl4g4p+gS+FN3rhMKJNcZjAMx4= +SIZE (multidict-4.7.5.tar.gz) = 50845 Index: patches/patch-multidict__multidict_c =================================================================== RCS file: patches/patch-multidict__multidict_c diff -N patches/patch-multidict__multidict_c --- patches/patch-multidict__multidict_c 1 Aug 2018 22:39:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-multidict__multidict_c,v 1.1 2018/08/01 22:39:13 juanfra Exp $ - -Os breaks the build on GCC4 platforms. - -Index: multidict/_multidict.c ---- multidict/_multidict.c.orig -+++ multidict/_multidict.c -@@ -20116,8 +20116,6 @@ static int __Pyx_modinit_function_import_code(void) { - #ifndef CYTHON_SMALL_CODE - #if defined(__clang__) - #define CYTHON_SMALL_CODE --#elif defined(__GNUC__) -- #define CYTHON_SMALL_CODE __attribute__((optimize("Os"))) - #else - #define CYTHON_SMALL_CODE - #endif Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/www/py-multidict/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 26 Apr 2018 13:05:38 -0000 1.3 +++ pkg/PLIST 6 Mar 2020 18:22:56 -0000 @@ -1,5 +1,5 @@ @comment $OpenBSD: PLIST,v 1.3 2018/04/26 13:05:38 danj Exp $ -@pkgpath www/py3-multidict +@pkgpath www/${MODPY_PY_PREFIX}multidict lib/python${MODPY_VERSION}/site-packages/multidict/ lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO @@ -8,18 +8,23 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/multidict/__init__.py lib/python${MODPY_VERSION}/site-packages/multidict/__init__.pyi -lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}/ +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_abc.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_multidict_base.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_multidict_py.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/multidict/_abc.py lib/python${MODPY_VERSION}/site-packages/multidict/_compat.py -lib/python${MODPY_VERSION}/site-packages/multidict/_istr.c -lib/python${MODPY_VERSION}/site-packages/multidict/_istr.pyd -lib/python${MODPY_VERSION}/site-packages/multidict/_istr.so lib/python${MODPY_VERSION}/site-packages/multidict/_multidict.c -lib/python${MODPY_VERSION}/site-packages/multidict/_multidict.pyx -lib/python${MODPY_VERSION}/site-packages/multidict/_multidict.so +@so lib/python${MODPY_VERSION}/site-packages/multidict/_multidict.so +lib/python${MODPY_VERSION}/site-packages/multidict/_multidict_base.py lib/python${MODPY_VERSION}/site-packages/multidict/_multidict_py.py +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/ +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/defs.h +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/dict.h +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/istr.h +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/iter.h +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/pair_list.h +lib/python${MODPY_VERSION}/site-packages/multidict/_multilib/views.h lib/python${MODPY_VERSION}/site-packages/multidict/py.typed -- Paco Esteban. 0x5818130B8A6DBC03