Sunday, March 08, 2020

update: www/py-multidict

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
-

No comments:

Post a Comment