15
0
forked from pool/python-vistir

- Update to 0.4.2:

* Added expanded functionality to assist with the removal of read-only
    paths on Windows via icacls system calls if necessary. #81
  * Improved fs_encode compatibility shim in vistir.compat for
    handling of non-UTF8 data. #83
  * Shortened windows paths will now be properly resolved to the full
    path by vistir.path.normalize_path. #90

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vistir?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-05-24 14:03:06 +00:00
committed by Git OBS Bridge
parent df509c6263
commit 5373e06d05
4 changed files with 18 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-vistir
Version: 0.4.0
Version: 0.4.2
Release: 0
Summary: Utilities for filesystems, paths, projects, subprocesses, and more
License: ISC
@@ -32,14 +32,14 @@ BuildRequires: python-rpm-macros
Requires: python-colorama >= 0.3.4
Requires: python-requests
Requires: python-six
Recommends: python-yaspin
BuildArch: noarch
%ifpython2
Requires: python2-backports.functools_lru_cache
Requires: python2-backports.shutil_get_terminal_size
Requires: python2-backports.weakref
Requires: python2-pathlib2
%endif
Recommends: python-yaspin
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module colorama >= 0.3.4}
BuildRequires: %{python_module hypothesis-fspaths}
@@ -75,7 +75,7 @@ rm -r tasks
%check
export LANG=en_US.UTF-8
# test_open_file requires network access
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest -k 'not test_open_file'
%pytest -k 'not test_open_file'
%files %{python_files}
%doc CHANGELOG.rst README.rst