1
0

Accepting request 679508 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/679508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-UkPostcodeParser?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-02-27 14:08:03 +00:00 committed by Git OBS Bridge
commit 786a5ff7a9
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,20 @@
-------------------------------------------------------------------
Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate tests, skipping five tests broken since at least 2017
- Add missing runtime dependency on python-base
- Remove tests from installed package
- Add README
-------------------------------------------------------------------
Thu Feb 14 14:52:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, needed by python-Faker
- notes upstream test failures
- Changed description
- Add %license
-------------------------------------------------------------------
Wed Sep 6 17:14:53 UTC 2017 - toddrme2178@gmail.com
- Initial spec for v1.1.2

View File

@ -28,11 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/U/UkPostcodeParse
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-base
BuildArch: noarch
%python_subpackages
%description
United Kingdom Postcode parser
United Kingdom Postcode parser.
%prep
%setup -q -n UkPostcodeParser-%{version}
@ -42,12 +43,17 @@ United Kingdom Postcode parser
%install
%python_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/ukpostcodeparser/test/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# no tests as it is ko for 2 years https://github.com/hamstah/ukpostcodeparser/issues/8
sed -i 's/test_\(091\|097\|098\|125\|131\)/_test_\1/' ukpostcodeparser/test/parser.py
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc README
%{python_sitelib}/*
%changelog