forked from pool/python-UkPostcodeParser
Accepting request 677104 from home:jayvdb:branches:devel:languages:python
- Activate tests, skipping five tests broken since at least 2017 - Add missing runtime dependency on python-base - Remove tests from installed package - Add README - Initial commit, needed by python-Faker - notes upstream test failures - Changed description - Add %license - Initial spec for v1.1.2 OBS-URL: https://build.opensuse.org/request/show/677104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-UkPostcodeParser?expand=0&rev=2
This commit is contained in:
parent
61f7a5513f
commit
e349d48cfd
@ -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>
|
Thu Feb 14 14:52:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
- Initial commit, needed by python-Faker
|
- 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
|
||||||
|
@ -28,11 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/U/UkPostcodeParse
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-base
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
United Kingdom Postcode parser
|
United Kingdom Postcode parser.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n UkPostcodeParser-%{version}
|
%setup -q -n UkPostcodeParser-%{version}
|
||||||
@ -42,12 +43,17 @@ United Kingdom Postcode parser
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/ukpostcodeparser/test/
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
# no tests as it is ko for 2 years https://github.com/hamstah/ukpostcodeparser/issues/8
|
# 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}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user