15
0

Accepting request 681657 from devel:languages:python

- Siwtch to unittest-xml-reporting

- Update to 0.3.2:
  * no upstream changelog
- Switch to github tarball for tests

OBS-URL: https://build.opensuse.org/request/show/681657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-adapt-parser?expand=0&rev=2
This commit is contained in:
2019-03-05 11:26:36 +00:00
committed by Git OBS Bridge
4 changed files with 32 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9445c9be4fcf3c519d1fbc605ea289349e11c2eb581db72242b61d12cc4d337f
size 10750

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Mar 5 09:50:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Siwtch to unittest-xml-reporting
-------------------------------------------------------------------
Mon Mar 4 14:04:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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

View File

@@ -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 unittest-xml-reporting}
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

3
v0.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af967f3451278a0ce8277a5c1970b2bd7a627304414df668a55bea120bc272f9
size 30546