commit python-textX for openSUSE:Factory

2023-09-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-textX for openSUSE:Factory 
checked in at 2023-09-11 21:21:58

Comparing /work/SRC/openSUSE:Factory/python-textX (Old)
 and  /work/SRC/openSUSE:Factory/.python-textX.new.1766 (New)


Package is "python-textX"

Mon Sep 11 21:21:58 2023 rev:16 rq:1110197 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes
2022-04-03 21:30:57.075845568 +0200
+++ /work/SRC/openSUSE:Factory/.python-textX.new.1766/python-textX.changes  
2023-09-11 21:26:30.430624330 +0200
@@ -1,0 +2,18 @@
+Mon Sep 11 05:42:48 UTC 2023 - Steve Kowalik 
+
+- Update to 3.1.1:
+  * Source distribution packaging issue ([392]). Thanks yurivict@GitHub.
+  * Fixed RREL lookup in case of multi-meta models (some special cases were not
+handled correctly; [#379]).
+  * Fixed test suite invocation to use `pytest` over `py.test` that stopped
+working in pytest-7.2.0. ([#389]). Thanks mgorny@GitHub.
+  * Changed separator in obj. rule refs from `|` to `:`. Old separator
+will still be allowed until version 4.0. ([#385], [#384])
+  * Removed the dependency on `future` package ([#388]). Thanks mgorny@GitHub.
+  * Removed vendored `six` library. We don't need 2.x support anymore. Thanks 
+davidchall@GitHub for reporting the issue ([#390]).
+- Switch to pyproject macros.
+- Stop using greedy globs in %files.
+- Drop a Python 2 requires.
+
+---

Old:

  python-textX-3.0.0.tar.gz

New:

  python-textX-3.1.1.tar.gz



Other differences:
--
++ python-textX.spec ++
--- /var/tmp/diff_new_pack.4lFuzR/_old  2023-09-11 21:26:31.586665542 +0200
+++ /var/tmp/diff_new_pack.4lFuzR/_new  2023-09-11 21:26:31.590665685 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-textX
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-textX
-Version:3.0.0
+Version:3.1.1
 Release:0
 Summary:Meta-language for DSL implementation inspired by Xtext
 License:MIT
-Group:  Development/Languages/Python
 URL:https://textx.github.io/textX/stable/
 Source: 
https://github.com/igordejanovic/textX/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
@@ -34,11 +33,6 @@
 %endif
 Requires:   python-Arpeggio >= 1.9.0
 Requires:   python-click >= 7.0
-Requires:   python-future
-Requires:   python-setuptools
-%if "%{python_flavor}" == "python2"
-Requires:   python2-xml
-%endif
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 Obsoletes:  %{name}-doc
@@ -47,7 +41,6 @@
 BuildRequires:  %{python_module Arpeggio}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module click >= 7.0}
-BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module html5lib}
 BuildRequires:  %{python_module memory_profiler}
 BuildRequires:  %{python_module pytest}
@@ -74,40 +67,28 @@
 sed -i -e 's:click==:click>=:g' setup.py
 
 %build
-%python_build
-pushd tests/functional/subcommands/example_project
-%python_build
-popd
-pushd tests/functional/registration/projects/types_dsl
-%python_build
-popd
-pushd tests/functional/registration/projects/data_dsl
-%python_build
-popd
-pushd tests/functional/registration/projects/flow_dsl
-%python_build
-popd
-pushd tests/functional/registration/projects/flow_codegen
-%python_build
-popd
+%pyproject_wheel
+for dir in tests/functional/subcommands/example_project \
+tests/functional/registration/projects/types_dsl \
+tests/functional/registration/projects/data_dsl \
+tests/functional/registration/projects/flow_dsl \
+tests/functional/registration/projects/flow_codegen ; do
+pushd $dir
+%pyproject_wheel
+popd
+done
 
 %install
-%python_install
-pushd tests/functional/subcommands/example_project
-%python_install
-popd
-pushd tests/functional/registration/projects/types_dsl
-%python_install
-popd
-pushd tests/functional/registration/projects/data_dsl
-%python_install
-popd
-pushd tests/functional/registration/projects/flow_dsl
-%python_install
-popd
-pushd tests/functional/registration/projects/flow_codegen
-%python_install
-popd
+%pyproject_install
+for dir in tests/functional/subcommands/example_project \

commit python-textX for openSUSE:Factory

2022-04-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-textX for openSUSE:Factory 
checked in at 2022-04-03 21:30:48

Comparing /work/SRC/openSUSE:Factory/python-textX (Old)
 and  /work/SRC/openSUSE:Factory/.python-textX.new.1900 (New)


Package is "python-textX"

Sun Apr  3 21:30:48 2022 rev:15 rq:965770 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes
2021-07-12 01:25:30.805011347 +0200
+++ /work/SRC/openSUSE:Factory/.python-textX.new.1900/python-textX.changes  
2022-04-03 21:30:57.075845568 +0200
@@ -1,0 +2,32 @@
+Tue Mar 22 20:51:24 UTC 2022 - Sebastian Wagner 
+
+- update to version 3.0.0:
+ - Added:
+  - Added RREL-'fixed name'-extension, allowing to follow model elements 
+given a fixed name (e.g. an object defined in a builtin model).
+Details described in rrel.md ([#364]).
+  - Added ability to access the full path of named objects traversed while
+resolving a RREL expression ([#304]).
+  - Added decorator `textx.textxerror_wrap` for object processors to 
automatically
+transform non-TextXErrors to TextXErrors in order to indicate the filename 
and
+position of the element being processed ([#306]).
+ - Fixed:
+  - `model_param_defs` on `TextXMetaMetaModel` ([#360]).
+  - Interpreting of backslash special chars (e.g. `\n`, `\t`) in grammar string
+matches ([#323]). Possible **(BIC)** - backslash chars were not 
interpreted in
+grammar files and raw Python strings prior to this fix.
+  - Exception/error messages ([#320])
+  - Relaxed assert in model creation enabling some model changes in user 
classes
+([#311])
+  - Model export to dot in cases where textX object is replaced in the
+processor([#301])
+  - Do not allow "empty" RREL expressions (compare unittests in 
`test_rrel.py`; [#355])
+ - Changed:
+  - Inheritance chain calculation. Possible **(BIC)** ([#369]).
+  - Added `def_file_name` attribute to `RefRulePosition` for storing the 
definition's
+model file name in case of cross-references between models. ([#313],[#277])
+  - Migrated from Travis CI to GitHub Actions ([#307])
+  - Dropped support for deprecated Python versions. The lowest supported 
version
+is 3.6. **(BIC)**
+
+---

Old:

  python-textX-2.3.0.tar.gz

New:

  python-textX-3.0.0.tar.gz



Other differences:
--
++ python-textX.spec ++
--- /var/tmp/diff_new_pack.OwZUqN/_old  2022-04-03 21:30:57.803837418 +0200
+++ /var/tmp/diff_new_pack.OwZUqN/_new  2022-04-03 21:30:57.807837374 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-textX
 #
-# Copyright (c) 2021 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-textX
-Version:2.3.0
+Version:3.0.0
 Release:0
 Summary:Meta-language for DSL implementation inspired by Xtext
 License:MIT
@@ -34,6 +34,7 @@
 %endif
 Requires:   python-Arpeggio >= 1.9.0
 Requires:   python-click >= 7.0
+Requires:   python-future
 Requires:   python-setuptools
 %if "%{python_flavor}" == "python2"
 Requires:   python2-xml
@@ -46,6 +47,7 @@
 BuildRequires:  %{python_module Arpeggio}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module click >= 7.0}
+BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module html5lib}
 BuildRequires:  %{python_module memory_profiler}
 BuildRequires:  %{python_module pytest}

++ python-textX-2.3.0.tar.gz -> python-textX-3.0.0.tar.gz ++
 3553 lines of diff (skipped)


commit python-textX for openSUSE:Factory

2021-07-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-textX for openSUSE:Factory 
checked in at 2021-07-12 01:25:01

Comparing /work/SRC/openSUSE:Factory/python-textX (Old)
 and  /work/SRC/openSUSE:Factory/.python-textX.new.2625 (New)


Package is "python-textX"

Mon Jul 12 01:25:01 2021 rev:14 rq:905644 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes
2020-11-09 13:59:01.931752016 +0100
+++ /work/SRC/openSUSE:Factory/.python-textX.new.2625/python-textX.changes  
2021-07-12 01:25:30.805011347 +0200
@@ -1,0 +2,5 @@
+Sun Jul  4 09:56:22 UTC 2021 - Sebastian Wagner 
+
+- Fix package builds for Leap 15.2 and 15.3, requires python-xml
+
+---



Other differences:
--
++ python-textX.spec ++
--- /var/tmp/diff_new_pack.0NaWBq/_old  2021-07-12 01:25:31.221008149 +0200
+++ /var/tmp/diff_new_pack.0NaWBq/_new  2021-07-12 01:25:31.225008117 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-textX
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,11 +29,17 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if 0%{?sle_version} == 150200 || 0%{?sle_version} == 150300
+BuildRequires:  python2-xml
+%endif
 Requires:   python-Arpeggio >= 1.9.0
 Requires:   python-click >= 7.0
 Requires:   python-setuptools
+%if "%{python_flavor}" == "python2"
+Requires:   python2-xml
+%endif
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Obsoletes:  %{name}-doc
 BuildArch:  noarch
 # SECTION tests