Sophie

Sophie

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

python-stdnum-1.14-1.mga8.src.rpm

%global srcname stdnum

Name:           python-%{srcname}
Version:        1.14
Release:        %mkrel 1
Summary:        Python module to handle standardized numbers and codes
Group:          Development/Python
License:        LGPLv2+
URL:            http://arthurdejong.org/python-stdnum/
Source0:        https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  python3-setuptools
BuildRequires:  python3-devel

# needed for tests
BuildRequires:	locales
BuildRequires:  python3-nose


%description
Parse, validate and reformat standard numbers and codes. This library offers
functions for parsing, validating and reformatting standard numbers and codes
in various formats like personal IDs, VAT numbers, IBAN and more.

%package -n     python3-%{srcname}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{srcname}}

%description -n python3-%{srcname}
Parse, validate and reformat standard numbers and codes. This library offers
functions for parsing, validating and reformatting standard numbers and codes
in various formats like personal IDs, VAT numbers, IBAN and more.


%prep
%setup -q

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

%build
%py3_build

%install
%py3_install

%check
LANG=C.UTF-8 nosetests-%{python3_version} -v

%files -n python3-%{srcname}
%license COPYING
%doc NEWS README
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/python_%{srcname}-%{version}-py?.?.egg-info/


%changelog
* Fri Dec 18 2020 joequant <joequant> 1.14-1.mga8
+ Revision: 1660668
- update to 1.14

* Sun Feb 16 2020 umeabot <umeabot> 1.11-3.mga8
+ Revision: 1531831
- Mageia 8 Mass Rebuild

* Sun Sep 15 2019 tv <tv> 1.11-2.mga8
+ Revision: 1441259
- rebuild for python-3.8
- drop python2 subpkg

* Sat Apr 20 2019 wally <wally> 1.11-1.mga7
+ Revision: 1393892
- new version 1.11

* Thu Jan 10 2019 shlomif <shlomif> 1.10-1.mga7
+ Revision: 1354451
- New version

* Thu Sep 20 2018 umeabot <umeabot> 1.7-2.mga7
+ Revision: 1290270
- Mageia 7 Mass Rebuild

* Tue Jan 02 2018 joequant <joequant> 1.7-1.mga7
+ Revision: 1189741
- set Group
- imported package python-stdnum