From e956d2fb15943beb5e4845991001318e3d64bf34 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 12 Mar 2020 07:36:21 +0000 Subject: [PATCH] py-zipp: update to 3.1.0. v3.1.0 ====== #47: ``.open`` now raises ``FileNotFoundError`` and ``IsADirectoryError`` when appropriate. v3.0.0 ====== #44: Merge with v1.2.0. v1.2.0 ====== #44: ``zipp.Path.open()`` now supports a compatible signature as ``pathlib.Path.open()``, accepting text (default) or binary modes and soliciting keyword parameters passed through to ``io.TextIOWrapper`` (encoding, newline, etc). The stream is opened in text-mode by default now. ``open`` no longer accepts ``pwd`` as a positional argument and does not accept the ``force_zip64`` parameter at all. This change is a backward-incompatible change for that single function. v2.2.1 ====== #43: Merge with v1.1.1. v1.1.1 ====== #43: Restored performance of implicit dir computation. v2.2.0 ====== #36: Rebuild package with minimum Python version declared both in package metadata and in the python tag. v2.1.0 ====== #32: Merge with v1.1.0. v1.1.0 ====== #32: For read-only zip files, complexity of ``.exists`` and ``joinpath`` is now constant time instead of ``O(n)``, preventing quadratic time in common use-cases and rendering large zip files unusable for Path. Big thanks to Benjy Weinberger for the bug report and contributed fix (#33). v2.0.1 ====== #30: Corrected version inference (from jaraco/skeleton#12). v2.0.0 ====== Require Python 3.6 or later. --- archivers/py-zipp/Makefile | 12 +++++------- archivers/py-zipp/distinfo | 10 +++++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/archivers/py-zipp/Makefile b/archivers/py-zipp/Makefile index e0a7f5057c5f..b973ce5d6a6a 100644 --- a/archivers/py-zipp/Makefile +++ b/archivers/py-zipp/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2020/01/27 11:01:35 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2020/03/12 07:36:21 wiz Exp $ -DISTNAME= zipp-1.1.0 +DISTNAME= zipp-3.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_PYPI:=z/zipp/} @@ -11,14 +11,12 @@ COMMENT= Backport of pathlib-compatible object wrapper for zip files LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm -TEST_DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2 -TEST_DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2 -TEST_DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2 +DEPENDS+= ${PYPKGPREFIX}-jaraco.itertools-[0-9]*:../../devel/py-jaraco.itertools +TEST_DEPENDS+= ${PYPKGPREFIX}-func_timeout-[0-9]*:../../devel/py-func_timeout USE_LANGUAGES= # none -PYTHON_VERSIONED_DEPENDENCIES+= more-itertools +PYTHON_VERSIONS_INCOMPATIBLE= 27 -.include "../../lang/python/versioned_dependencies.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/py-zipp/distinfo b/archivers/py-zipp/distinfo index f218c6d41bb6..78354a5e2b6e 100644 --- a/archivers/py-zipp/distinfo +++ b/archivers/py-zipp/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2020/01/27 11:01:35 wiz Exp $ +$NetBSD: distinfo,v 1.6 2020/03/12 07:36:21 wiz Exp $ -SHA1 (zipp-1.1.0.tar.gz) = 38ca6cd1c08fef6386689b8cf9ddb53db43b20e5 -RMD160 (zipp-1.1.0.tar.gz) = 632e25ded32f45b3b89f8ec21437c72df0bfb570 -SHA512 (zipp-1.1.0.tar.gz) = a7d6355e16fea270bc89f6f6b3d61bc9b444bd98e8014f97da189631d2a4a0fa25bd84d6cae3835638d7912c5edd0a6dfa0276b1088d5b00c02c56b7ce059695 -Size (zipp-1.1.0.tar.gz) = 12837 bytes +SHA1 (zipp-3.1.0.tar.gz) = 4002f19d959b7de827b39265518b184140da6d6d +RMD160 (zipp-3.1.0.tar.gz) = 7f7b4ed35f065e3f8e2b985abbfd560f2d6879ee +SHA512 (zipp-3.1.0.tar.gz) = bb8dea71eccc4f3b18fc816dae700582c3feb72f346e115bb2d1adc336f121304a285e4d5dad48d15b386b9e137c6e1d1793ef50d22b6bd697812a661817684e +Size (zipp-3.1.0.tar.gz) = 14808 bytes