Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
30d43caf92
!20 Upgrade version to 16.9.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-07 08:47:41 +00:00
cherry530
243b33f16a Upgrade version to 16.9.0
Signed-off-by: cherry530 <707078654@qq.com>
2024-02-07 16:34:28 +08:00
openeuler-ci-bot
9dc7c43596
!19 Update package to version 16.7.1
From: @lingjuer 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-07-28 10:31:33 +00:00
lingjuer
a8a886ac12 Update to version 16.7.1 2023-07-27 15:00:34 +08:00
openeuler-ci-bot
25ef544e71
!18 Adapting to the pyproject.toml compilation mode
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-26 08:43:52 +00:00
cherry530
f3f1befd4e Adapting to the pyproject.toml compilation mode
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-26 16:00:58 +08:00
openeuler-ci-bot
1392c99118
!17 Update package to version 16.6.0
From: @jxy_git 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-12-19 12:24:47 +00:00
jxy_git
772195284d Update package to version 16.6.0 2022-12-16 15:10:47 +08:00
openeuler-ci-bot
a352121641
!16 Update package
From: @Wangjunqi123 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
2022-11-22 14:36:59 +00:00
Wangjunqi123
4fae1095c1 update version to 16.5.0 2022-11-22 14:43:51 +08:00
4 changed files with 56 additions and 47 deletions

View File

@ -1,25 +0,0 @@
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.9.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,43 +1,77 @@
Name: python-path
Version: 16.4.0
Release: 1
Summary: Python module wrapper for path
License: MIT
URL: https://github.com/jaraco/path
Source0: https://files.pythonhosted.org/packages/04/b7/076f0188859b31fcdd9b824cfad63b8ec0c2b354497684f90e486ecb4afa/path-16.4.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm
Patch0: 0001-add-setup-file.patch
%global _empty_manifest_terminate_build 0
Name: python-path
Version: 16.9.0
Release: 1
Summary: Python module wrapper for path
License: MIT
URL: https://github.com/jaraco/path
Source0: https://files.pythonhosted.org/packages/source/p/path/path-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
BuildRequires: python3-more-itertools
%description
This package implements path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%package -n python3-path
Summary: Python3 module wrapper for path
%{?python_provide:%python_provide python3-path}
%package -n python3-path
Summary: Python module wrapper for path
Provides: python-path = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BUildRequires: python3-setuptools_scm
%description -n python3-path
This package implements path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%description -n python3-path
This package implements a path objects as first-class entities,
%package help
Summary: Development documents and examples for path
Provides: python3-path-doc
%description help
This package implements path objects as first-class entities,
allowing common operations on files to be invoked on those path objects directly.
%prep
%autosetup -n path-%{version} -p1
%patch0
%autosetup -p1 -n path-%{version}
%build
%py3_build
%pyproject_build
%install
%pyproject_install path==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%check
/usr/bin/pytest
%install
%py3_install
%files -n python3-path
%{python3_sitelib}/*
%{python3_sitelib}/path*
%files help
%{_docdir}/*
%changelog
* Tue Feb 06 2024 xu_ping <707078654@qq.com> - 16.9.0-1
- Update package to version 16.9.0
* Thu Jul 27 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 16.7.1-1
- Update package to version 16.7.1
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 16.6.0-2
- Adapting to the pyproject.toml compilation mode
* Fri Dec 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 16.6.0-1
- Update package to version 16.6.0
* Tue Nov 22 2022 wangjunqi <wangjunqi@kylinos.cn> - 16.5.0-1
- Update package to version 16.5.0
* Tue Aug 09 2022 liqiuyu <liqiuyu@kylinos.cn> - 16.4.0-1
- Update to 16.4.0