forked from pool/python-dbf
- Update to 0.98.0:
* fix resize_field to work on empty tables * fix export to fixed-width by using codecs.open * allow non-standard characters in field names (with warnings) - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dbf?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
f579e4a646
commit
c2aa470da0
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dbf
|
||||
#
|
||||
# Copyright (c) 2018 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
|
||||
@@ -18,16 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-dbf
|
||||
Version: 0.97.11
|
||||
Version: 0.98.0
|
||||
Release: 0
|
||||
Summary: Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://bitbucket.org/stoneleaf/dbf/src/default/
|
||||
URL: https://pypi.org/project/dbf/
|
||||
Source: https://files.pythonhosted.org/packages/source/d/dbf/dbf-%{version}.tar.gz
|
||||
BuildRequires: %{python_module aenum}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-aenum
|
||||
Requires: python-pytz
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -49,6 +53,9 @@ fields are supported.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python dbf/test.py
|
||||
|
||||
%files %{python_files}
|
||||
%license dbf/LICENSE
|
||||
%{python_sitelib}/dbf-%{version}-py*.egg-info
|
||||
|
||||
Reference in New Issue
Block a user