Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-lhafile for openSUSE:Factory checked in at 2024-01-07 21:39:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lhafile (Old) and /work/SRC/openSUSE:Factory/.python-lhafile.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lhafile" Sun Jan 7 21:39:42 2024 rev:2 rq:1137291 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lhafile/python-lhafile.changes 2018-08-24 17:01:43.493902114 +0200 +++ /work/SRC/openSUSE:Factory/.python-lhafile.new.28375/python-lhafile.changes 2024-01-07 21:39:58.551306620 +0100 @@ -1,0 +2,8 @@ +Sat Jan 6 20:07:17 UTC 2024 - Dirk Müller <[email protected]> + +- update to 0.3.0: + * Fix incorrect size in PyMemberDef + * minute was calculated wrong + * modernisation to build system + +------------------------------------------------------------------- Old: ---- lhafile-0.2.2.tar.gz New: ---- lhafile-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lhafile.spec ++++++ --- /var/tmp/diff_new_pack.Rln5fM/_old 2024-01-07 21:39:59.175329320 +0100 +++ /var/tmp/diff_new_pack.Rln5fM/_new 2024-01-07 21:39:59.175329320 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-lhafile # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,23 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lhafile -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: LHA archive support for Python License: BSD-3-Clause Group: Development/Languages/Python -URL: https://fengestad.no/python-lhafile/ +URL: https://github.com/FrodeSolheim/python-lhafile/ Source: https://files.pythonhosted.org/packages/source/l/lhafile/lhafile-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -40,14 +43,16 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %license COPYING.txt -%doc README -%{python_sitearch}/* +%doc README.md +%{python_sitearch}/lhafile +%{python_sitearch}/lzhlib.* +%{python_sitearch}/lhafile-%{version}.dist-info ++++++ lhafile-0.2.2.tar.gz -> lhafile-0.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/PKG-INFO new/lhafile-0.3.0/PKG-INFO --- old/lhafile-0.2.2/PKG-INFO 2017-12-06 22:24:30.000000000 +0100 +++ new/lhafile-0.3.0/PKG-INFO 2021-02-23 22:11:29.921046500 +0100 @@ -1,15 +1,16 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: lhafile -Version: 0.2.2 -Summary: LHA(.lzh) file extract interface -Home-page: https://fengestad.no/python-lhafile/ -Author: Frode Solheim -Author-email: [email protected] +Version: 0.3.0 +Summary: LHA archive support for Python +Home-page: https://github.com/FrodeSolheim/python-lhafile/ +Author: Hidekazu Ohnishi +Author-email: [email protected] +Maintainer: Frode Solheim +Maintainer-email: [email protected] License: BSD -Download-URL: https://fengestad.no/python-lhafile/ -Description: Extract LHA(.lzh) file extension. - The interface is similar to the zipfile module in the regular - Python distribution. +Download-URL: https://pypi.org/project/lhafile/ +Description: A python package that handles .lha archives, with an interface similar to the + zipfile module found in the standard library. Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/README new/lhafile-0.3.0/README --- old/lhafile-0.2.2/README 2017-12-06 22:17:05.000000000 +0100 +++ new/lhafile-0.3.0/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -This project is an updated version of the project found at -http://trac.neotitans.net/wiki/lhafile - -Changes include: -* Support for Python 3.x. -* Support file notes (as found in Amiga .lha files). -* Support for archives with ISO-8859-1 filenames. -* Fixed a bug causing crashes in lzhlib. - -I've also updated setup.py and replaced the author information there. -This is not done to remove any credit, but to avoid people bugging the -original author if there is a problem with my modifications. - -README.txt is the original upstream README. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/README.md new/lhafile-0.3.0/README.md --- old/lhafile-0.2.2/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/README.md 2021-02-23 22:11:21.000000000 +0100 @@ -0,0 +1,17 @@ +# LHA archive support for Python + +The `lhafile` package is a python extension that handles .lha archives, with +an interfile similar to the zipfile module found in the standard library. + +## Notice about the origin of this project + +This project is an updated version of the project found at +http://trac.neotitans.net/wiki/lhafile - the original project is no longer +maintained. + +Changes include: + +- Support for Python 3.x. +- Support file notes (as found in Amiga .lha files). +- Support for archives with ISO-8859-1 filenames. +- Fixed a bug causing crashes in lzhlib. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lhafile/lhafile.py new/lhafile-0.3.0/lhafile/lhafile.py --- old/lhafile-0.2.2/lhafile/lhafile.py 2017-12-06 22:11:52.000000000 +0100 +++ new/lhafile-0.3.0/lhafile/lhafile.py 2021-02-23 22:11:21.000000000 +0100 @@ -276,7 +276,7 @@ month = ((ord(modify_time[3]) << 8 | ord(modify_time[2])) >> 5) & 0x0F day = ord(modify_time[2]) & 0x1F hour = ord(modify_time[1]) >> 3 - minute = ((ord(modify_time[1]) << 8 | ord(modify_time[0])) >> 5) & 0x2F + minute = ((ord(modify_time[1]) << 8 | ord(modify_time[0])) >> 5) & 0x3F second = (ord(modify_time[0]) & 0x1F) * 2 #print(os_level, year, month, day, hour, minute, second) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lhafile.egg-info/PKG-INFO new/lhafile-0.3.0/lhafile.egg-info/PKG-INFO --- old/lhafile-0.2.2/lhafile.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/lhafile.egg-info/PKG-INFO 2021-02-23 22:11:29.000000000 +0100 @@ -0,0 +1,20 @@ +Metadata-Version: 1.2 +Name: lhafile +Version: 0.3.0 +Summary: LHA archive support for Python +Home-page: https://github.com/FrodeSolheim/python-lhafile/ +Author: Hidekazu Ohnishi +Author-email: [email protected] +Maintainer: Frode Solheim +Maintainer-email: [email protected] +License: BSD +Download-URL: https://pypi.org/project/lhafile/ +Description: A python package that handles .lha archives, with an interface similar to the + zipfile module found in the standard library. +Platform: UNKNOWN +Classifier: Development Status :: 4 - Beta +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 3 +Classifier: Topic :: System :: Archiving diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lhafile.egg-info/SOURCES.txt new/lhafile-0.3.0/lhafile.egg-info/SOURCES.txt --- old/lhafile-0.2.2/lhafile.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/lhafile.egg-info/SOURCES.txt 2021-02-23 22:11:29.000000000 +0100 @@ -0,0 +1,11 @@ +COPYING.txt +MANIFEST.in +README.md +lzhlib.c +setup.py +lhafile/__init__.py +lhafile/lhafile.py +lhafile.egg-info/PKG-INFO +lhafile.egg-info/SOURCES.txt +lhafile.egg-info/dependency_links.txt +lhafile.egg-info/top_level.txt \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lhafile.egg-info/dependency_links.txt new/lhafile-0.3.0/lhafile.egg-info/dependency_links.txt --- old/lhafile-0.2.2/lhafile.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/lhafile.egg-info/dependency_links.txt 2021-02-23 22:11:29.000000000 +0100 @@ -0,0 +1 @@ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lhafile.egg-info/top_level.txt new/lhafile-0.3.0/lhafile.egg-info/top_level.txt --- old/lhafile-0.2.2/lhafile.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/lhafile.egg-info/top_level.txt 2021-02-23 22:11:29.000000000 +0100 @@ -0,0 +1,2 @@ +lhafile +lzhlib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/lzhlib.c new/lhafile-0.3.0/lzhlib.c --- old/lhafile-0.2.2/lzhlib.c 2017-12-06 22:11:52.000000000 +0100 +++ new/lhafile-0.3.0/lzhlib.c 2021-02-23 22:11:21.000000000 +0100 @@ -1200,7 +1200,7 @@ {"input_pos", T_LONGLONG, offsetof(LZHDecodeSessionObject, _in) + offsetof(bit_stream_reader, pos), READONLY}, {"output_file_size", T_LONGLONG, offsetof(LZHDecodeSessionObject, info_file_size), READONLY}, {"output_pos", T_LONGLONG, offsetof(LZHDecodeSessionObject, _out) + offsetof(bit_stream_writer, pos), READONLY}, - {"crc16", T_LONG, offsetof(LZHDecodeSessionObject, _out) + offsetof(bit_stream_writer, crc16), READONLY}, + {"crc16", T_INT, offsetof(LZHDecodeSessionObject, _out) + offsetof(bit_stream_writer, crc16), READONLY}, {NULL} }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/setup.cfg new/lhafile-0.3.0/setup.cfg --- old/lhafile-0.2.2/setup.cfg 1970-01-01 01:00:00.000000000 +0100 +++ new/lhafile-0.3.0/setup.cfg 2021-02-23 22:11:29.921046500 +0100 @@ -0,0 +1,4 @@ +[egg_info] +tag_build = +tag_date = 0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lhafile-0.2.2/setup.py new/lhafile-0.3.0/setup.py --- old/lhafile-0.2.2/setup.py 2017-12-06 22:24:26.000000000 +0100 +++ new/lhafile-0.3.0/setup.py 2021-02-23 22:11:21.000000000 +0100 @@ -1,45 +1,52 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2010 Hidekazu Ohnishi -# -# This software is released under the terms of the BSD license. -# For more information see the COPYING.txt file in this directory. - -from distutils.core import setup, Extension -import sys -import platform - -extra_compile_args=[] -extra_link_args=[] -if sys.platform == "darwin" and platform.machine() == "i386": - extra_compile_args.append("-m32") - extra_link_args.append("-m32") - -lzhlib = Extension('lzhlib', - extra_compile_args=extra_compile_args, - extra_link_args=extra_link_args, - define_macros=[('MAJOR_VERSION', '0'), - ('MINOR_VERSION', '2')], - sources=['lzhlib.c']) - -setup(name="lhafile", - packages=['lhafile'], - version='0.2.2', - description="LHA(.lzh) file extract interface", - long_description="""Extract LHA(.lzh) file extension. -The interface is similar to the zipfile module in the regular -Python distribution.""", - author='Frode Solheim', - author_email='[email protected]', - url='https://fengestad.no/python-lhafile/', - download_url='https://fengestad.no/python-lhafile/', - license='BSD', - keywords = [], - classifiers = [ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 3', - 'Topic :: System :: Archiving'], - ext_modules=[lzhlib]) +# -*- coding: utf-8 -*- +# +# Copyright (C) 2010 Hidekazu Ohnishi +# Copyright (C) 2014-2021 Frode Solheim +# +# This software is released under the terms of the BSD license. +# For more information see the COPYING.txt file in this directory. + +from setuptools import setup, Extension +import sys +import platform + +extra_compile_args = [] +extra_link_args = [] +if sys.platform == "darwin" and platform.machine() == "i386": + extra_compile_args.append("-m32") + extra_link_args.append("-m32") + +lzhlib = Extension( + "lzhlib", + extra_compile_args=extra_compile_args, + extra_link_args=extra_link_args, + define_macros=[("MAJOR_VERSION", "0"), ("MINOR_VERSION", "2")], + sources=["lzhlib.c"], +) + +setup( + name="lhafile", + packages=["lhafile"], + version="0.3.0", + description="LHA archive support for Python", + long_description="""\ +A python package that handles .lha archives, with an interface similar to the +zipfile module found in the standard library.""", + author="Hidekazu Ohnishi", + author_email="[email protected]", + maintainer="Frode Solheim", + maintainer_email="[email protected]", + url="https://github.com/FrodeSolheim/python-lhafile/", + download_url="https://pypi.org/project/lhafile/", + license="BSD", + keywords=[], + classifiers=[ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 3", + "Topic :: System :: Archiving", + ], + ext_modules=[lzhlib], +)
