!14 Update package

From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-08-09 09:00:48 +00:00 committed by Gitee
commit dda016f4d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 33 additions and 3 deletions

25
0001-add-setup-file.patch Normal file
View File

@ -0,0 +1,25 @@
From c6d54531419da1de4c68ed938120f7e9dc73db2c Mon Sep 17 00:00:00 2001
From: liqiuyu123 <liqiuyu@kylinos.cn>
Date: Tue, 9 Aug 2022 16:24:40 +0800
Subject: [PATCH] add setup file
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.37.1.windows.1

Binary file not shown.

BIN
path-16.4.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,13 @@
Name: python-path Name: python-path
Version: 16.3.0 Version: 16.4.0
Release: 1 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://github.com/jaraco/path
Source0: https://files.pythonhosted.org/packages/63/3c/e7aa896607ec85b9eb722f7258c9e648d8d1224bb14ec437fd5421487401/path-16.3.0.tar.gz Source0: https://files.pythonhosted.org/packages/04/b7/076f0188859b31fcdd9b824cfad63b8ec0c2b354497684f90e486ecb4afa/path-16.4.0.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm
Patch0: 0001-add-setup-file.patch
%description %description
This package implements path objects as first-class entities, This package implements path objects as first-class entities,
@ -22,6 +23,7 @@ allowing common operations on files to be invoked on those path objects directly
%prep %prep
%autosetup -n path-%{version} -p1 %autosetup -n path-%{version} -p1
%patch0
%build %build
%py3_build %py3_build
@ -36,6 +38,9 @@ allowing common operations on files to be invoked on those path objects directly
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog
* Tue Aug 09 2022 liqiuyu <liqiuyu@kylinos.cn> - 16.4.0-1
- Update to 16.4.0
* Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 16.3.0-1 * Thu Jun 30 2022 caodongxia <caodongxia@h-partners.com> - 16.3.0-1
- Update to 16.3.0 - Update to 16.3.0