|
|
cb2840 |
Summary: A powerful declarative parser/builder for binary data
|
|
|
cb2840 |
Name: python-construct
|
|
|
cb2840 |
Version: 2.10.67
|
|
|
cb2840 |
Release: 1%{?dist}
|
|
|
cb2840 |
License: MIT
|
|
|
cb2840 |
URL: http://construct.readthedocs.org
|
|
|
cb2840 |
Source0: https://pypi.python.org/packages/source/c/construct/construct-%{version}.tar.gz
|
|
|
cb2840 |
BuildArch: noarch
|
|
|
cb2840 |
BuildRequires: python3-devel >= 3.6
|
|
|
cb2840 |
BuildRequires: python3-setuptools
|
|
|
cb2840 |
#BuildRequires: python3-pytest
|
|
|
cb2840 |
|
|
|
cb2840 |
%global _description\
|
|
|
cb2840 |
Construct is a powerful declarative parser (and builder) for binary\
|
|
|
cb2840 |
data.\
|
|
|
cb2840 |
\
|
|
|
cb2840 |
Instead of writing imperative code to parse a piece of data, you\
|
|
|
cb2840 |
declaratively define a data structure that describes your data. As\
|
|
|
cb2840 |
this data structure is not code, you can use it in one direction to\
|
|
|
cb2840 |
parse data into Pythonic objects, and in the other direction, convert\
|
|
|
cb2840 |
(build) objects into binary data.
|
|
|
cb2840 |
|
|
|
cb2840 |
%description %_description
|
|
|
cb2840 |
%package -n python3-construct
|
|
|
cb2840 |
Summary: %summary
|
|
|
cb2840 |
Requires: python3-six
|
|
|
cb2840 |
%description -n python3-construct %_description
|
|
|
cb2840 |
|
|
|
cb2840 |
%prep
|
|
|
cb2840 |
%setup -q -n construct-%{version}
|
|
|
cb2840 |
|
|
|
cb2840 |
%build
|
|
|
cb2840 |
%{py3_build}
|
|
|
cb2840 |
|
|
|
cb2840 |
%install
|
|
|
cb2840 |
%{py3_install}
|
|
|
cb2840 |
|
|
|
cb2840 |
%check
|
|
|
cb2840 |
# tests are not part of release tarball
|
|
|
cb2840 |
#{__python3} -m pytest --benchmark-disable --showlocals
|
|
|
cb2840 |
|
|
|
cb2840 |
%files -n python3-construct
|
|
|
cb2840 |
%license LICENSE
|
|
|
cb2840 |
%doc README.rst
|
|
|
cb2840 |
%{python3_sitelib}/construct
|
|
|
cb2840 |
%{python3_sitelib}/construct-%{version}-py%{python3_version}.egg-info
|
|
|
cb2840 |
|
|
|
cb2840 |
%changelog
|
|
|
cb2840 |
* Fri Apr 23 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.67-1
|
|
|
cb2840 |
- 2.10.67
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon Apr 05 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.66-1
|
|
|
cb2840 |
- 2.10.66
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Mar 25 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.63-1
|
|
|
cb2840 |
- 2.10.63
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sun Mar 14 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.61-1
|
|
|
cb2840 |
- 2.10.61
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Feb 20 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.60-1
|
|
|
cb2840 |
- 2.10.60
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sun Feb 07 2021 Terje Rosten <terje.rosten@ntnu.no> - 2.10.59-1
|
|
|
cb2840 |
- 2.10.59
|
|
|
cb2840 |
|
|
|
cb2840 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.56-4
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.56-3
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.10.56-2
|
|
|
cb2840 |
- Rebuilt for Python 3.9
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Feb 11 2020 Terje Rosten <terje.rosten@ntnu.no> - 2.10.56-1
|
|
|
cb2840 |
- 2.10.56
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Jan 28 2020 Terje Rosten <terje.rosten@ntnu.no> - 2.10.55-1
|
|
|
cb2840 |
- 2.10.55
|
|
|
cb2840 |
- Python < 3.6 is not supported any longer
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Jan 23 2020 Terje Rosten <terje.rosten@ntnu.no> - 2.10.53-1
|
|
|
cb2840 |
- 2.10.53
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sun Jan 19 2020 Terje Rosten <terje.rosten@ntnu.no> - 2.9.51-1
|
|
|
cb2840 |
- 2.9.51
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.9.45-5
|
|
|
cb2840 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.9.45-4
|
|
|
cb2840 |
- Rebuilt for Python 3.8
|
|
|
cb2840 |
|
|
|
cb2840 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.45-3
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Jun 18 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.9.45-2
|
|
|
cb2840 |
- Add python2 build deps to conditional
|
|
|
cb2840 |
- Re-enable python2 builds on rawhide as it's still a build requirement
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon May 13 2019 Terje Rosten <terje.rosten@ntnu.no> - 2.9.45-1
|
|
|
cb2840 |
- 2.9.45
|
|
|
cb2840 |
- Remove Python 2 subpackage
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-19
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-18
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.5.1-17
|
|
|
cb2840 |
- Rebuilt for Python 3.7
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon May 21 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.5.1-16
|
|
|
cb2840 |
- Add patch to fix Python 3 import issue (rhbz#1560199)
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon Feb 12 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.5.1-15
|
|
|
cb2840 |
- Clean up
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5.1-14
|
|
|
cb2840 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
cb2840 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
cb2840 |
|
|
|
cb2840 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-13
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5.1-12
|
|
|
cb2840 |
- Python 2 binary package renamed to python2-construct
|
|
|
cb2840 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-11
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-10
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.5.1-9
|
|
|
cb2840 |
- Rebuild for Python 3.6
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-8
|
|
|
cb2840 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-7
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-6
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
cb2840 |
|
|
|
cb2840 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-5
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-4
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.5.1-3
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
|
|
|
cb2840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
cb2840 |
|
|
|
cb2840 |
* Sat Jun 08 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.5.1-1
|
|
|
cb2840 |
- initial package
|