114 Star 0 Fork 8

src-openEuler/pyxdg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pyxdg.spec 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
Name: pyxdg
Version: 0.26
Release: 5
Summary: Python library to access freedesktop APIs
License: LGPLv2
URL: http://freedesktop.org/Software/pyxdg
Source0: https://pypi.io/packages/source/P/PyXDG/pyxdg-%{version}.tar.gz
Patch0: Fix-several-ResourceWarnings-unclosed-file.patch
Patch1: Fix-compatibility-with-python-3.8.4.patch
BuildArch: noarch
BuildRequires: hicolor-icon-theme shared-mime-info
%description
PyXDG package provides a library to invoke APIs that conform to freedesktop.org standards.
%package -n python3-pyxdg
Summary: Python3 library to access freedesktop APIs
BuildRequires: python%{python3_pkgversion}-devel
%if %{with check}
BuildRequires: python%{python3_pkgversion}-nose
%endif
%{?python_provide:%python_provide python%{python3_pkgversion}-pyxdg}
%description -n python%{python3_pkgversion}-pyxdg
This package contains a Python 3 version of PyXDG.
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
%if %{with check}
%check
nosetests-%{python3_version} || :
%endif
%files -n python%{python3_pkgversion}-pyxdg
%license COPYING
%doc AUTHORS ChangeLog README TODO
%{python3_sitelib}/xdg
%{python3_sitelib}/pyxdg-*.egg-info
%changelog
* Mon Jan 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.26-5
- Fix-compatibility-with-python-3.8.4.patch
* Fri Jan 13 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.26-4
- Fix several ResourceWarnings: unclosed file
* Wed Oct 21 2020 zhangpeng <zhangpeng228@huawei.com> - 0.26-3
- disable python2
* Thu Nov 28 2019 lihao <lihao129@huawei.com> - 0.26-2
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/pyxdg.git
git@gitee.com:src-openeuler/pyxdg.git
src-openeuler
pyxdg
pyxdg
openEuler-22.03-LTS-SP1

搜索帮助