commit python-shortuuid for openSUSE:Factory
Hello community, here is the log from the commit of package python-shortuuid for openSUSE:Factory checked in at 2020-03-19 19:49:50 Comparing /work/SRC/openSUSE:Factory/python-shortuuid (Old) and /work/SRC/openSUSE:Factory/.python-shortuuid.new.3160 (New) Package is "python-shortuuid" Thu Mar 19 19:49:50 2020 rev:3 rq:786236 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-shortuuid/python-shortuuid.changes 2018-09-28 08:52:58.381766196 +0200 +++ /work/SRC/openSUSE:Factory/.python-shortuuid.new.3160/python-shortuuid.changes 2020-03-19 19:53:48.220276632 +0100 @@ -1,0 +2,12 @@ +Wed Mar 18 11:29:15 UTC 2020 - pgaj...@suse.com + +- version update to 1.0.1 + * Use README as the long description on PyPI. [Stavros Korokithakis] + * Drop support for Python before 3.5. [Stavros Korokithakis] + * Add simple command-line interface (#43) [Éric Araujo] + * Make encode and decode MSB-first (#36) [Keane Nguyen] + * Make the URL check more robust (fixes #32) [Stavros Korokithakis] +- deleted patches + - shortuuid-no-pep8.patch (upstreamed) + +--- Old: shortuuid-0.5.0.tar.gz shortuuid-no-pep8.patch New: shortuuid-1.0.1.tar.gz Other differences: -- ++ python-shortuuid.spec ++ --- /var/tmp/diff_new_pack.0UxUFP/_old 2020-03-19 19:53:50.060276697 +0100 +++ /var/tmp/diff_new_pack.0UxUFP/_new 2020-03-19 19:53:50.064276697 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-shortuuid # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-shortuuid -Version:0.5.0 +Version:1.0.1 Release:0 Summary:A generator library for concise, unambiguous and URL-safe UUIDs License:BSD-3-Clause Group: Development/Languages/Python URL:https://github.com/stochastic-technologies/shortuuid/ Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz -# https://github.com/skorokithakis/shortuuid/issues/38 -Patch0: shortuuid-no-pep8.patch +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,7 +40,6 @@ %prep %setup -q -n shortuuid-%{version} -%patch0 -p1 %build %python_build @@ -50,7 +49,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest shortuuid/tests.py %files %{python_files} %doc README.rst ++ shortuuid-0.5.0.tar.gz -> shortuuid-1.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shortuuid-0.5.0/PKG-INFO new/shortuuid-1.0.1/PKG-INFO --- old/shortuuid-0.5.0/PKG-INFO2017-02-19 15:25:04.0 +0100 +++ new/shortuuid-1.0.1/PKG-INFO2020-03-06 12:49:32.0 +0100 @@ -1,18 +1,156 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: shortuuid -Version: 0.5.0 +Version: 1.0.1 Summary: A generator library for concise, unambiguous and URL-safe UUIDs. Home-page: https://github.com/stochastic-technologies/shortuuid/ Author: Stochastic Technologies Author-email: i...@stochastictechnologies.com License: BSD -Description: A library that generates short, pretty, unambiguous unique IDs by using an extensive, case-sensitive alphabet and omitting similar-looking letters and numbers. +Description: === +Description +=== + +``shortuuid`` is a simple python library that generates concise, unambiguous, +URL-safe UUIDs. + +Often, one needs to use non-sequential IDs in places where users will see them, +but the IDs must be as concise and easy to use as possible. ``shortuuid`` solves +this problem by generating uuids using Python's built-in ``uuid`` module and then +translating them to base57 using lowercase and uppercase letters and digits, and +removing similar-looking characters such as l, 1, I, O and 0. + +.. image:: https://travis-ci.org/skorokithakis/shortuuid.svg?branch=master +:target: https://travis-ci.org/skorokithakis/shortuuid + +Installation + + +To install ``shortuuid`` you need: + +* Python 2.5 or later in the 2.x line (earlier than 2.6 not tested), or any 3.x. +
commit python-shortuuid for openSUSE:Factory
Hello community, here is the log from the commit of package python-shortuuid for openSUSE:Factory checked in at 2018-09-28 08:52:57 Comparing /work/SRC/openSUSE:Factory/python-shortuuid (Old) and /work/SRC/openSUSE:Factory/.python-shortuuid.new (New) Package is "python-shortuuid" Fri Sep 28 08:52:57 2018 rev:2 rq:638354 version:0.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-shortuuid/python-shortuuid.changes 2018-06-02 11:58:07.990829961 +0200 +++ /work/SRC/openSUSE:Factory/.python-shortuuid.new/python-shortuuid.changes 2018-09-28 08:52:58.381766196 +0200 @@ -1,0 +2,7 @@ +Wed Sep 26 09:13:16 UTC 2018 - Tomáš Chvátal + +- Add patch to not depend on pep8 linter, also reported upstream + to fix properly: + * shortuuid-no-pep8.patch + +--- New: shortuuid-no-pep8.patch Other differences: -- ++ python-shortuuid.spec ++ --- /var/tmp/diff_new_pack.gO7cLV/_old 2018-09-28 08:52:58.853765511 +0200 +++ /var/tmp/diff_new_pack.gO7cLV/_new 2018-09-28 08:52:58.857765506 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,17 +23,14 @@ Summary:A generator library for concise, unambiguous and URL-safe UUIDs License:BSD-3-Clause Group: Development/Languages/Python -Url:https://github.com/stochastic-technologies/shortuuid/ +URL:https://github.com/stochastic-technologies/shortuuid/ Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz -BuildRequires: %{python_module devel} +# https://github.com/skorokithakis/shortuuid/issues/38 +Patch0: shortuuid-no-pep8.patch BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module pep8} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -43,6 +40,7 @@ %prep %setup -q -n shortuuid-%{version} +%patch0 -p1 %build %python_build ++ shortuuid-no-pep8.patch ++ Index: shortuuid-0.5.0/setup.py === --- shortuuid-0.5.0.orig/setup.py +++ shortuuid-0.5.0/setup.py @@ -32,5 +32,4 @@ setup( classifiers=classifiers, packages=["shortuuid"], test_suite='shortuuid.tests', -tests_require=['pep8'], ) Index: shortuuid-0.5.0/shortuuid/tests.py === --- shortuuid-0.5.0.orig/shortuuid/tests.py +++ shortuuid-0.5.0/shortuuid/tests.py @@ -2,7 +2,6 @@ import os import string import sys import unittest -import pep8 from collections import defaultdict from uuid import UUID, uuid4 @@ -125,16 +124,6 @@ class ClassShortUUIDTest(unittest.TestCa su4 = ShortUUID() self.assertEqual(su4.encoded_length(num_bytes=8), 11) -def test_pep8(self): -pep8style = pep8.StyleGuide([['statistics', True], - ['show-sources', True], - ['repeat', True], - ['paths', [os.path.dirname( - os.path.abspath(__file__))]]], -parse_argv=False) -report = pep8style.check_files() -assert report.total_errors == 0 - class ShortUUIDPaddingTest(unittest.TestCase): def test_padding(self):
commit python-shortuuid for openSUSE:Factory
Hello community, here is the log from the commit of package python-shortuuid for openSUSE:Factory checked in at 2018-06-02 11:57:54 Comparing /work/SRC/openSUSE:Factory/python-shortuuid (Old) and /work/SRC/openSUSE:Factory/.python-shortuuid.new (New) Package is "python-shortuuid" Sat Jun 2 11:57:54 2018 rev:1 rq:606182 version:0.5.0 Changes: New Changes file: --- /dev/null 2018-05-30 11:41:29.140556178 +0200 +++ /work/SRC/openSUSE:Factory/.python-shortuuid.new/python-shortuuid.changes 2018-06-02 11:58:07.990829961 +0200 @@ -0,0 +1,4 @@ +--- +Sat Apr 28 13:50:31 UTC 2018 - toddrme2...@gmail.com + +- Initial version New: python-shortuuid.changes python-shortuuid.spec shortuuid-0.5.0.tar.gz Other differences: -- ++ python-shortuuid.spec ++ # # spec file for package python-shortuuid # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # 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-shortuuid Version:0.5.0 Release:0 Summary:A generator library for concise, unambiguous and URL-safe UUIDs License:BSD-3-Clause Group: Development/Languages/Python Url:https://github.com/stochastic-technologies/shortuuid/ Source: https://files.pythonhosted.org/packages/source/s/shortuuid/shortuuid-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pep8} # /SECTION BuildRequires: fdupes BuildArch: noarch %python_subpackages %description A library that generates short, pretty, unambiguous unique IDs by using an extensive, case-sensitive alphabet and omitting similar-looking letters and numbers. %prep %setup -q -n shortuuid-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc README.rst %license COPYING %{python_sitelib}/* %changelog