forked from pool/python-jaraco.packaging
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:
commit
5bc4f474b2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:75d6360662ede4405981814bf68a67a4e83d0d943504ee1c7a698d01a7cd357e
|
|
||||||
size 14736
|
|
3
jaraco.packaging-8.1.0.tar.gz
Normal file
3
jaraco.packaging-8.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1450abc9143f26564c1e210776ff3043d0eb82ca7bed0e800e898056615597f7
|
||||||
|
size 15322
|
@ -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>
|
Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -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,11 @@
|
|||||||
|
|
||||||
%{?!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
|
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
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user