Ai
1 Star 0 Fork 14

penelope/python-uritemplate

forked from src-openEuler/python-uritemplate
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-uritemplate.spec 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
penelope 提交于 2022-05-11 16:30 +08:00 . License compliance rectification
%global modname uritemplate
%global altname uritemplate.py
%global _docdir_fmt %{name}
#%%if 0%{?rhel} >= 8
%bcond_with pytests
#%%else
#%%bcond_without pytests
#%%endif
Name: python-%{modname}
Version: 3.0.1
Release: 2
Summary: Simple python library to deal with URI Templates (RFC 6570)
License: Apache-2.0 or BSD-3-Clause
URL: https://%{modname}.readthedocs.io
Source0: https://github.com/sigmavirus24/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz
BuildArch: noarch
%description
%{summary}.
%package -n python3-%{modname}
Summary: %{summary}
Conflicts: python3-uri-templates
%{?python_provide:%python_provide python3-%{modname}}
%{?python_provide:%python_provide python3-%{altname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%description -n python3-%{modname}
%{summary}.
Python 3 version.
%prep
%autosetup -n uritemplate-%{version}
%build
%py3_build
%install
%py3_install
%check
#py.test-%{python3_version} -v
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%files -n python3-%{modname}
%license LICENSE
%doc HISTORY.rst README.rst
%{python3_sitelib}/%{modname}-*.egg-info/
%{python3_sitelib}/%{modname}/
%changelog
* Wed May 11 2022 yangping <yangping69@h-partners> - 3.0.1-2
- License compliance rectification
* Sat May 07 2022 xigaoxinyan <xigaoxinyan@h-partners.com> -3.0.1-1
- Update to 3.0.1
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.0-10
- Init python3-uritemplate project
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/penelope_y/python-uritemplate.git
git@gitee.com:penelope_y/python-uritemplate.git
penelope_y
python-uritemplate
python-uritemplate
master

搜索帮助