Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyjnius for openSUSE:Factory checked in at 2022-02-26 17:02:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyjnius (Old) and /work/SRC/openSUSE:Factory/.python-pyjnius.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyjnius" Sat Feb 26 17:02:18 2022 rev:3 rq:957739 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyjnius/python-pyjnius.changes 2021-02-26 21:59:11.587807209 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyjnius.new.1958/python-pyjnius.changes 2022-02-26 17:02:52.243543410 +0100 @@ -1,0 +2,22 @@ +Fri Feb 25 12:48:53 UTC 2022 - [email protected] + +- version update to 1.4.1 + **Implemented enhancements:** + - [\#542](https://github.com/kivy/pyjnius/pull/542) Improve performance of byte array parameters + - [\#515](https://github.com/kivy/pyjnius/pull/515) Allow passing Python Lambdas as Java lambdas + - [\#541](https://github.com/kivy/pyjnius/pull/541) Refactor of env.py + **Fixed bugs:** + - [\#549](https://github.com/kivy/pyjnius/pull/549) Fixes #548 JVM options are not correctly set by jnius_config.set_options() + - [\#546](https://github.com/kivy/pyjnius/pull/546) Add in missing assignable check for int parameters etc. + - [\#558](https://github.com/kivy/pyjnius/pull/558) Improve error message on method not found + - [\#567](https://github.com/kivy/pyjnius/pull/567) Fix static methods + - [\#566](https://github.com/kivy/pyjnius/pull/566) fix bug for constuctors with variable arguments + - [\#569](https://github.com/kivy/pyjnius/pull/569) set_resolve_info: replace j_self w/ resolve_static + - [\#595](https://github.com/kivy/pyjnius/pull/595) Use Python standard library `which` instead of OS `which` + **Documentation** + - [\#556](https://github.com/kivy/pyjnius/pull/556) fix link in readme + - [\#572](https://github.com/kivy/pyjnius/pull/572) update readme for python3 + - [\#584](https://github.com/kivy/pyjnius/pull/584) Updated android.rst for python3 + - [\#565](https://github.com/kivy/pyjnius/pull/565) Update python versions + +------------------------------------------------------------------- Old: ---- pyjnius-1.3.0.tar.gz New: ---- pyjnius-1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyjnius.spec ++++++ --- /var/tmp/diff_new_pack.RwOxRj/_old 2022-02-26 17:02:52.735543488 +0100 +++ /var/tmp/diff_new_pack.RwOxRj/_new 2022-02-26 17:02:52.739543488 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyjnius # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define pythons python38 Name: python-pyjnius -Version: 1.3.0 +Version: 1.4.1 Release: 0 Summary: Access Java classes from Python License: MIT Group: Development/Languages/Python URL: https://github.com/kivy/pyjnius Source: https://github.com/kivy/pyjnius/archive/%{version}.tar.gz#/pyjnius-%{version}.tar.gz +BuildRequires: %{python_module Cython} BuildRequires: %{python_module setuptools} BuildRequires: ant BuildRequires: fdupes @@ -34,7 +34,6 @@ Requires: python-Cython Requires: python-six >= 1.7.0 # SECTION test requirements -BuildRequires: %{python_module Cython} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.7.0} BuildRequires: javapackages-local @@ -46,13 +45,13 @@ %prep %setup -q -n pyjnius-%{version} +sed -i 's:python:python3:' tests/test_jvm_options.py %build export CFLAGS="%{optflags}" %python_build - ant jar test-compile -ls build/pyjnius.jar +mv build/test-classes tests %install %python_install @@ -61,13 +60,12 @@ } %check - -mv jnius /tmp/jnius -%{python_expand export CLASSPATH=${PWD}/build/pyjnius.jar:${PWD}/build/test-classes:%{buildroot}%{$python_sitearch}/jnius/src:%{buildroot}%{$python_sitearch}/jnius/: +mv jnius jnius.hide +%{python_expand export CLASSPATH="${PWD}/tests/test-classes:${PWD}/jnius.hide/src" export PYTHONPATH=${PWD}:%{buildroot}%{$python_sitearch} -$python -m pytest +# https://github.com/kivy/pyjnius/issues/617 +$python -m pytest -k 'not test_jvm_options' } -mv /tmp/jnius . %files %{python_files} %doc README.md CHANGELOG.md ++++++ pyjnius-1.3.0.tar.gz -> pyjnius-1.4.1.tar.gz ++++++ ++++ 2428 lines of diff (skipped)
