49314494ef
Version 3.5.7: This is a mostly a bug-fix release. Fixes * Regression: pathlib did not get patched in the presence of pathlib2 * fixed errors if running the PyCharm debugger under Python 2 Infrastructure * do not run real file system tests by default * make tests run if running python setup.py test under Python 2 Version 3.5.6: Changes * import external pathlib2 and scandir packages first if present Version 3.5.5: Fixes * removed shebang from test files to avoid packaging warnings Version 3.5.4: New Features * added context manager class Pause for pause/resume Fixes * fixed AttributeError shown while displaying fs in a failing pytest in Python 2 * fixed permission handling for root user * avoid AttributeError triggered by modules without __module__ attribute Version 3.5.3: This is a minor release to have a version with passing tests for OpenSUSE packaging. New Features * automatically patch file system methods imported as another name like from os.path import exists as my_exists, including builtin open and io.open Fixes * make tests for access time less strict to account for file systems that do not change it immediately Version 3.5.2: This is mostly a bug-fix release. New Features * added support for pause/resume of patching the file system modules * allow to set current group ID, set current user ID and group ID as st_uid and st_gid in new files Fixes * fixed using modules_to_patch * fixed recursion error on unpickling the fake file system * allow trailing path in add_real_directory Version 3.5: Changes * This version of pyfakefs does not support Python 3.3. Python 3.3 users must keep using pyfakefs 3.4.3, or upgrade to a newer Python version. * The deprecation warnings for the old API are now switched on by default. To switch them off for legacy code, use: python from pyfakefs.deprecator import Deprecator Deprecator.show_warnings = False New Features * Improved automatic patching: * automatically patch methods of a patched file system module imported like from os.path import exists * a module imported as another name (import os as _os) is now correctly patched without the need of additional parameters * automatically patch Path if imported like from pathlib import Path * parameter patch_path has been removed from UnitTest and Patcher, the correct patching of path imports is now done automatically * UnitTest /Patcher arguments can now also be set in setUpPyfakefs() * added possibility to set user ID * added side_effect option to fake files * added some support for extended filesystem attributes under Linux * handle contents=None in create_file() as empty contents if size not set * added pathlib2 support * added support for null device * improved error message for "Bad file descriptor in fake filesystem"
16 lines
442 B
Makefile
16 lines
442 B
Makefile
# $NetBSD: Makefile,v 1.2 2019/02/17 08:36:33 adam Exp $
|
|
|
|
DISTNAME= pyfakefs-3.5.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyfakefs/}
|
|
|
|
MAINTAINER= bsiegert@NetBSD.org
|
|
HOMEPAGE= https://pyfakefs.org/
|
|
COMMENT= Fake file system that mocks the Python file system modules
|
|
LICENSE= apache-2.0
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|