5 Star 0 Fork 6

OpenCloudOS Stream/python-platformdirs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-platformdirs.spec 2.24 KB
一键复制 编辑 原始数据 按行查看 历史
brucezhang 提交于 2025-03-24 19:48 +08:00 . Update to 3.11.0 for python-virtualenv
%global srcname platformdirs
Name: python-%{srcname}
Version: 3.11.0
Release: 1%{?dist}
Summary: 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/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global common_description %{expand:
A small Python module for determining appropriate platform-specific dirs, e.g.
a "user data dir".}
%description %{common_description}
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
%description -n python3-%{srcname} %{common_description}
%prep
%autosetup -n %{srcname}-%{version}
sed -r -i '/^[[:blank:]]*"pytest-cov\b/d' pyproject.toml
sed -r -i '/^[[:blank:]]*"covdefaults\b/d' pyproject.toml
%generate_buildrequires
%pyproject_buildrequires -x test
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{srcname}
%check
%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
%changelog
* Mon Mar 24 2025 bbrucezhang <bbrucezhang@tencent.com> - 3.11.0-1
- Update to 3.11.0 for python-virtualenv
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.5.4-4
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.5.4-3
- Rebuilt for loongarch release
* Tue Jul 9 2024 Shuo Wang <abushwang@tencent.com> - 2.5.4-2
- remove unused rm license
* 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/opencloudos-stream/python-platformdirs.git
git@gitee.com:opencloudos-stream/python-platformdirs.git
opencloudos-stream
python-platformdirs
python-platformdirs
master

搜索帮助