forked from pool/python-python-stdnum
- convert to singlespec
- enable tests - update to 1.6 * support more number formats * many bugs fixed * extended test suite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-stdnum?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
7b596cdc1b
commit
20cd537549
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 29 14:59:41 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- convert to singlespec
|
||||||
|
- enable tests
|
||||||
|
- update to 1.6
|
||||||
|
* support more number formats
|
||||||
|
* many bugs fixed
|
||||||
|
* extended test suite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 23 10:11:07 UTC 2016 - jengelh@inai.de
|
Fri Sep 23 10:11:07 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-stdnum
|
# spec file for package python-python-stdnum
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,22 +16,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define base_name python-stdnum
|
%define modname python-stdnum
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-%{base_name}
|
Name: python-%{modname}
|
||||||
Version: 1.3
|
Version: 1.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python module to handle standardized numbers and codes
|
Summary: Python module to handle standardized numbers and codes
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://arthurdejong.org/python-stdnum/
|
Url: http://arthurdejong.org/python-stdnum/
|
||||||
Source: https://files.pythonhosted.org/packages/21/9b/5ff5aeb1f41a23cbbfec6b4a7852c9fec6c904c34bba0b5f905da1702809/%{base_name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-stdnum/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Suggests: python-PySimpleSOAP
|
Suggests: python-PySimpleSOAP
|
||||||
Suggests: python-suds
|
Suggests: python-suds
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library offers functions for parsing, validating and reformatting
|
This library offers functions for parsing, validating and reformatting
|
||||||
@@ -41,15 +45,20 @@ Apart from the validate() function, modules generally provide extra
|
|||||||
parsing, validation, formatting or conversion functions.
|
parsing, validation, formatting or conversion functions.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{base_name}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
%files
|
%check
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
%python_exec -m nose
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc NEWS ChangeLog README COPYING
|
%doc NEWS ChangeLog README COPYING
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3e33f1d3e15fb5fe68518ed8a41d0f3247703f3a8d53864005529441c5ddc9d9
|
|
||||||
size 274077
|
|
3
python-stdnum-1.6.tar.gz
Normal file
3
python-stdnum-1.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:157a0aef01b1e846ddd11252dc516637da6b3347e32f0130825b7fae1d8b4655
|
||||||
|
size 399518
|
Reference in New Issue
Block a user