From e349d48cfd40445a846fce5da733304cfc1abed3bb34f11c4d25755a4e30d7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 18 Feb 2019 11:58:48 +0000 Subject: [PATCH] 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 --- python-UkPostcodeParser.changes | 16 ++++++++++++++++ python-UkPostcodeParser.spec | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/python-UkPostcodeParser.changes b/python-UkPostcodeParser.changes index c4bf8c4..dcfa354 100644 --- a/python-UkPostcodeParser.changes +++ b/python-UkPostcodeParser.changes @@ -1,4 +1,20 @@ +------------------------------------------------------------------- +Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg + +- 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 - 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 diff --git a/python-UkPostcodeParser.spec b/python-UkPostcodeParser.spec index e2e869c..29e0504 100644 --- a/python-UkPostcodeParser.spec +++ b/python-UkPostcodeParser.spec @@ -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