From 192aed56b685152f2cdaada3a9e3ec1c8d2c35e277d939607e0b9cab1eb8dabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 15 Apr 2018 13:13:53 +0000 Subject: [PATCH] Accepting request 596671 from home:theMarix:branches:devel:languages:python - Updated to upstream version 0.5.0. + Updated emoji set. + New function to count emojis in a string. - Fixed example in package description. - Fixed source URL. OBS-URL: https://build.opensuse.org/request/show/596671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-emoji?expand=0&rev=2 --- emoji-0.4.5.tar.gz | 3 --- emoji-0.5.0.tar.gz | 3 +++ python-emoji.changes | 13 +++++++++++++ python-emoji.spec | 17 ++++++++++------- 4 files changed, 26 insertions(+), 10 deletions(-) delete mode 100644 emoji-0.4.5.tar.gz create mode 100644 emoji-0.5.0.tar.gz diff --git a/emoji-0.4.5.tar.gz b/emoji-0.4.5.tar.gz deleted file mode 100644 index fecd2b2..0000000 --- a/emoji-0.4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8bc4a528b0584b755cc160d98a8e6169d4896f2a5be8a964815517ae7ab298e -size 39238 diff --git a/emoji-0.5.0.tar.gz b/emoji-0.5.0.tar.gz new file mode 100644 index 0000000..cb00fe5 --- /dev/null +++ b/emoji-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:001b92b9c8a157e1ca49187745fa450513bc8b31c87328dfd83d674b9d7dfa63 +size 41302 diff --git a/python-emoji.changes b/python-emoji.changes index d4ff337..80958be 100644 --- a/python-emoji.changes +++ b/python-emoji.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Apr 15 09:14:15 UTC 2018 - marix@marix.org + +- Updated to upstream version 0.5.0. + + Updated emoji set. + + New function to count emojis in a string. +- Fixed example in package description. + +------------------------------------------------------------------- +Sun Apr 15 09:05:06 UTC 2018 - marix@marix.org + +- Fix source URL. + ------------------------------------------------------------------- Wed Mar 14 19:24:33 UTC 2018 - marix@marix.org diff --git a/python-emoji.spec b/python-emoji.spec index f10ce4c..3f82ee8 100644 --- a/python-emoji.spec +++ b/python-emoji.spec @@ -1,6 +1,7 @@ # # spec file for package python-emoji # +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 Matthias Bach . # # All modifications and additions to the file contributed by third parties @@ -13,22 +14,24 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-emoji -Version: 0.4.5 +Version: 0.5.0 Release: 0 -License: BSD-3-Clause Summary: Emoji for Python -Url: https://github.com/carpedm20/emoji/ +License: BSD-3-Clause Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/e/emoji-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros +Url: https://github.com/carpedm20/emoji/ +Source: https://files.pythonhosted.org/packages/47/e7/cf76e0774b13459e61ffe16a042a35f42e292aeebba060b919c05b0854ab/emoji-0.5.0.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -40,7 +43,7 @@ In addition to the official list defined by the unicode consortium a whole bunch Example: >> import emoji ->> print(emoji.emojize('Python is :thumbs_up_sign:')) +>> print(emoji.emojize('Python is :thumbs_up:')) Python is 👍 >> print(emoji.emojize('Python is :thumbsup:', use_aliases=True)) Python is 👍