Sophie

Sophie

distrib > Mageia > 8 > armv7hl > media > core-release-src > by-pkgid > c9e2deb14646a7e73cb51808b3cd3fb4 > files > 2

python-construct-2.10.56-3.mga8.src.rpm

%define module	construct

Name:		python-%{module}
Version:	2.10.56
Release:	%mkrel 3
Summary:	A powerful declarative parser/builder for binary data
License:	MIT
Group:		Development/Python
URL:		http://construct.readthedocs.org
Source0:	https://pypi.io/packages/source/c/%{module}/%{module}-%{version}.tar.gz
BuildArch:	noarch

%description
Construct is a powerful declarative parser (and builder) for binary
data.

Instead of writing imperative code to parse a piece of data, you
declaratively define a data structure that describes your data. As
this data structure is not code, you can use it in one direction to
parse data into Pythonic objects, and in the other direction, convert
(build) objects into binary data.

%package -n	python3-%{module}
Summary:	A powerful declarative parser/builder for binary data
Group:		Development/Python
BuildArch:	noarch
BuildRequires:	pkgconfig(python3)
BuildRequires:	python3dist(setuptools)
%{?python_provide:%python_provide python3-%{module}}

%description -n python3-%{module}
Construct is a powerful declarative parser (and builder) for binary
data.

Instead of writing imperative code to parse a piece of data, you
declaratively define a data structure that describes your data. As
this data structure is not code, you can use it in one direction to
parse data into Pythonic objects, and in the other direction, convert
(build) objects into binary data.

This is the Python 3 version of the package.

%prep
%setup -q -n %{module}-%{version}

# Remove bundled egg-info
rm -rf %{module}.egg-info

%build
%py3_build

%install
%py3_install

%files -n python3-%{module}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{module}/
%{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info


%changelog
* Thu Jul 23 2020 ovitters <ovitters> 2.10.56-3.mga8
+ Revision: 1608264
- rebuild for removing pythonegg buildrequires in srpm

* Thu Feb 20 2020 umeabot <umeabot> 2.10.56-2.mga8
+ Revision: 1546506
- Mageia 8 Mass Rebuild

* Mon Feb 03 2020 daviddavid <daviddavid> 2.10.56-1.mga8
+ Revision: 1486593
- new version: 2.10.56

* Sat Feb 01 2020 daviddavid <daviddavid> 2.10.55-1.mga8
+ Revision: 1486167
- new version: 2.10.55

* Thu Jan 23 2020 daviddavid <daviddavid> 2.9.51-1.mga8
+ Revision: 1482323
- new version: 2.9.51

* Wed Sep 11 2019 tv <tv> 2.9.45-2.mga8
+ Revision: 1439637
- rebuild for python-3.8
- drop python2 subpkg

* Tue Jan 08 2019 shlomif <shlomif> 2.9.45-1.mga7
+ Revision: 1352278
- Rebuild for python3 3.7

* Thu Sep 20 2018 umeabot <umeabot> 2.8.22-3.mga7
+ Revision: 1288511
- Mageia 7 Mass Rebuild

* Tue Jun 12 2018 pterjan <pterjan> 2.8.22-2.mga7
+ Revision: 1236450
- Revert to 2.8.22, 2.9 breaks the only package using it

* Wed Feb 14 2018 daviddavid <daviddavid> 2.9.30-1.mga7
+ Revision: 1200957
- new version: 2.9.30

* Tue Feb 13 2018 daviddavid <daviddavid> 2.9.29-1.mga7
+ Revision: 1200814
- new version: 2.9.29

* Sun Feb 11 2018 daviddavid <daviddavid> 2.9.28-1.mga7
+ Revision: 1200346
- new version: 2.9.28

* Sat Jan 20 2018 daviddavid <daviddavid> 2.8.22-1.mga7
+ Revision: 1195120
- new version: 2.8.22

* Thu Jan 04 2018 daviddavid <daviddavid> 2.8.20-1.mga7
+ Revision: 1190201
- new version: 2.8.20

* Fri Dec 15 2017 daviddavid <daviddavid> 2.8.17-1.mga7
+ Revision: 1182659
- new version: 2.8.17

* Fri Oct 20 2017 daviddavid <daviddavid> 2.8.16-1.mga7
+ Revision: 1172863
- new version: 2.8.16
- rename python-construct to python2-construct

* Sat Sep 30 2017 guillomovitch <guillomovitch> 2.8.14-1.mga7
+ Revision: 1161873
- new version 2.8.14

* Fri Aug 04 2017 tv <tv> 2.5.5-2.mga7
+ Revision: 1134524
- rebuild for new python

* Tue Jan 03 2017 daviddavid <daviddavid> 2.5.5-1.mga6
+ Revision: 1079839
- new version: 2.5.5

* Sun Apr 10 2016 daviddavid <daviddavid> 2.5.2-1.mga6
+ Revision: 1000083
- imported package python-construct