1
0

Accepting request 784211 from devel:languages:python

Staging:I

OBS-URL: https://build.opensuse.org/request/show/784211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.packaging?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-04-19 19:39:41 +00:00 committed by Git OBS Bridge
commit 5bc4f474b2
6 changed files with 32 additions and 16 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,13 @@
-------------------------------------------------------------------
Mon Mar 9 15:13:36 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Set version to 8.1.0
-------------------------------------------------------------------
Mon Oct 14 13:39:57 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
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
#
# 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
@ -18,12 +18,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jaraco.base
Version: 6.1
Version: 8.1.0
Release: 0
Summary: Base namespace for jaraco packages
License: MIT
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
BuildRequires: %{python_module base}
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>

View File

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