From d9edabf3d8cf40a167fc28f7ed0d1ddcf6e420badf523040df3ddfdb47cd76e3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 27 Jun 2018 10:11:05 +0000 Subject: [PATCH] Accepting request 619366 from devel:languages:python:singlespec-staging Upgrade to 0.4, where the change is that it supports python3 now. Also, clean SPEC file to the singlespec standard (no tests though) OBS-URL: https://build.opensuse.org/request/show/619366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GooCalendar?expand=0&rev=5 --- GooCalendar-0.3.tar.gz | 3 --- GooCalendar-0.4.tar.gz | 3 +++ python-GooCalendar.changes | 16 +++++++++++++++ python-GooCalendar.spec | 41 +++++++++++++++++++------------------- 4 files changed, 40 insertions(+), 23 deletions(-) delete mode 100644 GooCalendar-0.3.tar.gz create mode 100644 GooCalendar-0.4.tar.gz diff --git a/GooCalendar-0.3.tar.gz b/GooCalendar-0.3.tar.gz deleted file mode 100644 index 4b74156..0000000 --- a/GooCalendar-0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4320e7ef174785e8e3038c5d4f71b0834a258ec3b4dda71179377603365bf8dc -size 28977 diff --git a/GooCalendar-0.4.tar.gz b/GooCalendar-0.4.tar.gz new file mode 100644 index 0000000..3b8f40a --- /dev/null +++ b/GooCalendar-0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca3950c2728916d9fb703c886f3940ac9b76739f99ec840b0e1c2c282510e1ab +size 30133 diff --git a/python-GooCalendar.changes b/python-GooCalendar.changes index f369916..96a7cf8 100644 --- a/python-GooCalendar.changes +++ b/python-GooCalendar.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jun 27 10:06:50 UTC 2018 - mcepl@suse.com + +- Upgrade to 0.4, where the change is that it supports python3 now. + +------------------------------------------------------------------- +Mon Jun 25 14:50:29 UTC 2018 - mcepl@suse.com + +- Clean SPEC file + +------------------------------------------------------------------- +Thu Aug 24 13:39:48 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + ------------------------------------------------------------------- Tue Nov 29 16:01:43 UTC 2016 - axel.braun@gmx.de @@ -23,3 +38,4 @@ Sat Jan 11 05:08:28 UTC 2014 - axel.braun@gmx.de - Initial Build on OBS + diff --git a/python-GooCalendar.spec b/python-GooCalendar.spec index c92c788..6f2927a 100644 --- a/python-GooCalendar.spec +++ b/python-GooCalendar.spec @@ -1,7 +1,7 @@ # # spec file for package python-GooCalendar # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -17,41 +17,42 @@ # -# %define mod_name GooCalendar - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-GooCalendar -BuildRequires: python-devel -BuildRequires: python-genshi -BuildRequires: python-lxml -BuildRequires: python-setuptools -Version: 0.3 +Version: 0.4 Release: 0 -Source: https://files.pythonhosted.org/packages/source/G/%{mod_name}/%{mod_name}-%{version}.tar.gz -Url: https://pypi.io/project/GooCalendar/ Summary: A calendar widget for GTK using PyGoocanvas -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Languages/Python -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} > 1110 +URL: https://goocalendar.tryton.org/ +Source: https://files.pythonhosted.org/packages/source/G/%{mod_name}/%{mod_name}-%{version}.tar.gz +BuildRequires: %{python_module Genshi} +BuildRequires: %{python_module lxml} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch -%endif +Requires: goocanvas >= 2.0 +Requires: python-goocanvas +%python_subpackages %description -A calendar widget for GTK using PyGoocanvas +A calendar widget for GTK using PyGoocanvas (Gnome widget linrary). %prep %setup -q -n %{mod_name}-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%_prefix --root=%buildroot +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root) -%doc README COPYRIGHT LICENSE +%files %{python_files} +%license LICENSE +%doc README COPYRIGHT %{python_sitelib}/* %changelog