1 Star 0 Fork 6

Jackey_1024/python-platformdirs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-platformdirs.spec 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
Jackey_1024 提交于 2023-09-25 19:08 +08:00 . upgrade to 2.5.4
%global srcname platformdirs
Summary: Python module for determining appropriate platform-specific dirs
Name: python-%{srcname}
Version: 2.5.4
Release: 1%{?dist}
License: MIT
URL: https://github.com/platformdirs/platformdirs
Source0: https://files.pythonhosted.org/packages/source/p/platformdirs/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%description
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
%package -n python3-%{srcname}
Summary: Python module for determining appropriate platform-specific dir
BuildRequires: python3-devel
%description -n python3-%{srcname}
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
%prep
%autosetup -n %{srcname}-%{version}
%generate_buildrequires
%pyproject_buildrequires -x test
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{srcname}
rm -f %{buildroot}%{python3_sitelib}/%{srcname}-%{version}.dist-info/licenses/LICENSE
%check
%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE
%doc README.rst CHANGES.rst
%changelog
* Mon Sep 25 2023 jackeyji <jackeyji@tencent.com> - 2.5.4-1
- upgrade to 2.5.4
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.3.0-5
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.3.0-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.3.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.3.0-2
- Rebuilt for OpenCloudOS Stream 23
* Thu Dec 29 2022 Shuo Wang <abushwang@tencent.com> - 2.3.0-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jackey_1024/python-platformdirs.git
git@gitee.com:jackey_1024/python-platformdirs.git
jackey_1024
python-platformdirs
python-platformdirs
master

搜索帮助