Ai
1 Star 0 Fork 6

lyn/python-pytoml

forked from src-openEuler/python-pytoml
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pytoml.spec 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 21:12 +08:00 . Package init
%global github_name pytoml
Name: python-%{github_name}
Version: 0.1.18
Release: 2
Summary: Parser for TOML
License: MIT
URL: https://github.com/avakar/%{github_name}
Source0: https://github.com/avakar/%{github_name}/archive/v%{version}/%{github_name}-%{version}.tar.gz
BuildArch: noarch
%global my_description \
This package aims at being a specs-conforming and\
strict parser and writer for TOML files.
%description
%{my_description}
%package -n python2-%{github_name}
Summary: %{summary}
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%{?python_provide:%python_provide python2-%{github_name}}
%description -n python2-%{github_name}
%{my_description}
%package -n python3-%{github_name}
Summary: %{summary}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%{?python_provide:%python_provide python3-%{github_name}}
%description -n python3-%{github_name}
%{my_description}
%prep
%autosetup -p1 -n %{github_name}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{github_name}
%doc README.md
%license LICENSE
%{python2_sitelib}/%{github_name}-%{version}*-py%{python2_version}.egg-info/
%{python2_sitelib}/%{github_name}/
%files -n python3-%{github_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/%{github_name}-%{version}*-py%{python3_version}.egg-info/
%{python3_sitelib}/%{github_name}/
%changelog
* Tue Dec 3 2019 mengxian <mengxian@huawei.com> - 0.1.18-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lyn1001/python-pytoml.git
git@gitee.com:lyn1001/python-pytoml.git
lyn1001
python-pytoml
python-pytoml
master

搜索帮助