From 642d04be1ba77d92288cb0aa29bd06ccc744e7c17d76c7395d26f0d2e2faa7d0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 11 Nov 2021 22:57:20 +0000 Subject: [PATCH] - Update to 3.4.2: - This is a maintenance release for Python 3.10; no substantial changes were been made. - Provided a check for disabling integration tests using the CALMJS_SKIP_INTEGRATION environment variable, when set to a non- empty string, the integration tests found in test_dist will be skipped. [ #60 ] - Fix running of tests (gh#calmjs/calmjs#61). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs?expand=0&rev=9 --- 3.4.1.tar.gz | 3 --- 3.4.2.tar.gz | 3 +++ python-calmjs.changes | 12 ++++++++++++ python-calmjs.spec | 20 ++++++++++---------- 4 files changed, 25 insertions(+), 13 deletions(-) delete mode 100644 3.4.1.tar.gz create mode 100644 3.4.2.tar.gz diff --git a/3.4.1.tar.gz b/3.4.1.tar.gz deleted file mode 100644 index 31fe3a1..0000000 --- a/3.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffa69b76c0b93ecd4161854d3f11325a6a55391913b64db44b46a44652c42e31 -size 228576 diff --git a/3.4.2.tar.gz b/3.4.2.tar.gz new file mode 100644 index 0000000..3294dca --- /dev/null +++ b/3.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea8bac787f558e094f0670ebac7ef60211d61e7af0cb785f5cd527b00efdacdb +size 228796 diff --git a/python-calmjs.changes b/python-calmjs.changes index c9b10c8..59424cc 100644 --- a/python-calmjs.changes +++ b/python-calmjs.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Nov 11 22:29:55 UTC 2021 - Matej Cepl + +- Update to 3.4.2: + - This is a maintenance release for Python 3.10; no substantial + changes were been made. + - Provided a check for disabling integration tests using the + CALMJS_SKIP_INTEGRATION environment variable, when set to a non- + empty string, the integration tests found in test_dist will be + skipped. [ #60 ] +- Fix running of tests (gh#calmjs/calmjs#61). + ------------------------------------------------------------------- Fri Jan 22 14:00:18 UTC 2021 - Markéta Machová diff --git a/python-calmjs.spec b/python-calmjs.spec index 01496dd..9c0d411 100644 --- a/python-calmjs.spec +++ b/python-calmjs.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-calmjs -Version: 3.4.1 +Version: 3.4.2 Release: 0 Summary: A Python framework for working with the Node.js ecosystem License: GPL-2.0-or-later @@ -32,10 +32,9 @@ BuildRequires: python-rpm-macros Requires: python-calmjs.parse >= 1.0.0 Requires: python-calmjs.types Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest} BuildRequires: nodejs-common # /SECTION %python_subpackages @@ -59,16 +58,17 @@ export LANG=en_US.UTF-8 export LANG=en_US.UTF-8 %python_install %python_clone -a %{buildroot}%{_bindir}/calmjs -%python_expand rm -r %{buildroot}%{$python_sitelib}/calmjs/testing -%python_expand rm -r %{buildroot}%{$python_sitelib}/calmjs/tests -%python_expand %fdupes %{buildroot}%{$python_sitelib} +# %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/testing +# %%python_expand rm -r %%{buildroot}%%{$python_sitelib}/calmjs/tests +%{python_expand touch %{buildroot}%{$python_sitelib}/calmjs/__init__.py +%fdupes %{buildroot}%{$python_sitelib} +} %check export LANG=en_US.UTF-8 -pushd src -PYTHONPATH=. -%pytest -k 'not (test_setup_egg_info or test_build_calmjs_artifact)' -popd +# gh#calmjs/calmjs#61 +%python_expand rm -v %{buildroot}%{$python_sitelib}/calmjs/tests/test_argparse.py +%pyunittest discover -v -s %{buildroot}%{$python_sitelib}/calmjs/ %post %python_install_alternative calmjs