diff --git a/0001-fix-test-failures-adpating-to-pytest.patch b/0001-fix-test-failures-adpating-to-pytest.patch deleted file mode 100644 index a9d16d1..0000000 --- a/0001-fix-test-failures-adpating-to-pytest.patch +++ /dev/null @@ -1,22 +0,0 @@ -From eeeda87c8a1692cc0fbbab3874a8ebaaffeebfd0 Mon Sep 17 00:00:00 2001 -From: jackie_wu -Date: Sat, 9 Jan 2021 10:10:40 +0800 -Subject: [PATCH] fix test failures adpating to pytest 5.4.3 - ---- - setup.cfg | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.cfg b/setup.cfg -index 7fc44bf..76c6845 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -1,4 +1,4 @@ --[pytest] -+[tool:pytest] - addopts = --doctest-modules - - [egg_info] --- -2.23.0 - diff --git a/path-16.3.0.tar.gz b/path-16.3.0.tar.gz new file mode 100644 index 0000000..fbcf24a Binary files /dev/null and b/path-16.3.0.tar.gz differ diff --git a/path.py-5.2.zip b/path.py-5.2.zip deleted file mode 100644 index a7a80b2..0000000 Binary files a/path.py-5.2.zip and /dev/null differ diff --git a/python-path.spec b/python-path.spec index 3ed3bc6..979acb4 100644 --- a/python-path.spec +++ b/python-path.spec @@ -1,13 +1,12 @@ Name: python-path -Version: 5.2 -Release: 18 +Version: 16.3.0 +Release: 1 Summary: Python module wrapper for path License: MIT URL: https://pypi.python.org/pypi/path.py -Source0: https://pypi.python.org/packages/source/p/path.py/path.py-%{version}.zip +Source0: https://files.pythonhosted.org/packages/63/3c/e7aa896607ec85b9eb722f7258c9e648d8d1224bb14ec437fd5421487401/path-16.3.0.tar.gz BuildArch: noarch -BuildRequires: python3-devel python3-setuptools python3-pytest -Patch0001: 0001-fix-test-failures-adpating-to-pytest.patch +BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm %description This package implements path objects as first-class entities, @@ -22,15 +21,13 @@ This package implements a path objects as first-class entities, allowing common operations on files to be invoked on those path objects directly. %prep -%autosetup -n path.py-%{version} -p1 +%autosetup -n path-%{version} -p1 %build %py3_build %check -cd build/lib - LC_ALL=en_US.UTF-8 %{_bindir}/py.test-%{python3_version} -v -cd - +/usr/bin/pytest %install %py3_install @@ -39,6 +36,9 @@ cd - %{python3_sitelib}/* %changelog +* Thu Jun 30 2022 caodongxia - 16.3.0-1 +- Update to 16.3.0 + * Mon Sep 27 2021 lingsheng - 5.2-18 - Provides python-path for compatibility