pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/filesystems/py-fs



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Dec 13 11:22:51 UTC 2019

Modified Files:
        pkgsrc/filesystems/py-fs: Makefile PLIST distinfo

Log Message:
py-fs: updated to 2.4.11

[2.4.11]:
Added
Added geturl for TarFS and ZipFS for 'fs' purpose. NoURL for 'download' purpose.
Added helpful root path in CreateFailed exception
Added Python 3.8 support

Fixed
Fixed tests leaving tmp files
Fixed typing issues
Fixed link namespace returning bytes
Fixed broken FSURL in windows
Fixed hidden exception at fs.close() when opening an absent zip/tar file URL
Fixed abstract class import from collections which would break on Python 3.8
Fixed incorrect imports of mock on Python 3
Removed some unused imports and unused requirements.txt file
Added mypy checks to Travis.
Fixed missing errno.ENOTSUP on PyPy.
Fixed bug in a decorator that would trigger an AttributeError when a class was created that implemented a deprecated method and had no docstring of its own.

Changed
Entire test suite has been migrated to pytest.
Style checking is now enforced using flake8; this involved some code cleanup such as removing unused imports.

[2.4.10]:
Fixed
Fixed broken WrapFS.movedir

[2.4.9]:
Fixed
Restored fs.path import
Fixed potential race condition in makedirs.
Added missing methods to WrapFS.

Changed
MemFS now immediately releases all memory it holds when close() is called, rather than when it gets garbage collected.
FTPFS now translates EOFError into RemoteConnectionError.
Added automatic close for filesystems that go out of scope.

[2.4.8]:
Changed
geturl will return URL with user/password if needed @zmej-serow

[2.4.7]:
Added
Flag to OSFS to disable env var expansion

[2.4.6]:
Added
Implemented geturl in FTPFS @zmej-serow

Fixed
Fixed FTP test suite when time is not UTC-0 @mrg0029
Fixed issues with paths in tarfs https://github.com/PyFilesystem/pyfilesystem2/issues/284

Changed
Dropped Python3.3 support

[2.4.5]:
Fixed
Restored deprecated setfile method with deprecation warning to change to writefile
Fixed exception when a tarfile contains a path called '.' https://github.com/PyFilesystem/pyfilesystem2/issues/275
Made TarFS directory loading lazy

Changed
Detect case insensitivity using by writing temp file

[2.4.4]:
Fixed
OSFS fail in nfs mounts

[2.4.3]:
Fixed
Fixed broken "case_insensitive" check
Fixed Windows test fails

[2.4.2]:
Fixed
Fixed exception when Python runs with -OO

[2.4.1]:
Fixed
Fixed hash method missing from WrapFS

[2.4.0]:
Added
Added exclude and filter_dirs arguments to walk

Micro-optimizations to walk
[2.3.1]:
Fixed
Add encoding check in OSFS.validatepath

[2.3.0]:
Fixed
IllegalBackReference had mangled error message

Added
FS.hash method


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/filesystems/py-fs/Makefile \
    pkgsrc/filesystems/py-fs/PLIST pkgsrc/filesystems/py-fs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/filesystems/py-fs/Makefile
diff -u pkgsrc/filesystems/py-fs/Makefile:1.1 pkgsrc/filesystems/py-fs/Makefile:1.2
--- pkgsrc/filesystems/py-fs/Makefile:1.1       Wed Jan 16 08:34:53 2019
+++ pkgsrc/filesystems/py-fs/Makefile   Fri Dec 13 11:22:51 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2019/01/16 08:34:53 adam Exp $
+# $NetBSD: Makefile,v 1.2 2019/12/13 11:22:51 adam Exp $
 
-DISTNAME=      fs-2.2.1
+DISTNAME=      fs-2.4.11
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    filesystems python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/fs/}
@@ -16,6 +16,16 @@ DEPENDS+=    ${PYPKGPREFIX}-setuptools-[0-9
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-pyftpdlib-[0-9]*:../../net/py-pyftpdlib
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-backports.os>=0.1:../../devel/py-backports.os
+DEPENDS+=      ${PYPKGPREFIX}-enum34>=1.1.6:../../devel/py-enum34
+DEPENDS+=      ${PYPKGPREFIX}-typing>=3.6:../../devel/py-typing
+.else
+PYSETUPTESTTARGET=     pytest
+.endif
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/filesystems/py-fs/PLIST
diff -u pkgsrc/filesystems/py-fs/PLIST:1.1 pkgsrc/filesystems/py-fs/PLIST:1.2
--- pkgsrc/filesystems/py-fs/PLIST:1.1  Wed Jan 16 08:34:53 2019
+++ pkgsrc/filesystems/py-fs/PLIST      Fri Dec 13 11:22:51 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/01/16 08:34:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/12/13 11:22:51 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -23,6 +23,9 @@ ${PYSITELIB}/fs/_repr.pyo
 ${PYSITELIB}/fs/_typing.py
 ${PYSITELIB}/fs/_typing.pyc
 ${PYSITELIB}/fs/_typing.pyo
+${PYSITELIB}/fs/_url_tools.py
+${PYSITELIB}/fs/_url_tools.pyc
+${PYSITELIB}/fs/_url_tools.pyo
 ${PYSITELIB}/fs/_version.py
 ${PYSITELIB}/fs/_version.pyc
 ${PYSITELIB}/fs/_version.pyo
Index: pkgsrc/filesystems/py-fs/distinfo
diff -u pkgsrc/filesystems/py-fs/distinfo:1.1 pkgsrc/filesystems/py-fs/distinfo:1.2
--- pkgsrc/filesystems/py-fs/distinfo:1.1       Wed Jan 16 08:34:53 2019
+++ pkgsrc/filesystems/py-fs/distinfo   Fri Dec 13 11:22:51 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/01/16 08:34:53 adam Exp $
+$NetBSD: distinfo,v 1.2 2019/12/13 11:22:51 adam Exp $
 
-SHA1 (fs-2.2.1.tar.gz) = a1bcb98e65e7b80c7ce94a76c52643d83c84cc49
-RMD160 (fs-2.2.1.tar.gz) = 097b817c78fc8ce229e2edafc09a9a5914702868
-SHA512 (fs-2.2.1.tar.gz) = 79d1596df18c0fa51ffb661a115c32c76821e24ee905be0dbc6123d8a66921a26c5ea66a7561d2a10b2bdaf4030ce4a5da6445ff5f2ea882c63a32d4fe711d35
-Size (fs-2.2.1.tar.gz) = 122543 bytes
+SHA1 (fs-2.4.11.tar.gz) = e5456119c108e60166ce00130883355b0f806fae
+RMD160 (fs-2.4.11.tar.gz) = 81c9354dbc5f8486a98849016038d13ca6c14054
+SHA512 (fs-2.4.11.tar.gz) = 8a4e25b47427d8467e697ac5eff645130f159f0479386c958ebcc87839e6b8d4b2d46c3bb078208eb067629078960fde551fa14842cf65ff29afb0238911b4f5
+Size (fs-2.4.11.tar.gz) = 128125 bytes
+SHA1 (patch-tests_conftest.py) = cb8f0cfc5358b1fc87555b31f7a077d96bc397bb



Home | Main Index | Thread Index | Old Index