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
This commit is contained in:
parent
b590526e87
commit
7dda2f430b
3
jaraco.classes-3.1.0.tar.gz
Normal file
3
jaraco.classes-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c38698ff8ef932eb33d91c0e8fc192ad7c44ecee03f7f585afd4f35aeaef7aab
|
||||||
|
size 11616
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 9 12:42:34 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- 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 <mcepl@suse.com>
|
Mon Oct 14 13:44:35 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jaraco.classes
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-jaraco.classes
|
Name: python-jaraco.classes
|
||||||
Version: 2.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools to work with classes
|
Summary: Tools to work with classes
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -28,11 +29,9 @@ BuildRequires: %{python_module jaraco.base >= 6.1}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-jaraco.base >= 6.1
|
Requires: python-jaraco.base >= 6.1
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -42,6 +41,7 @@ jaraco.classes Tools for working with classes.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n jaraco.classes-%{version}
|
%setup -q -n jaraco.classes-%{version}
|
||||||
sed -i 's/--flake8//' pytest.ini
|
sed -i 's/--flake8//' pytest.ini
|
||||||
|
sed -i 's/--black --cov//' pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -55,9 +55,7 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
|
|||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand py.test-%{$python_bin_suffix} \
|
%pytest
|
||||||
--ignore=_build.python3 --ignore _build.python2
|
|
||||||
}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user