Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
beb9d08627
!6 Upgrade version to 3.11.0
From: @cherry530 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-01-15 07:26:10 +00:00
cherry530
0903dacaf5 Upgrade version to 3.11.0
Signed-off-by: cherry530 <707078654@qq.com>
2024-01-15 15:13:56 +08:00
openeuler-ci-bot
973a59e8c8
!5 update to upstream version 3.5.1
From: @desert-sailor 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-06-05 07:30:23 +00:00
desert-sailor
b927119137 Upgrade to version 3.5.1 and add yaml 2023-06-05 15:22:57 +08:00
openeuler-ci-bot
6afed80133
!4 Upgrade to 3.5.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-08 01:29:42 +00:00
cherry530
e965eb4c7e Upgrade to 3.5.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-05-06 10:17:06 +08:00
openeuler-ci-bot
841b2a23df
!2 upgrade the version to 2.5.1
From: @huyuqi2 
Reviewed-by: @huangtianhua, @small_leek 
Signed-off-by: @small_leek
2022-07-04 07:05:47 +00:00
yuqi
007937ef69 Upgrade the version to 2.5.1 2022-06-02 02:50:21 +00:00
openeuler-ci-bot
c34ec3567a
!1 init package
From: @caodongxia 
Reviewed-by: @zhuchunyi 
Signed-off-by: @zhuchunyi
2022-04-28 07:13:33 +00:00
caodongxia
39ee1b98aa init package 2022-04-27 11:14:36 +08:00
3 changed files with 89 additions and 0 deletions

BIN
platformdirs-3.11.0.tar.gz Normal file

Binary file not shown.

85
python-platformdirs.spec Normal file
View File

@ -0,0 +1,85 @@
%global _empty_manifest_terminate_build 0
Name: python-platformdirs
Version: 3.11.0
Release: 1
Summary: A small Python module for determining appropriate platform-specific dirs
License: MIT
URL: https://github.com/platformdirs/platformdirs
Source0: https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
%description
The problem When writing desktop application, finding the right location to
store user data and configuration varies per platform. Even for single-platform
apps, there may by plenty of nuances in figuring out the right location.
%package -n python3-platformdirs
Summary: A small Python module for determining appropriate platform-specific dirs
Provides: python-platformdirs
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# Tests running requires
BuildRequires: python3-appdirs
BuildRequires: python3-pytest
BuildRequires: python3-pytest-mock
BuildRequires: python3-coverage
%description -n python3-platformdirs
The problem When writing desktop application, finding the right location to
store user data and configuration varies per platform. Even for single-platform
apps, there may by plenty of nuances in figuring out the right location.
%package help
Summary: A small Python module for determining appropriate platform-specific dirs
Provides: python3-platformdirs-doc
%description help
The problem When writing desktop application, finding the right location to
store user data and configuration varies per platform. Even for single-platform
apps, there may by plenty of nuances in figuring out the right location
%prep
%autosetup -n platformdirs-%{version} -p1
cp -r src/platformdirs tests/
cp -r src/platformdirs ./
%build
%pyproject_build
%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
%check
/usr/bin/pytest
%files -n python3-platformdirs
%{python3_sitelib}/platformdirs*
%files help
%{_docdir}/*
%changelog
* Mon Jan 15 2024 xu_ping <707078654@qq.com> - 3.11.0-1
- Upgrade the version to 3.11.0
* Mon Jun 05 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.5.1-1
- Upgrade the version to 3.5.1 for tox 4.5.2
* Sat May 06 2023 xu_ping <707078654@qq.com> - 3.5.0-1
- Upgrade the version to 3.5.0
* Thu May 26 2022 OpenStack_SIG <openstack@openeuler.org> - 2.5.1-1
- Upgrade the version to 2.5.1
* Wed Apr 27 2022 caodongxia <caodongxia@h-partners.com> - 2.3.0-1
- init package

4
python-platformdirs.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: platformdirs
tag_prefix: "^v"
seperator: "."