[packages/python-fs] - updated to 2.4.14
qboosh
qboosh at pld-linux.org
Sat Dec 11 08:55:18 CET 2021
commit a6a9c16d9e70c36bfae1e9ba72f28f771f8d0f59
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 11 08:55:50 2021 +0100
- updated to 2.4.14
python-fs-py3-requires.patch | 48 ++++++++++++++++++++++----------------------
python-fs.spec | 25 +++++++++++++++--------
2 files changed, 41 insertions(+), 32 deletions(-)
---
diff --git a/python-fs.spec b/python-fs.spec
index d510d91..10d7ad1 100644
--- a/python-fs.spec
+++ b/python-fs.spec
@@ -7,13 +7,13 @@
Summary: Filesystem abstraction layer for Python 2
Summary(pl.UTF-8): Warstwa abstrakcji systemu plików dla Pythona 2
Name: python-fs
-Version: 2.4.11
-Release: 3
+Version: 2.4.14
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/fs/
Source0: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz
-# Source0-md5: 01b2e57b3622aa49cbaa668c81a87cb7
+# Source0-md5: e749e2453ed77e376e9146aa3d6f2efa
Patch0: %{name}-py3-requires.patch
URL: https://pypi.org/project/fs/
%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
@@ -21,13 +21,18 @@ BuildRequires: glibc-localedb-all
%endif
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
+BuildRequires: python-setuptools >= 38.3.0
%if %{with tests}
BuildRequires: python-appdirs >= 1.4.3
BuildRequires: python-backports.os >= 0.1
BuildRequires: python-enum34 >= 1.1.6
-BuildRequires: python-mock
-BuildRequires: python-pyftpdlib
+BuildRequires: python-mock >= 3.0
+BuildRequires: python-parameterized >= 0.8
+BuildRequires: python-psutil >= 5.0
+BuildRequires: python-pyftpdlib >= 1.5
+BuildRequires: python-pysendfile >= 2.0
+BuildRequires: python-pytest >= 4.6
+BuildRequires: python-pytest-randomly >= 1.2
BuildRequires: python-pytz
BuildRequires: python-scandir >= 1.5
BuildRequires: python-six >= 1.10.0
@@ -36,10 +41,14 @@ BuildRequires: python-typing >= 3.6
%endif
%if %{with python3}
BuildRequires: python3-modules >= 1:3.4
-BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools >= 38.3.0
%if %{with tests}
BuildRequires: python3-appdirs >= 1.4.3
-BuildRequires: python3-pyftpdlib
+BuildRequires: python3-parameterized >= 0.8
+BuildRequires: python3-psutil >= 5.0
+BuildRequires: python3-pyftpdlib >= 1.5
+BuildRequires: python3-pytest >= 4.6
+BuildRequires: python3-pytest-randomly >= 1.2
BuildRequires: python3-pytz
%if "%{py3_ver}" < "3.5"
BuildRequires: python3-scandir >= 1.5
diff --git a/python-fs-py3-requires.patch b/python-fs-py3-requires.patch
index e931d92..dc4f2e2 100644
--- a/python-fs-py3-requires.patch
+++ b/python-fs-py3-requires.patch
@@ -1,26 +1,26 @@
---- fs-2.4.11/setup.py.orig 2019-08-31 19:49:24.000000000 +0200
-+++ fs-2.4.11/setup.py 2019-10-05 18:19:59.206079415 +0200
-@@ -22,7 +22,7 @@
- "Topic :: System :: Filesystems",
- ]
+--- fs-2.4.14/setup.cfg.orig 2021-12-10 19:57:26.970958612 +0100
++++ fs-2.4.14/setup.cfg 2021-12-10 19:57:30.277607365 +0100
+@@ -40,17 +40,17 @@ packages = find:
+ setup_requires =
+ setuptools >=38.3.0
+ install_requires =
+- appdirs~=1.4.3
++ appdirs>=1.4.3
+ pytz
+ setuptools
+- six ~=1.10
+- enum34 ~=1.1.6 ; python_version < '3.4'
+- typing ~=3.6 ; python_version < '3.6'
+- backports.os ~=0.1 ; python_version < '3.0'
++ six >=1.10
++ enum34 >=1.1.6 ; python_version < '3.4'
++ typing >=3.6 ; python_version < '3.6'
++ backports.os >=0.1 ; python_version < '3.0'
--REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10"]
-+REQUIREMENTS = ["appdirs>=1.4.3", "pytz", "setuptools", "six>=1.10"]
+ [options.extras_require]
+ scandir =
+- scandir~=1.5 ; python_version < '3.5'
++ scandir>=1.5 ; python_version < '3.5'
- setup(
- author="Will McGugan",
-@@ -31,10 +31,10 @@
- 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"],
-- ":python_version < '3.6'": ["typing~=3.6"],
-- ":python_version < '3.0'": ["backports.os~=0.1"],
-+ "scandir :python_version < '3.5'": ["scandir>=1.5"],
-+ ":python_version < '3.4'": ["enum34>=1.1.6"],
-+ ":python_version < '3.6'": ["typing>=3.6"],
-+ ":python_version < '3.0'": ["backports.os>=0.1"],
- },
- license="MIT",
- name="fs",
+ [options.packages.find]
+ exclude = tests
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-fs.git/commitdiff/a6a9c16d9e70c36bfae1e9ba72f28f771f8d0f59
More information about the pld-cvs-commit
mailing list