15
0

- enable sle15 pythons build

- use PEP517 build
- Version 0.7.2
- Version 0.3
  * Add colors and font-desc properties to Calendar

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GooCalendar?expand=0&rev=23
This commit is contained in:
2024-01-21 17:43:59 +00:00
committed by Git OBS Bridge
parent 66b0034007
commit 70a0c76517
2 changed files with 16 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-GooCalendar
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2016-2023 Dr. Axel Braun <DocB@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +17,7 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-GooCalendar
Version: 0.8.0
Release: 0
@@ -28,7 +28,9 @@ URL: https://goocalendar.tryton.org/
Source: https://files.pythonhosted.org/packages/source/G/GooCalendar/GooCalendar-%{version}.tar.gz
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gobject-introspection
BuildRequires: python-rpm-macros
@@ -42,16 +44,16 @@ A calendar widget for GTK using PyGoocanvas (Gnome widget linrary).
%setup -q -n GooCalendar-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README COPYRIGHT
%{python_sitelib}/goocalendar
%{python_sitelib}/GooCalendar-%{version}*-info
%{python_sitelib}/GooCalendar-%{version}.dist-info
%changelog