Hello community, here is the log from the commit of package python-llvmlite for openSUSE:Factory checked in at 2018-07-14 20:24:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-llvmlite (Old) and /work/SRC/openSUSE:Factory/.python-llvmlite.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-llvmlite" Sat Jul 14 20:24:21 2018 rev:7 rq:622446 version:0.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-llvmlite/python-llvmlite.changes 2018-06-25 11:42:50.948489313 +0200 +++ /work/SRC/openSUSE:Factory/.python-llvmlite.new/python-llvmlite.changes 2018-07-14 20:24:25.656063826 +0200 @@ -1,0 +2,7 @@ +Fri Jul 13 09:29:54 UTC 2018 - [email protected] + +- Version update to 0.24.0: + * Various small fixes + * ppc64le issues + +------------------------------------------------------------------- Old: ---- llvmlite-0.23.2.tar.gz New: ---- llvmlite-0.24.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-llvmlite.spec ++++++ --- /var/tmp/diff_new_pack.T9VGhW/_old 2018-07-14 20:24:26.764066674 +0200 +++ /var/tmp/diff_new_pack.T9VGhW/_new 2018-07-14 20:24:26.796066756 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-llvmlite -Version: 0.23.2 +Version: 0.24.0 Release: 0 Summary: Lightweight wrapper around basic LLVM functionality License: BSD-2-Clause ++++++ llvmlite-0.23.2.tar.gz -> llvmlite-0.24.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/PKG-INFO new/llvmlite-0.24.0/PKG-INFO --- old/llvmlite-0.23.2/PKG-INFO 2018-06-01 22:10:20.000000000 +0200 +++ new/llvmlite-0.24.0/PKG-INFO 2018-07-10 16:51:01.000000000 +0200 @@ -1,13 +1,124 @@ Metadata-Version: 1.1 Name: llvmlite -Version: 0.23.2 +Version: 0.24.0 Summary: lightweight wrapper around basic LLVM functionality Home-page: http://llvmlite.pydata.org Author: Continuum Analytics, Inc. Author-email: [email protected] License: BSD Download-URL: https://github.com/numba/llvmlite -Description: UNKNOWN +Description: ======== + llvmlite + ======== + .. image:: https://travis-ci.org/numba/llvmlite.svg?branch=master + :target: https://travis-ci.org/numba/llvmlite + :alt: Travis CI + .. image:: https://codeclimate.com/github/numba/llvmlite/badges/gpa.svg + :target: https://codeclimate.com/github/numba/llvmlite + :alt: Code Climate + .. image:: https://coveralls.io/repos/github/numba/llvmlite/badge.svg + :target: https://coveralls.io/github/numba/llvmlite + :alt: Coveralls.io + .. image:: https://readthedocs.org/projects/llvmlite/badge/ + :target: https://llvmlite.readthedocs.io + :alt: Readthedocs.io + + A lightweight LLVM python binding for writing JIT compilers + + The old llvmpy_ binding exposes a lot of LLVM APIs but the mapping of + C++-style memory management to Python is error prone. Numba_ and many JIT + compilers do not need a full LLVM API. Only the IR builder, optimizer, + and JIT compiler APIs are necessary. + + .. _llvmpy: https://github.com/llvmpy/llvmpy + + llvmlite is a project originally tailored for Numba_'s needs, using the + following approach: + + * A small C wrapper around the parts of the LLVM C++ API we need that are + not already exposed by the LLVM C API. + * A ctypes Python wrapper around the C API. + * A pure Python implementation of the subset of the LLVM IR builder that we + need for Numba. + + + Key Benefits + ============ + + * The IR builder is pure Python code and decoupled from LLVM's + frequently-changing C++ APIs. + * Materializing a LLVM module calls LLVM's IR parser which provides + better error messages than step-by-step IR building through the C++ + API (no more segfaults or process aborts). + * Most of llvmlite uses the LLVM C API which is small but very stable + (low maintenance when changing LLVM version). + * The binding is not a Python C-extension, but a plain DLL accessed using + ctypes (no need to wrestle with Python's compiler requirements and C++ 11 + compatibility). + * The Python binding layer has sane memory management. + * llvmlite is quite faster than llvmpy's thanks to a much simpler architeture + (the Numba_ test suite is twice faster than it was). + + llvmpy Compatibility Layer + -------------------------- + + The ``llvmlite.llvmpy`` namespace provides a minimal llvmpy compatibility + layer. + + + Compatibility + ============= + + llvmlite works with Python 2.7 and Python 3.4 or greater. + + As of version 0.23.0, llvmlite requires LLVM 6.0. It does not support earlier + or later versions of LLVM. + + Historical compatibility table: + + ================= ======================== + llvmlite versions compatible LLVM versions + ================= ======================== + 0.23.0 - ... 6.0.x + 0.21.0 - 0.22.0 5.0.x + 0.17.0 - 0.20.0 4.0.x + 0.16.0 - 0.17.0 3.9.x + 0.13.0 - 0.15.0 3.8.x + 0.9.0 - 0.12.1 3.7.x + 0.6.0 - 0.8.0 3.6.x + 0.1.0 - 0.5.1 3.5.x + ================= ======================== + + Documentation + ============= + + You'll find the documentation at http://llvmlite.pydata.org + + + Pre-built binaries + ================== + + We recommend you use the binaries provided by the Numba_ team for + the Conda_ package manager. You can find them in Numba's `anaconda.org + channel <https://anaconda.org/numba>`_. For example:: + + $ conda install --channel=numba llvmlite + + (or, simply, the official llvmlite package provided in the Anaconda_ + distribution) + + .. _Numba: http://numba.pydata.org/ + .. _Conda: http://conda.pydata.org/ + .. _Anaconda: http://docs.continuum.io/anaconda/index.html + + + Other build methods + =================== + + If you don't want to use our pre-built packages, you can compile + and install llvmlite yourself. The documentation will teach you how: + http://llvmlite.pydata.org/en/latest/install/index.html + Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/ffi/build.py new/llvmlite-0.24.0/ffi/build.py --- old/llvmlite-0.23.2/ffi/build.py 2018-06-01 22:05:01.000000000 +0200 +++ new/llvmlite-0.24.0/ffi/build.py 2018-07-10 16:46:02.000000000 +0200 @@ -141,7 +141,7 @@ main_win32() elif sys.platform.startswith('linux'): main_posix('linux', '.so') - elif sys.platform.startswith('freebsd'): + elif sys.platform.startswith(('freebsd','openbsd')): main_posix('freebsd', '.so') elif sys.platform == 'darwin': main_posix('osx', '.dylib') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/llvmlite/_version.py new/llvmlite-0.24.0/llvmlite/_version.py --- old/llvmlite-0.23.2/llvmlite/_version.py 2018-06-01 22:10:20.000000000 +0200 +++ new/llvmlite-0.24.0/llvmlite/_version.py 2018-07-10 16:51:01.000000000 +0200 @@ -4,8 +4,8 @@ # unpacked source archive. Distribution tarballs contain a pre-generated copy # of this file. -version_version = '0.23.2' -version_full = '02bd87a8449bb2984e9791bdd1d653338442b6b8' +version_version = '0.24.0' +version_full = '368c3ce9805a8efcb0ac034000e8f1804aa753ac' def get_versions(default={}, verbose=False): return {'version': version_version, 'full': version_full} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/llvmlite/binding/ffi.py new/llvmlite-0.24.0/llvmlite/binding/ffi.py --- old/llvmlite-0.23.2/llvmlite/binding/ffi.py 2018-06-01 22:05:01.000000000 +0200 +++ new/llvmlite-0.24.0/llvmlite/binding/ffi.py 2018-07-10 16:46:02.000000000 +0200 @@ -239,7 +239,8 @@ self.close() def __del__(self): - self.close() + if self.close is not None: + self.close() def __bool__(self): return bool(self._ptr) @@ -249,4 +250,3 @@ # XXX useful? def __hash__(self): return hash(ctypes.cast(self._ptr, ctypes.c_void_p).value) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/llvmlite/tests/test_ir.py new/llvmlite-0.24.0/llvmlite/tests/test_ir.py --- old/llvmlite-0.23.2/llvmlite/tests/test_ir.py 2018-06-01 22:05:01.000000000 +0200 +++ new/llvmlite-0.24.0/llvmlite/tests/test_ir.py 2018-07-10 16:46:02.000000000 +0200 @@ -46,7 +46,7 @@ return c pattern = ''.join(map(escape, pattern)) - regex = re.sub(r'\s+', r'\s*', pattern) + regex = re.sub(r'\s+', r'\\s*', pattern) self.assertRegexpMatches(text, regex) def assert_ir_line(self, line, mod): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/llvmlite-0.23.2/setup.py new/llvmlite-0.24.0/setup.py --- old/llvmlite-0.23.2/setup.py 2018-06-01 22:05:01.000000000 +0200 +++ new/llvmlite-0.24.0/setup.py 2018-07-10 16:46:02.000000000 +0200 @@ -162,6 +162,11 @@ if sys.version_info < (3, 4): install_requires.append('enum34') + +with open('README.rst') as f: + long_description = f.read() + + setup(name='llvmlite', description="lightweight wrapper around basic LLVM functionality", version=versioneer.get_version(), @@ -185,4 +190,5 @@ install_requires=install_requires, license="BSD", cmdclass=cmdclass, + long_description=long_description, )
