Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
3a9b60b018
!26 [sync] PR-24: make the test check
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-03-30 01:16:41 +00:00
zhuofeng
72fecb1065 make the test check
Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
(cherry picked from commit c4edae467f5ce759c38483ab2c460a8b5237674e)
2023-03-29 16:52:14 +08:00
openeuler-ci-bot
21d23e3fc0
!21 【轻量级 PR】:Rebuild for next release
From: @zhangruifang2020 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-25 08:15:33 +00:00
张瑞方
514f22d179
Rebuild for next release
Signed-off-by: 张瑞方 <xdzhangruifang@163.com>
2022-10-25 06:07:40 +00:00
openeuler-ci-bot
1d3fe26ae4 !16 [sync] PR-14: fix name error in spec file
Merge pull request !16 from openeuler-sync-bot/sync-pr14-master-to-openEuler-22.03-LTS-Next
2021-12-20 13:55:59 +00:00
shixuantong
acc6174ad9 fix name error in spec file
(cherry picked from commit 218baf8f4edbebd137ff3863df38b17fc9a45c43)
2021-12-20 14:13:41 +08:00
openeuler-ci-bot
99b93aa3b7 !13 update version to 1.4.4 and update Source0
From: @tong_1001
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-07-25 08:49:11 +00:00
shixuantong
3acb6a5b20 update version to 1.4.4 and update Source0 2021-07-24 17:22:26 +08:00
openeuler-ci-bot
8f80264915 !2 remove the python2-appdirs
From: @yaokai13
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-31 09:47:33 +08:00
yaokai13
b643faa068 remove the python2-appdirs 2020-10-30 17:12:41 +08:00
3 changed files with 25 additions and 23 deletions

Binary file not shown.

BIN
appdirs-1.4.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
%global with_tests 0%{?_with_tests:1}
%global with_tests 1%{?_with_tests:0}
%global srcname appdirs
name: python-appdirs
Version: 1.4.3
Release: 8
name: python-%{srcname}
Version: 1.4.4
Release: 4
Summary: A Python module for determining platform-specific directories
License: MIT
URL: https://github.com/ActiveState/appdirs
Source0: https://github.com/ActiveState/appdirs/archive/%{version}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
@ -15,16 +16,6 @@ BuildArch: noarch
A small Python module for determining appropriate " + " platform-specific directories,
e.g. a "user data dir".
%package -n python2-appdirs
Summary: A python2 module for determining platform-specific directories
%python_provide python2-appdirs
BuildRequires: python2-devel python2-setuptools
BuildRequires: python2-pip python2-wheel
%description -n python2-appdirs
A small Python 2 module for determining appropriate " + " platform-specific directories,
e.g. a "user data dir".
%package -n python3-appdirs
Summary: A python3 module for determining platform-specific directories
%python_provide python3-appdirs
@ -40,30 +31,41 @@ e.g. a "user data dir".
rm -vrf appdirs.egg-info
%build
%py2_build_wheel
%py3_build_wheel
%install
%py2_install_wheel appdirs-%{version}-py2.py3-none-any.whl
%py3_install_wheel appdirs-%{version}-py2.py3-none-any.whl
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}{%{python2_sitelib},%{python3_sitelib}}/appdirs.py
sed -i -e '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{python3_sitelib}/appdirs.py
%check
%if %{with_tests}
%{__python2} setup.py test
%{__python3} setup.py test
%endif
%files -n python2-appdirs
%doc README.rst CHANGES.rst LICENSE.txt
%{python2_sitelib}/appdirs*
%files -n python3-appdirs
%doc README.rst CHANGES.rst LICENSE.txt
%{python3_sitelib}/appdirs*
%{python3_sitelib}/__pycache__/appdirs.*
%changelog
* Tue Dec 13 2022 zhuofeng <zhuofeng2@huawei.com> - 1.4.4-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:make the test check
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.4.4-3
- Rebuild for next release
* Thu Sep 30 2021 shixuantong <shixuantong@huawei.com> - 1.4.4-2
- fix name error in spec file
* Sat Jul 24 2021 shixuantong <shixuantong@huawei.com> - 1.4.4-1
- update version to 1.4.4 and update Source0
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.4.3-9
- Remove subpackage python2-appdirs
* Thu Feb 27 2020 chenli <chenli147@huawei.com> - 1.4.3-8
- Init Package