python-toml/python-toml.spec

58 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

2020-02-18 16:54:41 +08:00
Name: python-toml
2021-07-19 20:50:47 +08:00
Version: 0.10.2
2021-12-27 07:03:08 +00:00
Release: 2
2020-02-18 16:54:41 +08:00
Summary: Python Library for Tom's Obvious, Minimal Language
License: MIT
2021-07-19 20:50:47 +08:00
URL: https://github.com/uiri/toml
Source0: https://github.com/uiri/toml/archive/refs/tags/0.10.2.tar.gz
2020-02-18 16:54:41 +08:00
BuildArch: noarch
BuildRequires: python3-devel
%description
2021-07-19 20:50:47 +08:00
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
2020-02-18 16:54:41 +08:00
%package -n python3-toml
Summary: Python Library for Tom's Obvious, Minimal Language
2021-07-19 20:50:47 +08:00
Provides: python-toml
2020-02-18 16:54:41 +08:00
BuildRequires: python3-devel
2021-07-19 20:50:47 +08:00
BuildRequires: python3-setuptools
2021-12-27 07:03:08 +00:00
Provides: python%{python3_pkgversion}dist(toml) = %{version}
Provides: python%{python3_version}dist(toml) = %{version}
2020-02-18 16:54:41 +08:00
%description -n python3-toml
2021-07-19 20:50:47 +08:00
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
2020-02-18 16:54:41 +08:00
%package_help
%prep
2021-07-19 20:50:47 +08:00
%autosetup -n toml-0.10.2
2020-02-18 16:54:41 +08:00
%build
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
%install
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
%files -n python3-toml
%defattr(-,root,root)
%license LICENSE
2020-06-18 16:24:28 +08:00
%_prefix/lib/python%{python3_version}/site-packages/toml
%_prefix/lib/python%{python3_version}/site-packages/toml-%{version}-py%{python3_version}.egg-info
2020-02-18 16:54:41 +08:00
%files help
%defattr(-,root,root)
%doc README.rst
%changelog
2021-12-27 07:03:08 +00:00
* Mon Dec 27 2021 wangkerong<wangkerong@huawei.com> - 0.10.2-2
- provides python3.10(toml)
2021-07-19 20:50:47 +08:00
* Mon Jul 19 2021 jinzig<jinzhiguang@kylinos.cn> - 0.10.2-1
- update version to 0.10.2
2021-12-27 07:03:08 +00:00
2020-06-18 16:24:28 +08:00
* Thu Jun 18 2020 yanglu<yanglu60@huawei.com> - 0.10.0-2
2020-06-18 10:42:49 +08:00
- Change global
2021-12-27 07:03:08 +00:00
2020-02-18 16:59:09 +08:00
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.10.0-1
2020-02-18 16:54:41 +08:00
- Package init