|
|
d6700da |
%global pypi_name toml
|
|
|
87b0011 |
%global desc TOML aims to be a minimal configuration file format that's easy to read due to \
|
|
|
87b0011 |
obvious semantics. TOML is designed to map unambiguously to a hash table. TOML \
|
|
|
87b0011 |
should be easy to parse into data structures in a wide variety of languages. \
|
|
|
87b0011 |
This package loads toml file into python dictionary and dump dictionary into \
|
|
|
87b0011 |
toml file.
|
|
|
d6700da |
|
|
|
d6700da |
Name: python-%{pypi_name}
|
|
|
188641b |
Version: 0.10.2
|
|
|
188641b |
Release: 1%{?dist}
|
|
|
d6700da |
Summary: Python Library for Tom's Obvious, Minimal Language
|
|
|
d6700da |
|
|
|
d6700da |
License: MIT
|
|
|
d6700da |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
7fca831 |
Source0: %{pypi_source}
|
|
|
d6700da |
|
|
|
d6700da |
BuildArch: noarch
|
|
Sayan Chowdhury |
ed1c01a |
|
|
Sayan Chowdhury |
ed1c01a |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
8177119 |
BuildRequires: pyproject-rpm-macros
|
|
|
7fca831 |
|
|
|
7fca831 |
%bcond_without tests
|
|
|
7fca831 |
%if %{with tests}
|
|
|
7fca831 |
BuildRequires: /usr/bin/toml-test
|
|
Sayan Chowdhury |
ed1c01a |
%endif
|
|
|
d6700da |
|
|
|
d6700da |
%description
|
|
|
87b0011 |
%desc
|
|
|
d6700da |
|
|
|
8177119 |
|
|
Sayan Chowdhury |
ed1c01a |
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
87b0011 |
Summary: %{summary}
|
|
Sayan Chowdhury |
ed1c01a |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
d6700da |
|
|
Sayan Chowdhury |
ed1c01a |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
87b0011 |
%desc
|
|
|
d6700da |
|
|
|
8177119 |
|
|
|
d6700da |
%prep
|
|
|
8177119 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
61574d3 |
# https://github.com/uiri/toml/pull/339
|
|
|
61574d3 |
sed -i '/pytest-cov/d' tox.ini
|
|
|
8177119 |
|
|
|
8177119 |
|
|
|
8177119 |
%generate_buildrequires
|
|
|
8177119 |
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
d6700da |
|
|
|
d6700da |
|
|
|
a555416 |
%build
|
|
|
8177119 |
%pyproject_wheel
|
|
|
d6700da |
|
|
|
d6700da |
|
|
|
d6700da |
%install
|
|
|
8177119 |
%pyproject_install
|
|
|
8177119 |
%pyproject_save_files %{pypi_name}
|
|
|
d6700da |
|
|
|
d6700da |
|
|
|
7fca831 |
%if %{with tests}
|
|
|
d6700da |
%check
|
|
|
7fca831 |
ln -s /usr/share/toml-test/ . # python tests require test cases here
|
|
|
8177119 |
%tox
|
|
|
7fca831 |
# Also using the language independent toml-test suite to launch tests
|
|
|
7fca831 |
ln -s /usr/share/toml-test/tests/* tests/ # toml-test requires them here
|
|
|
7fca831 |
toml-test $(pwd)/tests/decoding_test3.sh
|
|
|
a555416 |
%endif
|
|
|
d6700da |
|
|
|
d6700da |
|
|
|
8177119 |
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
|
|
|
d6700da |
%license LICENSE
|
|
|
d6700da |
%doc README.rst
|
|
|
d6700da |
|
|
|
87b0011 |
|
|
|
d6700da |
%changelog
|
|
|
188641b |
* Mon Nov 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-1
|
|
|
188641b |
- Update to 0.10.2
|
|
|
188641b |
- Fixes: rhbz#1893498
|
|
|
188641b |
|
|
|
61574d3 |
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.1-4
|
|
|
61574d3 |
- Don't BR pytest-cov
|
|
|
61574d3 |
|
|
|
8177119 |
* Thu Sep 03 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.1-3
|
|
|
8177119 |
- Use pyproject-rpm-macros
|
|
|
8177119 |
|
|
|
7d6939c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
|
|
|
7d6939c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7d6939c |
|
|
|
7fca831 |
* Fri Jun 19 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.1-1
|
|
|
7fca831 |
- Update to 0.10.1 (#1835567)
|
|
|
7fca831 |
|
|
|
72b4127 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-8
|
|
|
72b4127 |
- Rebuilt for Python 3.9
|
|
|
72b4127 |
|
|
|
ef44641 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-7
|
|
|
ef44641 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ef44641 |
|
|
|
c8bc6e8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-6
|
|
|
c8bc6e8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
c8bc6e8 |
|
|
|
e3670cb |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-5
|
|
|
e3670cb |
- Rebuilt for Python 3.8
|
|
|
e3670cb |
|
|
|
391f432 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
|
|
|
391f432 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
391f432 |
|
|
|
6bb4dd0 |
* Mon Feb 11 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
|
|
|
6bb4dd0 |
- Subpackage python2-toml has been removed
|
|
|
6bb4dd0 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
6bb4dd0 |
|
|
|
6219089 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
6219089 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6219089 |
|
|
|
0483b8d |
* Sun Nov 25 2018 Julien Enselme <jujens@jujens.eu> - 0.10.0-1
|
|
|
0483b8d |
- Update to 0.10.0 (#1652946)
|
|
|
0483b8d |
|
|
|
0bc17ca |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-5
|
|
|
0bc17ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0bc17ca |
|
|
|
f0d1f48 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.4-4
|
|
|
f0d1f48 |
- Rebuilt for Python 3.7
|
|
|
f0d1f48 |
|
|
Sayan Chowdhury |
ed1c01a |
* Wed Feb 21 2018 Sayan Chowdhury <sayanchowdhury@fedoraproject.org> - 0.9.4-3
|
|
Sayan Chowdhury |
ed1c01a |
- Make changes to build the package for EPEL
|
|
Sayan Chowdhury |
ed1c01a |
|
|
|
a3c6d79 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-2
|
|
|
a3c6d79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a3c6d79 |
|
|
|
2fea03c |
* Wed Dec 27 2017 Julien Enselme <jujens@jujens.eu> - 0.9.4-1
|
|
|
2fea03c |
- Update to 0.9.4
|
|
|
2fea03c |
|
|
|
4e0456b |
* Tue Sep 26 2017 Julien Enselme <jujens@jujens.eu> - 0.9.3-1
|
|
|
4e0456b |
- Update to 0.9.3
|
|
|
4e0456b |
|
|
|
8bf8bf2 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
|
|
|
8bf8bf2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8bf8bf2 |
|
|
|
d4a64bc |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
|
|
|
d4a64bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d4a64bc |
|
|
|
31e3eb7 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-2
|
|
|
31e3eb7 |
- Rebuild for Python 3.6
|
|
|
31e3eb7 |
|
|
|
87b0011 |
* Thu Sep 01 2016 Julien Enselme <jujens@jujens.eu> - 0.9.2-1
|
|
|
87b0011 |
- Update to 0.9.2
|
|
|
87b0011 |
- Improve spec with %%summary and %%desc macros
|
|
|
87b0011 |
|
|
|
a5d7aed |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-7
|
|
|
a5d7aed |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
a5d7aed |
|
|
|
cda5602 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
|
|
cda5602 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cda5602 |
|
|
|
d690235 |
* Wed Nov 11 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
|
|
d690235 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
d690235 |
|
|
|
aee5640 |
* Mon Nov 9 2015 Julien Enselme <jujens@jujens.eu> - 0.9.1-4
|
|
|
aee5640 |
- Correct %%python_provides for python3
|
|
|
aee5640 |
|
|
|
28ac609 |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.9.1-3
|
|
|
28ac609 |
- Rebuilt for python 3.5
|
|
|
28ac609 |
|
|
|
a555416 |
* Sat Aug 8 2015 Julien Enselme <jujens@jujens.eu> - 0.9.1-2
|
|
|
a555416 |
- Enable tests suite
|
|
|
a555416 |
- Build python3 and python2 in the same directory
|
|
|
a555416 |
- Use %%py2_build, %%py3_build, %%py2_install and %%py2_install
|
|
|
a555416 |
- Move python2 package in its own subpackage
|
|
|
a555416 |
|
|
Fedora Release Monitoring |
03d3d92 |
* Sat Jul 11 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.9.1-1
|
|
Fedora Release Monitoring |
03d3d92 |
- Update to 0.9.1 (#1242131)
|
|
Fedora Release Monitoring |
03d3d92 |
|
|
|
d6700da |
* Sun Jun 28 2015 Julien Enselme <jujens@jujens.eu> - 0.9.0-2
|
|
|
d6700da |
- Update description to explain what toml is
|
|
|
d6700da |
- Try to import the package in %%check
|
|
|
d6700da |
|
|
|
d6700da |
* Mon Jun 15 2015 Julien Enselme <jujens@jujens.eu> - 0.9.0-1
|
|
|
d6700da |
- Initial packaging
|