1
0

Accepting request 783000 from home:mcalabkova:branches:devel:languages:python

What the hell is this package?

- Set version to 8.1.0

- Update to 8.1.0
  * In sphinx when loading metadata, trap a ValueError to include the offending value.
  * Require Python 3.6 or later.
  * Removed 'cheese' package as it was built for a use-case that is no longer needed.
  * Sphinx plugin now declares support for parallel reads (optimistically).

OBS-URL: https://build.opensuse.org/request/show/783000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.packaging?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal 2020-03-09 15:22:06 +00:00 committed by Git OBS Bridge
parent ca18f97f0b
commit 7c1dc753ca
6 changed files with 27 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75d6360662ede4405981814bf68a67a4e83d0d943504ee1c7a698d01a7cd357e
size 14736

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1450abc9143f26564c1e210776ff3043d0eb82ca7bed0e800e898056615597f7
size 15322

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 9 15:13:36 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Set version to 8.1.0
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jaraco.base # spec file for package python-jaraco.base
# #
# 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
@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jaraco.base Name: python-jaraco.base
Version: 6.1 Version: 8.1.0
Release: 0 Release: 0
Summary: Base namespace for jaraco packages Summary: Base namespace for jaraco packages
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/jaraco/jaraco.packaging URL: https://github.com/jaraco/jaraco.packaging
Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-%{version}.tar.gz
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: fdupes BuildRequires: fdupes

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Mar 9 15:11:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 8.1.0
* In sphinx when loading metadata, trap a ValueError to include the offending value.
* Require Python 3.6 or later.
* Removed 'cheese' package as it was built for a use-case that is no longer needed.
* Sphinx plugin now declares support for parallel reads (optimistically).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 14 13:46:38 UTC 2019 - Matej Cepl <mcepl@suse.com> Mon Oct 14 13:46:38 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jaraco.packaging # spec file for package python-jaraco.packaging
# #
# 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.packaging Name: python-jaraco.packaging
Version: 6.1 Version: 8.1.0
Release: 0 Release: 0
Summary: Supplement packaging Python releases Summary: Supplement packaging Python releases
License: MIT License: MIT
@ -28,6 +29,7 @@ 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 toml}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-jaraco.base >= 6.1 Requires: python-jaraco.base >= 6.1
@ -42,6 +44,7 @@ Tools to supplement packaging Python releases.
%prep %prep
%setup -q -n jaraco.packaging-%{version} %setup -q -n jaraco.packaging-%{version}
sed -i 's/--flake8//' pytest.ini sed -i 's/--flake8//' pytest.ini
sed -i 's/--black --cov//' pytest.ini
rm -rf jaraco.packaging.egg-info rm -rf jaraco.packaging.egg-info
%build %build
@ -56,7 +59,6 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
} }
%python_clone -a %{buildroot}%{_bindir}/dependency-tree %python_clone -a %{buildroot}%{_bindir}/dependency-tree
%python_clone -a %{buildroot}%{_bindir}/upload-package
%post %post
%python_install_alternative dependency-tree upload-package %python_install_alternative dependency-tree upload-package
@ -65,17 +67,13 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
%python_uninstall_alternative dependency-tree %python_uninstall_alternative dependency-tree
%check %check
# Two tests depend on accessing PyPI # the test depends on accessing PyPI
%{python_expand py.test-%{$python_bin_suffix} \ %pytest -k 'not test_revived_distribution'
--ignore=_build.python3 --ignore _build.python2 \
-k 'not (load_dependencies or test_revived_distribution)'
}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc docs/*.rst CHANGES.rst README.rst %doc docs/*.rst CHANGES.rst README.rst
%python_alternative %{_bindir}/dependency-tree %python_alternative %{_bindir}/dependency-tree
%python_alternative %{_bindir}/upload-package
%{python_sitelib}/jaraco.packaging-%{version}-py*.egg-info %{python_sitelib}/jaraco.packaging-%{version}-py*.egg-info
%{python_sitelib}/jaraco/packaging/ %{python_sitelib}/jaraco/packaging/