From 7dda2f430bbdfde024f456243636a7e05098da95648ed5f4a1eaa197c00b41d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Mar 2020 13:32:03 +0000 Subject: [PATCH] Accepting request 782931 from home:mcalabkova:branches:devel:languages:python - Update to 3.1.0 * Project now requires Python 3.6 or later. * classproperty decorator now supplies a classproperty.Meta class. OBS-URL: https://build.opensuse.org/request/show/782931 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.classes?expand=0&rev=7 --- jaraco.classes-3.1.0.tar.gz | 3 +++ python-jaraco.classes.changes | 7 +++++++ python-jaraco.classes.spec | 12 +++++------- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 jaraco.classes-3.1.0.tar.gz diff --git a/jaraco.classes-3.1.0.tar.gz b/jaraco.classes-3.1.0.tar.gz new file mode 100644 index 0000000..b34a319 --- /dev/null +++ b/jaraco.classes-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c38698ff8ef932eb33d91c0e8fc192ad7c44ecee03f7f585afd4f35aeaef7aab +size 11616 diff --git a/python-jaraco.classes.changes b/python-jaraco.classes.changes index a15ed9d..54e292a 100644 --- a/python-jaraco.classes.changes +++ b/python-jaraco.classes.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 9 12:42:34 UTC 2020 - Marketa Calabkova + +- Update to 3.1.0 + * Project now requires Python 3.6 or later. + * classproperty decorator now supplies a classproperty.Meta class. + ------------------------------------------------------------------- Mon Oct 14 13:44:35 UTC 2019 - Matej Cepl diff --git a/python-jaraco.classes.spec b/python-jaraco.classes.spec index 276fcc3..198fd69 100644 --- a/python-jaraco.classes.spec +++ b/python-jaraco.classes.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.classes # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-jaraco.classes -Version: 2.0 +Version: 3.1.0 Release: 0 Summary: Tools to work with classes License: MIT @@ -28,11 +29,9 @@ BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jaraco.base >= 6.1 -Requires: python-six BuildArch: noarch %python_subpackages @@ -42,6 +41,7 @@ jaraco.classes Tools for working with classes. %prep %setup -q -n jaraco.classes-%{version} sed -i 's/--flake8//' pytest.ini +sed -i 's/--black --cov//' pytest.ini %build %python_build @@ -55,9 +55,7 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/ } %check -%{python_expand py.test-%{$python_bin_suffix} \ - --ignore=_build.python3 --ignore _build.python2 -} +%pytest %files %{python_files} %license LICENSE