Hello community, here is the log from the commit of package python-certstream for openSUSE:Factory checked in at 2019-04-01 12:34:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certstream (Old) and /work/SRC/openSUSE:Factory/.python-certstream.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certstream" Mon Apr 1 12:34:59 2019 rev:4 rq:685806 version:1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certstream/python-certstream.changes 2018-12-13 19:41:12.377257608 +0100 +++ /work/SRC/openSUSE:Factory/.python-certstream.new.25356/python-certstream.changes 2019-04-01 12:35:00.509823349 +0200 @@ -1,0 +2,12 @@ +Sat Mar 16 17:00:23 UTC 2019 - Jan Engelhardt <jeng...@inai.de> + +- Avoid name repetition in summary (rpmlint). + +------------------------------------------------------------------- +Wed Mar 6 14:40:48 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.10: + * no upstream changelog +- Drop merged add-license.patch + +------------------------------------------------------------------- Old: ---- add-license.patch certstream-1.9.tar.gz New: ---- certstream-1.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certstream.spec ++++++ --- /var/tmp/diff_new_pack.pqEVlH/_old 2019-04-01 12:35:02.173823776 +0200 +++ /var/tmp/diff_new_pack.pqEVlH/_new 2019-04-01 12:35:02.177823776 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certstream # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,29 +17,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%{!?license: %global license %doc} -%bcond_without tests Name: python-certstream -Version: 1.9 +Version: 1.10 Release: 0 -Summary: CertStream is a library for receiving certificate transparency list updates +Summary: Python library for receiving certificate transparency list updates License: MIT Group: Development/Libraries/Python -Url: https://github.com/CaliDog/certstream-python/ -Source0: https://pypi.io/packages/source/c/certstream/certstream-%{version}.tar.gz -# PATCH-FIX-OPENSUSE add-license.patch -Patch0: add-license.patch +URL: https://github.com/CaliDog/certstream-python/ +Source0: https://files.pythonhosted.org/packages/source/c/certstream/certstream-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 18.0.1} -BuildRequires: fdupes -BuildRequires: python-rpm-macros #SECTION tests -%if %{with tests} BuildRequires: %{python_module termcolor} -BuildRequires: %{python_module websocket-client} -%endif +BuildRequires: %{python_module websocket-client >= 0.48.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros # /SECTION Requires: python3-termcolor -Requires: python3-websocket-client +Requires: python3-websocket-client >= 0.48.0 BuildArch: noarch %python_subpackages @@ -51,19 +45,17 @@ %prep %setup -q -n certstream-%{version} -%patch0 -p1 +# do not hardcode dependencies +sed -i -e 's:==:>=:g' requirements.txt %build -%{python_build} +%python_build %install -%{python_install} -%{python_expand %fdupes -s %{buildroot}%{$python_sitelib}} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%if %{with tests} -%check -%python_exec setup.py test -%endif +# there are no tests %files %{python_files} %doc README.md ++++++ certstream-1.9.tar.gz -> certstream-1.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/LICENSE new/certstream-1.10/LICENSE --- old/certstream-1.9/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/certstream-1.10/LICENSE 2017-10-20 23:47:37.000000000 +0200 @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Cali Dog Security + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/MANIFEST.in new/certstream-1.10/MANIFEST.in --- old/certstream-1.9/MANIFEST.in 2017-10-20 23:27:14.000000000 +0200 +++ new/certstream-1.10/MANIFEST.in 2018-09-20 23:49:39.000000000 +0200 @@ -1 +1,2 @@ -include requirements.txt \ No newline at end of file +include requirements.txt +include LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/PKG-INFO new/certstream-1.10/PKG-INFO --- old/certstream-1.9/PKG-INFO 2018-02-27 23:52:21.000000000 +0100 +++ new/certstream-1.10/PKG-INFO 2018-09-20 23:50:12.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: certstream -Version: 1.9 +Version: 1.10 Summary: CertStream is a library for receiving certificate transparency list updates in real time. Home-page: https://github.com/CaliDog/certstream-python/ Author: Ryan Sears Author-email: r...@calidog.io License: MIT -Description-Content-Type: UNKNOWN Description: Certstream is a library to connect to the certstream network (certstream.calidog.io). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/certstream/cli.py new/certstream-1.10/certstream/cli.py --- old/certstream-1.9/certstream/cli.py 2017-11-05 20:18:28.000000000 +0100 +++ new/certstream-1.10/certstream/cli.py 2018-03-02 12:21:38.000000000 +0100 @@ -15,6 +15,7 @@ parser.add_argument('--full', action='store_true', help='Output all SAN addresses as well') parser.add_argument('--disable-colors', action='store_true', help='Disable colors when writing a human readable ') parser.add_argument('--verbose', action='store_true', default=False, dest='verbose', help='Display debug logging.') +parser.add_argument('--url', default="wss://certstream.calidog.io", dest='url', help='Connect to a certstream server.') def main(): args = parser.parse_args() @@ -60,7 +61,7 @@ sys.stdout.flush() - certstream.listen_for_events(_handle_messages, skip_heartbeats=True) + certstream.listen_for_events(_handle_messages, args.url, skip_heartbeats=True) if __name__ == "__main__": main() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/certstream/core.py new/certstream-1.10/certstream/core.py --- old/certstream-1.9/certstream/core.py 2018-02-27 23:52:04.000000000 +0100 +++ new/certstream-1.10/certstream/core.py 2018-03-02 12:20:56.000000000 +0100 @@ -13,16 +13,15 @@ __delattr__ = dict.__delitem__ class CertStreamClient(WebSocketApp): - CERTSTREAM_URL = 'wss://certstream.calidog.io' _context = Context() - def __init__(self, message_callback, skip_heartbeats=True, on_open=None, on_error=None): + def __init__(self, message_callback, url, skip_heartbeats=True, on_open=None, on_error=None): self.message_callback = message_callback self.skip_heartbeats = skip_heartbeats self.on_open_handler = on_open self.on_error_handler = on_error super(CertStreamClient, self).__init__( - url=self.CERTSTREAM_URL, + url=url, on_open=self._on_open, on_message=self._on_message, on_error=self._on_error, @@ -48,13 +47,13 @@ self.on_error_handler(instance, ex) logging.error("Error connecting to CertStream - {} - Sleeping for a few seconds and trying again...".format(ex)) -def listen_for_events(message_callback, skip_heartbeats=True, setup_logger=True, on_open=None, on_error=None, **kwargs): +def listen_for_events(message_callback, url, skip_heartbeats=True, setup_logger=True, on_open=None, on_error=None, **kwargs): if setup_logger: logging.basicConfig(format='[%(levelname)s:%(name)s] %(asctime)s - %(message)s', level=logging.INFO) try: while True: - c = CertStreamClient(message_callback, skip_heartbeats=skip_heartbeats, on_open=on_open, on_error=on_error) + c = CertStreamClient(message_callback, url, skip_heartbeats=skip_heartbeats, on_open=on_open, on_error=on_error) c.run_forever(**kwargs) time.sleep(5) except KeyboardInterrupt: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/certstream.egg-info/PKG-INFO new/certstream-1.10/certstream.egg-info/PKG-INFO --- old/certstream-1.9/certstream.egg-info/PKG-INFO 2018-02-27 23:52:21.000000000 +0100 +++ new/certstream-1.10/certstream.egg-info/PKG-INFO 2018-09-20 23:50:12.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 1.1 Name: certstream -Version: 1.9 +Version: 1.10 Summary: CertStream is a library for receiving certificate transparency list updates in real time. Home-page: https://github.com/CaliDog/certstream-python/ Author: Ryan Sears Author-email: r...@calidog.io License: MIT -Description-Content-Type: UNKNOWN Description: Certstream is a library to connect to the certstream network (certstream.calidog.io). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/certstream.egg-info/SOURCES.txt new/certstream-1.10/certstream.egg-info/SOURCES.txt --- old/certstream-1.9/certstream.egg-info/SOURCES.txt 2018-02-27 23:52:21.000000000 +0100 +++ new/certstream-1.10/certstream.egg-info/SOURCES.txt 2018-09-20 23:50:12.000000000 +0200 @@ -1,3 +1,4 @@ +LICENSE MANIFEST.in README.md requirements.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/certstream.egg-info/requires.txt new/certstream-1.10/certstream.egg-info/requires.txt --- old/certstream-1.9/certstream.egg-info/requires.txt 2018-02-27 23:52:21.000000000 +0100 +++ new/certstream-1.10/certstream.egg-info/requires.txt 2018-09-20 23:50:12.000000000 +0200 @@ -1,2 +1,2 @@ -websocket-client +websocket-client==0.48.0 termcolor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/requirements.txt new/certstream-1.10/requirements.txt --- old/certstream-1.9/requirements.txt 2017-10-22 00:38:28.000000000 +0200 +++ new/certstream-1.10/requirements.txt 2018-09-20 23:44:15.000000000 +0200 @@ -1,2 +1,2 @@ -websocket-client +websocket-client==0.48.0 termcolor \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certstream-1.9/setup.py new/certstream-1.10/setup.py --- old/certstream-1.9/setup.py 2018-02-27 23:52:04.000000000 +0100 +++ new/certstream-1.10/setup.py 2018-09-20 23:46:11.000000000 +0200 @@ -14,7 +14,7 @@ setup( name='certstream', - version="1.9", + version="1.10", url='https://github.com/CaliDog/certstream-python/', author='Ryan Sears', install_requires=dependencies,