!13 Package upgrade
From: @caodongxia Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
74e6a17571
@ -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
BIN
path-16.3.0.tar.gz
Normal file
Binary file not shown.
BIN
path.py-5.2.zip
BIN
path.py-5.2.zip
Binary file not shown.
@ -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 <caodongxia@h-partners.com> - 16.3.0-1
|
||||
- Update to 16.3.0
|
||||
|
||||
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 5.2-18
|
||||
- Provides python-path for compatibility
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user