Sync from SUSE:SLFO:Main python-et_xmlfile revision d1739cd257ba7527f392681bda0c757b
This commit is contained in:
commit
9c9d6c9a3c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
34
LICENCE.rst
Normal file
34
LICENCE.rst
Normal file
@ -0,0 +1,34 @@
|
||||
This software is under the MIT Licence
|
||||
======================================
|
||||
|
||||
Copyright (c) 2010 openpyxl
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Odict implementation in openpyxl/writer/odict.py uses the following licence:
|
||||
|
||||
Copyright (c) 2001-2011 Python Software Foundation
|
||||
2011 Raymond Hettinger
|
||||
License: PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
|
||||
See http://www.opensource.org/licenses/Python-2.0 for full terms
|
||||
Note: backport changes by Raymond were originally distributed under MIT
|
||||
license, but since the original license for Python is more
|
||||
restrictive than MIT, code cannot be released under its terms and
|
||||
still adheres to the limitations of Python license.
|
BIN
et_xmlfile-1.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
et_xmlfile-1.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
55
python-et_xmlfile.changes
Normal file
55
python-et_xmlfile.changes
Normal file
@ -0,0 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 13:14:19 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 03:54:32 UTC 2023 - Jiri Srain <jsrain@suse.com>
|
||||
|
||||
- updated the LICENSE.rst URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Make sure to run without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 13:25:04 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Run the tests
|
||||
- Make sure to run fudpes correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:47:44 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 08:56:00 UTC 2017 - bruno@ioda-net.ch
|
||||
|
||||
- specfile : add line to define python-modules (fix build on Leap)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 7 12:56:15 UTC 2017 - bruno@ioda-net.ch
|
||||
|
||||
- Move to singlespec
|
||||
- Add missing requires python-lxml
|
||||
- Prepare everything for testing (wip)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 16:16:51 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
- Requires full python3 package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 8 07:14:53 UTC 2016 - arun@gmx.de
|
||||
|
||||
- specfile:
|
||||
* updated source url to files.pythonhosted.org
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 19 16:53:37 UTC 2015 - bruno@ioda-net.ch
|
||||
|
||||
- Initial Release : build python3
|
||||
|
66
python-et_xmlfile.spec
Normal file
66
python-et_xmlfile.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-et_xmlfile
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-et_xmlfile
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: An implementation of lxml.xmlfile for the standard library
|
||||
License: MIT
|
||||
URL: https://bitbucket.org/openpyxl/et_xmlfile
|
||||
Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/et_xmlfile-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/biydnd/et_xmlfile/master/LICENCE.rst
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-jdcal
|
||||
Requires: python-lxml >= 3.4
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
et_xmlfile is a low memory library for creating large XML files.
|
||||
|
||||
It is based upon the xmlfile module from lxml with the aim of allowing code to
|
||||
be developed that will work with both libraries. It was developed initially for
|
||||
the openpyxl project but is now a standalone module.
|
||||
|
||||
%prep
|
||||
%setup -q -n et_xmlfile-%{version}
|
||||
rm -rf *.egg-info
|
||||
cp -a %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest et_xmlfile/tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENCE.rst
|
||||
%doc README.rst
|
||||
%{python_sitelib}/et_xmlfile-%{version}*-info
|
||||
%{python_sitelib}/et_xmlfile
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user