!13 Package upgrade

From: @caodongxia 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-07-04 06:38:40 +00:00 committed by Gitee
commit 74e6a17571
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 9 additions and 31 deletions

View File

@ -1,22 +0,0 @@
From eeeda87c8a1692cc0fbbab3874a8ebaaffeebfd0 Mon Sep 17 00:00:00 2001
From: jackie_wu <wutao61@huawei.com>
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

BIN
path-16.3.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: python-path Name: python-path
Version: 5.2 Version: 16.3.0
Release: 18 Release: 1
Summary: Python module wrapper for path Summary: Python module wrapper for path
License: MIT License: MIT
URL: https://pypi.python.org/pypi/path.py 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 BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-pytest BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm
Patch0001: 0001-fix-test-failures-adpating-to-pytest.patch
%description %description
This package implements path objects as first-class entities, 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. allowing common operations on files to be invoked on those path objects directly.
%prep %prep
%autosetup -n path.py-%{version} -p1 %autosetup -n path-%{version} -p1
%build %build
%py3_build %py3_build
%check %check
cd build/lib /usr/bin/pytest
LC_ALL=en_US.UTF-8 %{_bindir}/py.test-%{python3_version} -v
cd -
%install %install
%py3_install %py3_install
@ -39,6 +36,9 @@ cd -
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 16.3.0-1
- Update to 16.3.0
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 5.2-18 * Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 5.2-18
- Provides python-path for compatibility - Provides python-path for compatibility