Accepting request 1055975 from devel:languages:python

- update to 1.4.2:
  * Add scale-to-X and scale-to-Y attributes to page-layout properties
  * Add Support for Linux on power
  * Update datatable.py
  * Fix bug in __replaceGenerator()

OBS-URL: https://build.opensuse.org/request/show/1055975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-odfpy?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2023-01-05 14:00:33 +00:00 committed by Git OBS Bridge
commit daf7b2c2fc
4 changed files with 19 additions and 10 deletions

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 4 18:32:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.4.2:
* Add scale-to-X and scale-to-Y attributes to page-layout properties
* Add Support for Linux on power
* Update datatable.py
* Fix bug in __replaceGenerator()
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 4 15:42:23 UTC 2020 - John Vandenberg <jayvdb@gmail.com> Sun Oct 4 15:42:23 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-odfpy # spec file
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,13 +21,13 @@
%define binaries csv2ods mailodf odf2mht odf2xhtml odf2xml odfimgimport odflint odfmeta odfoutline odfuserfield xml2odf %define binaries csv2ods mailodf odf2mht odf2xhtml odf2xml odfimgimport odflint odfmeta odfoutline odfuserfield xml2odf
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{modname} Name: python-%{modname}
Version: 1.4.1 Version: 1.4.2
Release: 0 Release: 0
Summary: Python API and tools to manipulate OpenDocument files Summary: Python API and tools to manipulate OpenDocument files
License: GPL-2.0-or-later OR Apache-2.0 License: Apache-2.0 OR GPL-2.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/eea/odfpy URL: https://github.com/eea/odfpy
Source: https://files.pythonhosted.org/packages/source/o/odfpy/%{modname}-%{version}.tar.gz Source: https://github.com/eea/odfpy/archive/refs/tags/release-%{version}.tar.gz
BuildRequires: %{python_module defusedxml} BuildRequires: %{python_module defusedxml}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -35,7 +35,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-defusedxml Requires: python-defusedxml
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -67,7 +67,7 @@ In addition to the API, there are a few scripts:
Visit https://github.com/eea/odfpy for documentation and examples. Visit https://github.com/eea/odfpy for documentation and examples.
%prep %prep
%setup -q -n %{modname}-%{version} %setup -q -n %{modname}-release-%{version}
sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts
%build %build

BIN
release-1.4.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.