Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
795a9a44bc
!13 Update package to version 4.0.0
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2024-02-21 09:30:00 +00:00
jxy_git
5ed00502cc Update package to version 4.0.0 2024-02-21 15:49:13 +08:00
openeuler-ci-bot
f37c19cfb5
!12 Upgrade to latest release [python-jaraco-functools -> 3.8.0]
From: @Jason_828e 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-07-12 02:17:10 +00:00
chenzixuan
c0ec2ede10 update version to 3.8.0 2023-07-04 20:34:13 +08:00
openeuler-ci-bot
e5fa806da1
!11 Use pyproject to compile package
From: @jxy_git 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2023-04-28 08:31:49 +00:00
jxy_git
e2e16d6893 Use pyproject to compile package 2023-04-28 10:52:11 +08:00
openeuler-ci-bot
d9dcd3698e
!10 Update package to version 3.6.0
From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-03-30 10:31:57 +00:00
wubijie
75caa9c8c3 Update package to version 3.6.0 2023-03-30 10:30:45 +08:00
openeuler-ci-bot
9ef2e713e3
!9 [sync] PR-8: 修复python3-jaraco-functools与python3-tempora的安装冲突
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-02-27 08:45:35 +00:00
starlet-dx
a217ad2c46 Fix installation conflicts between python3-jaraco-functools and python3-tempora
(cherry picked from commit ad4cdc84e56d930d887c56bd1218100cf7b65515)
2023-02-27 16:36:40 +08:00
4 changed files with 24 additions and 60 deletions

View File

@ -1,25 +0,0 @@
From d168176f5b942062208eb6dfd1185dfacb599dad Mon Sep 17 00:00:00 2001
From: liqiuyu123 <liqiuyu@kylinos.cn>
Date: Wed, 7 Dec 2022 16:24:54 +0800
Subject: [PATCH] add setup.py
---
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.

Binary file not shown.

View File

@ -1,12 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-jaraco-functools
Version: 3.5.2
Release: 2
Version: 4.0.0
Release: 1
Summary: Functools like those found in stdlib
License: MIT
URL: https://pypi.org/project/jaraco.functools/
Source0: https://files.pythonhosted.org/packages/b4/ea/9abca360081de9157668fcc52765989158aaf29b4826f26fcb17852d08e6/jaraco.functools-3.5.2.tar.gz
Patch0: 0001-add-setup.py.patch
Source0: https://files.pythonhosted.org/packages/57/7c/fe770e264913f9a49ddb9387cca2757b8d7d26f06735c1bfbb018912afce/jaraco.functools-4.0.0.tar.gz
BuildArch: noarch
Requires: python3-more-itertools
@ -25,7 +24,7 @@ Functools like those found in stdlib
Summary: Functools like those found in stdlib
Provides: python-jaraco-functools = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip python3-wheel python3-flit
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
%description -n python3-jaraco-functools
@ -38,50 +37,40 @@ Provides: python3-jaraco-functools-doc
Documentation for jaraco-functools
%prep
%autosetup -n jaraco.functools-%{version}
%patch0
%autosetup -n jaraco.functools-%{version} -p1
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
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
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-jaraco-functools
%{python3_sitelib}/b*
%exclude %{python3_sitelib}/b/__pycache__/
%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/jaraco/
%{python3_sitelib}/*
%files help -f doclist.lst
%files help
%{_docdir}/*
%changelog
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.0.0-1
- Update package to version 4.0.0
* Tue Jul 04 2023 chenzixuan <chenzixuan@kylinos.cn> - 3.8.0-1
- Update package to version 3.8.0
* Fri Apr 28 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.6.0-2
- Use pyproject to compile package
* Thu Mar 30 2023 wubijie <wubijie@kylinos.cn> - 3.6.0-1
- Update package to version 3.6.0
* Mon Feb 27 2023 yaoxin <yaoxin30@h-partners.com> - 3.5.2-3
- Fix installation conflicts between python3-jaraco-functools and python3-tempora
* Fri Feb 24 2023 yaoxin <yaoxin30@h-partners.com> - 3.5.2-2
- Fix installation conflicts between python3-jaraco-functools and python3-importlib-metadata