Accepting request 862143 from home:andythe_great:branches:devel:languages:python
- Update to version 1.4.1.
* Fixes regression in 1.4.0 where empty ``geometry_options``
would throw an error.
- Updates for version 1.4.0
* Add ``Fragment`` class which is a ``Container`` without any
LaTeX code surrounding its content.
* Escape newlines in ``ContainerCommand``
* Fix bug where the geometry options were not applied in some
cases
* Remove denose.patch, fixed.
OBS-URL: https://build.opensuse.org/request/show/862143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyLaTeX?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyLaTeX
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,15 +19,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-PyLaTeX
|
||||
Version: 1.3.4
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: A Python library for creating LaTeX files and snippets
|
||||
License: MIT
|
||||
URL: https://github.com/JelteF/PyLaTeX
|
||||
Source: https://github.com/JelteF/PyLaTeX/archive/v%{version}.tar.gz#/PyLaTeX-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM denose.patch gh#JelteF/PyLaTeX#294 mcepl@suse.com
|
||||
# Remove nose dependency
|
||||
Patch0: denose.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -111,7 +108,6 @@ PyLaTeX is a Python library for creating and compiling LaTeX files.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyLaTeX-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -128,6 +124,7 @@ PyLaTeX is a Python library for creating and compiling LaTeX files.
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pylatex
|
||||
%{python_sitelib}/*egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user