Accepting request 679678 from home:jayvdb:noflake8
- 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. - 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 from v4.1 to v6.1 OBS-URL: https://build.opensuse.org/request/show/679678 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.packaging?expand=0&rev=4
This commit is contained in:
parent
60f894f318
commit
3c2d9cef2e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9980b0fb6a0d2ee754d5979c9e5e02f31853da8e9046dc99f5abfcb7ace9e189
|
|
||||||
size 8820
|
|
3
jaraco.packaging-6.1.tar.gz
Normal file
3
jaraco.packaging-6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:75d6360662ede4405981814bf68a67a4e83d0d943504ee1c7a698d01a7cd357e
|
||||||
|
size 14736
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- 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
|
Mon Nov 13 17:25:52 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jaraco.base
|
# 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
|
# 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
|
||||||
@ -12,13 +12,13 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-jaraco.base
|
Name: python-jaraco.base
|
||||||
Version: 4.1
|
Version: 6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Base namespace for jaraco packages
|
Summary: Base namespace for jaraco packages
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -53,7 +53,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/ja
|
|||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%dir %{python_sitelib}/jaraco/
|
%dir %{python_sitelib}/jaraco/
|
||||||
%{python_sitelib}/jaraco/__init__.py*
|
%{python_sitelib}/jaraco/__init__.py*
|
||||||
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__/
|
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__/
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 07:17:20 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- 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
|
Mon Nov 13 17:25:52 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jaraco.packaging
|
# 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
|
# 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
|
||||||
@ -12,30 +12,26 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with test
|
|
||||||
Name: python-jaraco.packaging
|
Name: python-jaraco.packaging
|
||||||
Version: 4.1
|
Version: 6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Supplement packaging Python releases
|
Summary: Supplement packaging Python releases
|
||||||
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 jaraco.base >= 6.1}
|
||||||
BuildRequires: %{python_module jaraco.base}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if %{with test}
|
Requires: python-jaraco.base >= 6.1
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
Requires: python-jaraco.base
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -46,6 +42,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
|
||||||
rm -rf jaraco.packaging.egg-info
|
rm -rf jaraco.packaging.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -59,7 +56,6 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
|
|||||||
%fdupes -s %{buildroot}%{$python_sitelib}
|
%fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dependency-tree
|
%python_clone -a %{buildroot}%{_bindir}/dependency-tree
|
||||||
%python_clone -a %{buildroot}%{_bindir}/upload-package
|
%python_clone -a %{buildroot}%{_bindir}/upload-package
|
||||||
|
|
||||||
@ -69,14 +65,16 @@ rm -rf %{buildroot}%{$python_sitelib}/jaraco/__pycache__/
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative dependency-tree
|
%python_uninstall_alternative dependency-tree
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_expand py.test-%{$python_bin_suffix}
|
# Two tests depend on accessing PyPI
|
||||||
%endif
|
%{python_expand py.test-%{$python_bin_suffix} \
|
||||||
|
--ignore=_build.python3 --ignore _build.python2 \
|
||||||
|
-k 'not (load_dependencies or test_revived_distribution)'
|
||||||
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc 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_alternative %{_bindir}/upload-package
|
||||||
%{python_sitelib}/jaraco.packaging-%{version}-py*.egg-info
|
%{python_sitelib}/jaraco.packaging-%{version}-py*.egg-info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user