From 37099cc8b9b1ab1e3b9883dd52149b8907b1706f4ca006ef79682110f934857a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 Mar 2019 14:12:33 +0000 Subject: [PATCH] - Update to 0.3.2: * no upstream changelog - Switch to github tarball for tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-adapt-parser?expand=0&rev=4 --- adapt-parser-0.3.0.tar.gz | 3 --- python-adapt-parser.changes | 7 +++++++ python-adapt-parser.spec | 27 +++++++++++++++++---------- v0.3.2.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 13 deletions(-) delete mode 100644 adapt-parser-0.3.0.tar.gz create mode 100644 v0.3.2.tar.gz diff --git a/adapt-parser-0.3.0.tar.gz b/adapt-parser-0.3.0.tar.gz deleted file mode 100644 index e66c1e1..0000000 --- a/adapt-parser-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9445c9be4fcf3c519d1fbc605ea289349e11c2eb581db72242b61d12cc4d337f -size 10750 diff --git a/python-adapt-parser.changes b/python-adapt-parser.changes index 4ac2ad1..4cc9d07 100644 --- a/python-adapt-parser.changes +++ b/python-adapt-parser.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 4 14:04:48 UTC 2019 - Tomáš Chvátal + +- Update to 0.3.2: + * no upstream changelog +- Switch to github tarball for tests + ------------------------------------------------------------------- Tue Jan 9 11:56:54 UTC 2018 - alarrosa@suse.com diff --git a/python-adapt-parser.spec b/python-adapt-parser.spec index 6e12d31..31c6336 100644 --- a/python-adapt-parser.spec +++ b/python-adapt-parser.spec @@ -1,7 +1,7 @@ # # spec file for package python-adapt-parser # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-adapt-parser -Version: 0.3.0 +Version: 0.3.2 Release: 0 -License: LGPL-3.0 Summary: A text-to-intent parsing framework -Url: https://github.com/MycroftAI/adapt +License: LGPL-3.0-only Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/a/adapt-parser/adapt-parser-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/MycroftAI/adapt +Source: https://github.com/MycroftAI/adapt/archive/release/v%{version}.tar.gz +BuildRequires: %{python_module pyee >= 1.0.1} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module xmlrunner} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-pyee >= 1.0.1 Requires: python-six >= 1.10.0 BuildArch: noarch - %python_subpackages %description @@ -39,7 +42,7 @@ determination framework. It is intended to parse natural language text into a structured intent that can then be invoked programatically. %prep -%setup -q -n adapt-parser-%{version} +%setup -q -n adapt-release-v%{version} sed -i -s "s/==/>=/" setup.py %build @@ -49,8 +52,12 @@ sed -i -s "s/==/>=/" setup.py %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_exec run_tests.py --fail-on-error + %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE.md +%doc README.md SUPPORT.md GETTING_STARTED.md %{python_sitelib}/* %changelog diff --git a/v0.3.2.tar.gz b/v0.3.2.tar.gz new file mode 100644 index 0000000..1b1a5be --- /dev/null +++ b/v0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af967f3451278a0ce8277a5c1970b2bd7a627304414df668a55bea120bc272f9 +size 30546