Accepting request 600066 from devel:languages:python

- Conflict with python-dns-lexicon that provides same namespace

- Update descriptions.

OBS-URL: https://build.opensuse.org/request/show/600066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lexicon?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-04-24 13:33:45 +00:00 committed by Git OBS Bridge
commit 63cc5ca81d
2 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 23 13:16:19 UTC 2018 - tchvatal@suse.com
- Conflict with python-dns-lexicon that provides same namespace
-------------------------------------------------------------------
Sun Mar 4 09:23:34 UTC 2018 - jengelh@inai.de
- Update descriptions.
-------------------------------------------------------------------
Sat Mar 3 10:38:55 UTC 2018 - sebix+novell.com@sebix.at

View File

@ -13,37 +13,39 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-lexicon
Version: 1.0.0
Release: 0
Summary: Python dict subclass(es) with aliasing and attribute access
License: BSD-2-Clause
Summary: Powerful dict subclass(es) with aliasing & attribute access
Url: https://github.com/bitprophet/lexicon
Group: Development/Languages/Python
URL: https://github.com/bitprophet/lexicon
Source: https://files.pythonhosted.org/packages/source/l/lexicon/lexicon-%{version}.tar.gz
# PATCH-FIX-UPSTREAM: add_test_init.patch # fix execution of tests
Patch0: https://github.com/bitprophet/lexicon/pull/10.patch#/add_test_init.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
# Completely different pkg but same namespece in sitelib folder
Conflicts: python-dns-lexicon
BuildArch: noarch
# SECTION tests
BuildRequires: %{python_module six}
BuildRequires: %{python_module spec}
# /SECTION tests
BuildRequires: fdupes
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
Lexicon is a simple collection of dict subclasses:
Lexicon is a collection of dict subclasses:
* AliasDict, a dictionary supporting both simple and complex key aliasing
* AttributeDict, supporting attribute read & write access
* AttributeDict, supporting attribute read and write access
* Lexicon, a subclass of both of the above which exhibits both sets of behavior
%prep