From 390bfe6be11d142f96c979b5ad12228348fc4c40e3e06e38e3a5834369322026 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 16 Sep 2021 04:06:32 +0000 Subject: [PATCH] - Update to 0.12.0: * Fixing a warning from deprecated get_platform function. * Applied black * some cleanups * removed the package module (not used) * more tests * logging slightly improved - Actually run tests, skipping one test that requires network. - Stop installing easydev_buildPackage OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-easydev?expand=0&rev=9 --- easydev-0.12.0.tar.gz | 3 +++ easydev-0.9.38.tar.gz | 3 --- python-easydev.changes | 13 +++++++++++++ python-easydev.spec | 18 ++++++++---------- 4 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 easydev-0.12.0.tar.gz delete mode 100644 easydev-0.9.38.tar.gz diff --git a/easydev-0.12.0.tar.gz b/easydev-0.12.0.tar.gz new file mode 100644 index 0000000..cd62139 --- /dev/null +++ b/easydev-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4a340c5ffe193654c387d271bcd466d1fe56bf9850f2704122d3b52b1e6090d +size 47112 diff --git a/easydev-0.9.38.tar.gz b/easydev-0.9.38.tar.gz deleted file mode 100644 index e53ca35..0000000 --- a/easydev-0.9.38.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e44e834a6bcdedcb468e28e34f7c0d08e96c572649f453a802c9c36b0108c6c -size 53566 diff --git a/python-easydev.changes b/python-easydev.changes index 707da39..426996b 100644 --- a/python-easydev.changes +++ b/python-easydev.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 16 04:01:51 UTC 2021 - Steve Kowalik + +- Update to 0.12.0: + * Fixing a warning from deprecated get_platform function. + * Applied black + * some cleanups + * removed the package module (not used) + * more tests + * logging slightly improved +- Actually run tests, skipping one test that requires network. +- Stop installing easydev_buildPackage + ------------------------------------------------------------------- Tue May 26 06:34:04 UTC 2020 - Petr Gajdos diff --git a/python-easydev.spec b/python-easydev.spec index 6f02236..2e86c2b 100644 --- a/python-easydev.spec +++ b/python-easydev.spec @@ -1,7 +1,7 @@ # # spec file for package python-easydev # -# 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 @@ -18,11 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-easydev -Version: 0.9.38 +Version: 0.12.0 Release: 0 Summary: Common utilities to ease the development of Python packages License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/cokelaer/easydev Source: https://files.pythonhosted.org/packages/source/e/easydev/easydev-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -33,7 +32,7 @@ Requires: python-colorlog Requires: python-pexpect Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: python-line_profiler BuildArch: noarch # SECTION test requirements @@ -41,9 +40,9 @@ BuildRequires: %{python_module colorama} BuildRequires: %{python_module colorlog} BuildRequires: %{python_module line_profiler} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -57,30 +56,29 @@ also as an incubator for other packages and is stable. %prep %setup -q -n easydev-%{version} sed -i -e '/^#!\//, 1d' easydev/appdirs.py -rm -r easydev/share/__pycache__ %build %python_build %install %python_install -%python_clone -a %{buildroot}%{_bindir}/easydev_buildPackage %python_clone -a %{buildroot}%{_bindir}/browse %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# Requires network access +%pytest -k 'not test_isurl' + %post -%python_install_alternative easydev_buildPackage %python_install_alternative browse %postun -%python_uninstall_alternative easydev_buildPackage %python_uninstall_alternative browse %files %{python_files} %doc README.rst %license COPYING %python_alternative %{_bindir}/browse -%python_alternative %{_bindir}/easydev_buildPackage %{python_sitelib}/* %changelog