Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-siphashc for openSUSE:Factory checked in at 2023-07-03 17:43:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-siphashc (Old) and /work/SRC/openSUSE:Factory/.python-siphashc.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-siphashc" Mon Jul 3 17:43:54 2023 rev:7 rq:1096485 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-siphashc/python-siphashc.changes 2020-06-03 20:36:31.453925204 +0200 +++ /work/SRC/openSUSE:Factory/.python-siphashc.new.13546/python-siphashc.changes 2023-07-03 17:44:03.209166516 +0200 @@ -1,0 +2,6 @@ +Sat Jul 1 14:12:26 UTC 2023 - Markéta Machová <mmach...@suse.com> + +- Update to 2.1 (also from 2020) + * Dropped support for Python 2. + +------------------------------------------------------------------- Old: ---- siphashc-1.3.tar.gz New: ---- siphashc-2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-siphashc.spec ++++++ --- /var/tmp/diff_new_pack.d9Ah4m/_old 2023-07-03 17:44:03.961170943 +0200 +++ /var/tmp/diff_new_pack.d9Ah4m/_new 2023-07-03 17:44:03.969170990 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-siphashc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2017 Matthias Fehring <buschman...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-siphashc -Version: 1.3 +Version: 2.1 Release: 0 Summary: Python C module to calculate SipHashes License: ISC ++++++ siphashc-1.3.tar.gz -> siphashc-2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/CHANGES.rst new/siphashc-2.1/CHANGES.rst --- old/siphashc-1.3/CHANGES.rst 2019-12-13 10:10:47.000000000 +0100 +++ new/siphashc-2.1/CHANGES.rst 2020-09-02 09:57:52.000000000 +0200 @@ -1,6 +1,16 @@ Changes ======= +2.1 +--- + +* Fixed publishing wheels in pypi.org. + +2.0 +--- + +* Dropped support for Python 2. + 1.3 --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/PKG-INFO new/siphashc-2.1/PKG-INFO --- old/siphashc-1.3/PKG-INFO 2019-12-13 10:17:35.000000000 +0100 +++ new/siphashc-2.1/PKG-INFO 2020-09-02 09:58:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: siphashc -Version: 1.3 +Version: 2.1 Summary: Python module (in c) for siphash-2-4 Home-page: https://github.com/WeblateOrg/siphashc Author: Michal ÄihaÅ @@ -9,11 +9,15 @@ Project-URL: Issue Tracker, https://github.com/WeblateOrg/siphashc/issues Project-URL: Source Code, https://github.com/WeblateOrg/siphashc Project-URL: Twitter, https://twitter.com/WeblateOrg -Description: siphashc - ======== +Description: .. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png + :alt: Weblate + :target: https://weblate.org/ + :height: 80px - .. image:: https://travis-ci.com/WeblateOrg/siphashc.svg?branch=master - :target: https://travis-ci.com/WeblateOrg/siphashc + **Weblate is a copylefted libre software web-based continuous localization system, + used by over 1150 libre projects and companies in more than 115 countries.** + + siphashc is a Python module (in c) for siphash-2-4 .. image:: https://img.shields.io/pypi/v/siphashc.svg :target: https://pypi.python.org/pypi/siphashc @@ -45,18 +49,6 @@ Usage ~~~~~ - Python 2 - ^^^^^^^^ - - .. code:: python - - >>> from siphashc import siphash - >>> siphash('sixteencharstrng', 'i need a hash of this') - 10796923698683394048L - - Python 3 - ^^^^^^^^ - .. code:: python >>> from siphashc import siphash @@ -76,13 +68,12 @@ Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: ISC License (ISCL) +Requires-Python: >=3.5 Description-Content-Type: text/x-rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/README.rst new/siphashc-2.1/README.rst --- old/siphashc-1.3/README.rst 2019-08-05 13:47:04.000000000 +0200 +++ new/siphashc-2.1/README.rst 2020-09-02 09:57:52.000000000 +0200 @@ -1,8 +1,12 @@ -siphashc -======== +.. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png + :alt: Weblate + :target: https://weblate.org/ + :height: 80px -.. image:: https://travis-ci.com/WeblateOrg/siphashc.svg?branch=master - :target: https://travis-ci.com/WeblateOrg/siphashc +**Weblate is a copylefted libre software web-based continuous localization system, +used by over 1150 libre projects and companies in more than 115 countries.** + +siphashc is a Python module (in c) for siphash-2-4 .. image:: https://img.shields.io/pypi/v/siphashc.svg :target: https://pypi.python.org/pypi/siphashc @@ -34,18 +38,6 @@ Usage ~~~~~ -Python 2 -^^^^^^^^ - -.. code:: python - - >>> from siphashc import siphash - >>> siphash('sixteencharstrng', 'i need a hash of this') - 10796923698683394048L - -Python 3 -^^^^^^^^ - .. code:: python >>> from siphashc import siphash diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/setup.cfg new/siphashc-2.1/setup.cfg --- old/siphashc-1.3/setup.cfg 2019-12-13 10:17:35.000000000 +0100 +++ new/siphashc-2.1/setup.cfg 2020-09-02 09:58:02.000000000 +0200 @@ -1,3 +1,8 @@ +[flake8] +per-file-ignores = + benchmark.py:T001 +max-line-length = 88 + [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/setup.py new/siphashc-2.1/setup.py --- old/siphashc-1.3/setup.py 2019-12-13 10:17:09.000000000 +0100 +++ new/siphashc-2.1/setup.py 2020-09-02 09:57:52.000000000 +0200 @@ -1,5 +1,5 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- +"""Setup for the siphashc module.""" import io import os.path @@ -13,7 +13,7 @@ setup( name="siphashc", - version="1.3", + version="2.1", author="Michal ÄihaÅ", author_email="mic...@cihar.com", description="Python module (in c) for siphash-2-4", @@ -27,6 +27,7 @@ "Twitter": "https://twitter.com/WeblateOrg", }, license="ISC", + python_requires=">=3.5", ext_modules=[ Extension( name="siphashc", sources=["siphashc.c", "siphash/siphash.c"], language="c" @@ -37,9 +38,7 @@ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/siphash/siphash.h new/siphashc-2.1/siphash/siphash.h --- old/siphashc-1.3/siphash/siphash.h 2017-08-23 16:39:21.000000000 +0200 +++ new/siphashc-2.1/siphash/siphash.h 2020-09-02 09:57:52.000000000 +0200 @@ -12,9 +12,9 @@ #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */ extern "C" { #endif - + uint64_t siphash(const unsigned char key[16], const unsigned char *m, size_t len); - + #ifdef __cplusplus /* If this is a C++ compiler, end C linkage */ } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/siphashc.c new/siphashc-2.1/siphashc.c --- old/siphashc-1.3/siphashc.c 2019-12-13 09:56:55.000000000 +0100 +++ new/siphashc-2.1/siphashc.c 2020-09-02 09:57:52.000000000 +0200 @@ -1,7 +1,7 @@ /* * Copyright (c) 2013 Eli Janssen * Copyright (c) 2014 Carlo Pires - * Copyright (c) 2017 - 2019 Michal ÄihaÅ + * Copyright (c) 2017 - 2020 Michal ÄihaÅ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -69,42 +69,20 @@ {NULL, NULL, 0, NULL} /* sentinel */ }; -#if PY_MAJOR_VERSION >= 3 - static struct PyModuleDef moduledef = { - PyModuleDef_HEAD_INIT, - "siphashc", - NULL, - -1, - siphashc_methods, - NULL, - NULL, - NULL, - NULL - }; - - #define INITERROR return NULL - - PyObject * - PyInit_siphashc(void) -#else - #define INITERROR return - - void - initsiphashc(void) -#endif +static struct PyModuleDef moduledef = { + PyModuleDef_HEAD_INIT, + "siphashc", + NULL, + -1, + siphashc_methods, + NULL, + NULL, + NULL, + NULL +}; + +PyObject * +PyInit_siphashc(void) { - PyObject *module; -#if PY_MAJOR_VERSION >= 3 - module = PyModule_Create(&moduledef); -#else - module = Py_InitModule("siphashc", siphashc_methods); -#endif - - if (module == NULL) - INITERROR; - -#if PY_MAJOR_VERSION >= 3 - return module; -#endif + return PyModule_Create(&moduledef); } - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/siphashc.egg-info/PKG-INFO new/siphashc-2.1/siphashc.egg-info/PKG-INFO --- old/siphashc-1.3/siphashc.egg-info/PKG-INFO 2019-12-13 10:17:35.000000000 +0100 +++ new/siphashc-2.1/siphashc.egg-info/PKG-INFO 2020-09-02 09:58:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: siphashc -Version: 1.3 +Version: 2.1 Summary: Python module (in c) for siphash-2-4 Home-page: https://github.com/WeblateOrg/siphashc Author: Michal ÄihaÅ @@ -9,11 +9,15 @@ Project-URL: Issue Tracker, https://github.com/WeblateOrg/siphashc/issues Project-URL: Source Code, https://github.com/WeblateOrg/siphashc Project-URL: Twitter, https://twitter.com/WeblateOrg -Description: siphashc - ======== +Description: .. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png + :alt: Weblate + :target: https://weblate.org/ + :height: 80px - .. image:: https://travis-ci.com/WeblateOrg/siphashc.svg?branch=master - :target: https://travis-ci.com/WeblateOrg/siphashc + **Weblate is a copylefted libre software web-based continuous localization system, + used by over 1150 libre projects and companies in more than 115 countries.** + + siphashc is a Python module (in c) for siphash-2-4 .. image:: https://img.shields.io/pypi/v/siphashc.svg :target: https://pypi.python.org/pypi/siphashc @@ -45,18 +49,6 @@ Usage ~~~~~ - Python 2 - ^^^^^^^^ - - .. code:: python - - >>> from siphashc import siphash - >>> siphash('sixteencharstrng', 'i need a hash of this') - 10796923698683394048L - - Python 3 - ^^^^^^^^ - .. code:: python >>> from siphashc import siphash @@ -76,13 +68,12 @@ Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: License :: OSI Approved :: ISC License (ISCL) +Requires-Python: >=3.5 Description-Content-Type: text/x-rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/siphashc-1.3/siphashc.egg-info/SOURCES.txt new/siphashc-2.1/siphashc.egg-info/SOURCES.txt --- old/siphashc-1.3/siphashc.egg-info/SOURCES.txt 2019-12-13 10:17:35.000000000 +0100 +++ new/siphashc-2.1/siphashc.egg-info/SOURCES.txt 2020-09-02 09:58:02.000000000 +0200 @@ -2,6 +2,7 @@ LICENSE.md MANIFEST.in README.rst +setup.cfg setup.py siphashc.c test_siphashc.py