14
0

Accepting request 1218128 from home:yeey:OpenWebUI

SUSE AI needs version 1.0.2

OBS-URL: https://build.opensuse.org/request/show/1218128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-pptx?expand=0&rev=11
This commit is contained in:
2024-10-25 14:45:25 +00:00
committed by Git OBS Bridge
parent dcb64b2067
commit 49aebe10cc
5 changed files with 39 additions and 104 deletions

View File

@@ -14,46 +14,46 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-python-pptx
Version: 0.6.23
Version: 1.0.2
Release: 0
Summary: Generate and manipulate Open XML PowerPoint (pptx) files
License: MIT
URL: http://github.com/scanny/python-pptx
Source: https://files.pythonhosted.org/packages/source/p/python-pptx/python-pptx-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/scanny/python-pptx/pull/957 Use UTC-aware datetime objects
Patch: utc.patch
BuildRequires: %{python_module setuptools}
Source: https://files.pythonhosted.org/packages/source/p/python-pptx/python_pptx-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.0.0}
# SECTION test requirements
BuildRequires: %{python_module lxml >= 3.1.0}
BuildRequires: %{python_module Pillow >= 3.3.2}
BuildRequires: %{python_module typing_extensions >= 4.9.0}
BuildRequires: %{python_module XlsxWriter >= 0.5.7}
BuildRequires: %{python_module behave}
BuildRequires: %{python_module pyparsing >= 2.0.1}
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-Pillow >= 3.3.2
Requires: python-XlsxWriter >= 0.5.7
Requires: python-lxml >= 3.1.0
Requires: python-Pillow >= 3.3.2
Requires: python-typing_extensions >= 4.9.0
Requires: python-XlsxWriter >= 0.5.7
BuildArch: noarch
%python_subpackages
%description
Generate and manipulate Open XML PowerPoint (.pptx) files.
Create, read, and update PowerPoint 2007+ (.pptx) files.
%prep
%autosetup -p1 -n python-pptx-%{version}
%autosetup -p1 -n python_pptx-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check