commit python-fs for openSUSE:Factory
Hello community, here is the log from the commit of package python-fs for openSUSE:Factory checked in at 2017-08-24 18:53:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-fs (Old) and /work/SRC/openSUSE:Factory/.python-fs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-fs" Thu Aug 24 18:53:56 2017 rev:2 rq:517625 version:2.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-fs/python-fs.changes 2016-07-21 08:18:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-fs.new/python-fs.changes 2017-08-24 18:54:07.606822893 +0200 @@ -1,0 +2,18 @@ +Thu Aug 3 20:42:12 UTC 2017 - toddrme2178@gmail.com + +- Remove no longer needed patches: + fs-testing-fix-missing-fuse.diff + fs-testing-fix-missing-paramiko.diff + +------------------------------------------------------------------- +Wed Aug 2 19:23:56 UTC 2017 - sebix+novell.com@sebix.at + +- add more-relaxed-requirements.patch to weaken the very harsh version requirements + +------------------------------------------------------------------- +Wed Jul 19 20:00:26 UTC 2017 - sebix+novell.com@sebix.at + +- update to version 2.0.4 +- update to singlespec + +------------------------------------------------------------------- Old: ---- fs-0.5.4.tar.gz fs-testing-fix-missing-fuse.diff fs-testing-fix-missing-paramiko.diff New: ---- fs-2.0.4.tar.gz more-relaxed-requirements.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fs.spec ++++++ --- /var/tmp/diff_new_pack.tA3Kyw/_old 2017-08-24 18:54:08.658674785 +0200 +++ /var/tmp/diff_new_pack.tA3Kyw/_new 2017-08-24 18:54:08.662674222 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-fs # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -14,81 +14,71 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-fs -Version: 0.5.4 +Version: 2.0.4 Release: 0 +Summary: Python's filesystem abstraction layer License: BSD-3-Clause -Summary: Filesystem abstraction layer -Url: http://pypi.python.org/pypi/fs/ Group: Development/Languages/Python -Source: https://pypi.python.org/packages/04/36/d9d564bd96ef2bffb3e493bbb03f363cbdc3a0b19676621053999be78ea4/fs-%{version}.tar.gz -Patch1: fs-testing-fix-missing-fuse.diff -Patch2: fs-testing-fix-missing-paramiko.diff -BuildRequires: python-devel -BuildRequires: python-setuptools +Url: https://github.com/PyFilesystem/pyfilesystem2 +Source: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz +# PATCH-FIX-UPSTREAM more-relaxed-requirements.patch sebix+novell.com@sebix.at -- Weaken the version dependencies +Patch0: more-relaxed-requirements.patch +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module appdirs >= 1.4} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module pyftpdlib} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.10.0} +%endif +Requires: python-appdirs +Requires: python-pytz Requires: python-setuptools -BuildRequires: python-pyftpdlib -Requires: python-pyftpdlib -BuildRequires: python-pytest -#BuildRequires: python-paramiko -#Requires: python-paramiko -BuildRequires: python-six Requires: python-six -Suggests: python-fuse -Suggests: python-paramiko -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +%if %python_version_nodots < 35 +Recommends: python-enum34 +Suggests: python-scandir >= 1.5 %endif +BuildArch: noarch + +%python_subpackages %description -PyFilesystem is an abstraction layer for *filesystems*. In the same way that +PyFilesystem is an abstraction layer for filesystems. In the same way that Python's file-like objects provide a common way of accessing files, PyFilesystem provides a common way of accessing entire filesystems. You can write platform-independent code to work with local files, that also works with any of the supported filesystems (zip, ftp, S3 etc.). -Pyfilesystem works with Linux, Windows and Mac. - -Here are a few of the filesystems that can be accessed with Pyfilesystem: - -* DavFS: access files & directories on a WebDAV server -* FTPFS: access files & directories on an FTP server -* MemoryFS: access files & directories stored in memory (non-permanent but very fast) -* MountFS: creates a virtual directory structure built from other filesystems -* MultiFS: a virtual filesystem that combines a list of filesystems into one, - and checks them in order when opening files -* OSFS: the native filesystem -* SFTPFS: access files & directores stored on a Secure FTP server -* S3FS: access files & directories stored on Amazon S3 storage -* TahoeLAFS: access files & directories stored on a Tahoe distributed filesystem -* ZipFS: access files and directories contained in a zip file - %prep %setup -q -n fs-%{version} -%patch1 -p1 -%patch2 -p1 -sed -i 's/\r//' fs/contrib/tahoelafs/test_tahoelafs.py fs/memoryfs.py +%patch0 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%if %{with test} %check -pushd build/lib -LANG=en_US.UTF-8 py.test -popd +export LANG=en_US.UTF-8 +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE.txt README.txt CHANGES.txt AUTHORS +%doc README.rst %{python_sitelib}/* -%{_bindir}/* %changelog ++++++ fs-0.5.4.tar.gz -> fs-2.0.4.tar.gz ++++++ ++++ 44652 lines of diff (skipped) ++++++ more-relaxed-requirements.patch ++++++ --- setup.py 2017-05-20 18:01:44.000000000 +0200 +++ setup.py 2017-07-19 21:52:56.023550438 +0200 @@ -23,10 +23,10 @@ DESCRIPTION = f.read() REQUIREMENTS = [ - "appdirs~=1.4.0", + "appdirs", "pytz", "setuptools", - "six~=1.10.0", + "six", ] setup( @@ -36,8 +36,8 @@ description="Python's filesystem abstraction layer", install_requires=REQUIREMENTS, extras_require={ - "scandir :python_version < '3.5'": ['scandir~=1.5'], - ":python_version < '3.4'": ['enum34~=1.1.6'] + "scandir :python_version < '3.5'": ['scandir'], + ":python_version < '3.4'": ['enum34'] }, license="BSD", long_description=DESCRIPTION,
participants (1)
-
root@hilbert.suse.de