diff --git a/jaraco.packaging-4.1.tar.gz b/jaraco.packaging-4.1.tar.gz deleted file mode 100644 index a0bf8d4..0000000 --- a/jaraco.packaging-4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9980b0fb6a0d2ee754d5979c9e5e02f31853da8e9046dc99f5abfcb7ace9e189 -size 8820 diff --git a/jaraco.packaging-6.1.tar.gz b/jaraco.packaging-6.1.tar.gz new file mode 100644 index 0000000..428662a --- /dev/null +++ b/jaraco.packaging-6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75d6360662ede4405981814bf68a67a4e83d0d943504ee1c7a698d01a7cd357e +size 14736 diff --git a/python-jaraco.base.changes b/python-jaraco.base.changes index 3467116..b6ce6d9 100644 --- a/python-jaraco.base.changes +++ b/python-jaraco.base.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg + +- Add LICENSE +- Set version to 6.1 due to version of python-jaraco.packaging, + to provide an easy method of ensuring the base is updated with + all jaraco modules. + ------------------------------------------------------------------- Mon Nov 13 17:25:52 UTC 2017 - toddrme2178@gmail.com diff --git a/python-jaraco.base.spec b/python-jaraco.base.spec index 068891a..10cb1d0 100644 --- a/python-jaraco.base.spec +++ b/python-jaraco.base.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.base # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jaraco.base -Version: 4.1 +Version: 6.1 Release: 0 Summary: Base namespace for jaraco packages License: MIT @@ -53,7 +53,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/ja } %files %{python_files} -%defattr(-,root,root) +%license LICENSE %dir %{python_sitelib}/jaraco/ %{python_sitelib}/jaraco/__init__.py* %pycache_only %dir %{python_sitelib}/jaraco/__pycache__/ diff --git a/python-jaraco.packaging.changes b/python-jaraco.packaging.changes index 19b13ee..cf95280 100644 --- a/python-jaraco.packaging.changes +++ b/python-jaraco.packaging.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg + +- Add LICENSE +- Remove bcond_with test, and skip two failing tests +- Compile manually due to switch to pkgutil namespace technique +- Add docs/*.rst to %doc +- Update to v6.1 + * Sphinx plugin now exposes ``package_url`` in HTML templates. +- from 6.0 + * Switch to pkgutil namespace technique for the ``jaraco`` namespace. +- from 5.2 + * Show command now also honors direct attributes on a Distribution instance. +- from 5.1.1 + * In Sphinx module, use universal newlines to avoid broken results on Windows. +- from 5.1 + * Added ``jaraco.packaging.make-tree`` utility for taking output from + pipdeptree and making a tree of it. +- from 5.0 + * Drop support for Python 2.6. + * Re-aligned to use pkg_resources-managed technique for + the jaraco namespace, all package of which must elect one + technique or another. + ------------------------------------------------------------------- Mon Nov 13 17:25:52 UTC 2017 - toddrme2178@gmail.com diff --git a/python-jaraco.packaging.spec b/python-jaraco.packaging.spec index b46dfde..0839aaf 100644 --- a/python-jaraco.packaging.spec +++ b/python-jaraco.packaging.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.packaging # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-jaraco.packaging -Version: 4.1 +Version: 6.1 Release: 0 Summary: Supplement packaging Python releases License: MIT Group: Development/Languages/Python 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: %{python_module jaraco.base} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module jaraco.base >= 6.1} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module pytest} -%endif -Requires: python-jaraco.base +Requires: python-jaraco.base >= 6.1 Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch @@ -46,6 +42,7 @@ Tools to supplement packaging Python releases. %prep %setup -q -n jaraco.packaging-%{version} +sed -i 's/--flake8//' pytest.ini rm -rf jaraco.packaging.egg-info %build @@ -59,7 +56,6 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/ %fdupes -s %{buildroot}%{$python_sitelib} } - %python_clone -a %{buildroot}%{_bindir}/dependency-tree %python_clone -a %{buildroot}%{_bindir}/upload-package @@ -69,14 +65,16 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/ %postun %python_uninstall_alternative dependency-tree -%if %{with test} %check -%python_expand py.test-%{$python_bin_suffix} -%endif +# 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)' +} %files %{python_files} -%defattr(-,root,root) -%doc CHANGES.rst README.rst +%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