forked from pool/python-venusian
Accepting request 619617 from devel:languages:python:singlespec-staging
Clean up SPEC file Enable tests OBS-URL: https://build.opensuse.org/request/show/619617 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=11
This commit is contained in:
@@ -34,7 +34,7 @@ Fri Feb 6 11:12:24 UTC 2015 - hpj@urpla.net
|
|||||||
venusian decorators attached to superclass methods. See the API
|
venusian decorators attached to superclass methods. See the API
|
||||||
documentation for more information.
|
documentation for more information.
|
||||||
- Fix bug where otherwise undecorated subclass of a superclass that had
|
- Fix bug where otherwise undecorated subclass of a superclass that had
|
||||||
venusian decorators on it would inherit its superclass’ decorations.
|
venusian decorators on it would inherit its superclass' decorations.
|
||||||
Venusian decorators should have never been inherited implicitly. See
|
Venusian decorators should have never been inherited implicitly. See
|
||||||
https://github.com/Pylons/venusian/issues/11#issuecomment-4977352
|
https://github.com/Pylons/venusian/issues/11#issuecomment-4977352
|
||||||
|
|
||||||
@@ -66,3 +66,4 @@ Sun Jul 28 20:12:18 UTC 2013 - hpj@urpla.net
|
|||||||
|
|
||||||
- version 1.0a8: initial release
|
- version 1.0a8: initial release
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-venusian-doc
|
# spec file for package python-venusian-doc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -24,26 +24,19 @@ Release: 0
|
|||||||
Summary: Documentation for python-venusian
|
Summary: Documentation for python-venusian
|
||||||
License: SUSE-Repoze
|
License: SUSE-Repoze
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://pylonsproject.org
|
URL: https://github.com/Pylons/venusian
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module venusian = %{version}}
|
BuildRequires: %{python_module venusian = %{version}}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Provides: %{python_module venusian-doc = %{version}}
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION documentation requirements
|
# SECTION documentation requirements
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python3-pylons-sphinx-themes
|
BuildRequires: python3-pylons-sphinx-themes
|
||||||
BuildRequires: python3-repoze.sphinx.autointerface
|
BuildRequires: python3-repoze.sphinx.autointerface
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION test requirements
|
%python_subpackages
|
||||||
BuildRequires: %{python_module coverage}
|
|
||||||
BuildRequires: %{python_module nose-exclude}
|
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
# /SECTION
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
Provides: %{python_module venusian-doc = %{version}}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains documentation files for python-venusian.
|
This package contains documentation files for python-venusian.
|
||||||
@@ -52,17 +45,14 @@ This package contains documentation files for python-venusian.
|
|||||||
%setup -q -n venusian-%{version}
|
%setup -q -n venusian-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
|
# ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
|
||||||
%{_python_use_flavor python3}
|
%python_build
|
||||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
# python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# nothing to do
|
%python_install
|
||||||
|
|
||||||
%check
|
%files %{python_files}
|
||||||
%python_exec %{_bindir}/py.test
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc build/sphinx/html/
|
%doc build/sphinx/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 28 17:17:31 UTC 2018 - mcepl@suse.com
|
||||||
|
|
||||||
|
- Clean up SPEC file
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 24 13:56:55 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- singlespec auto-conversion
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 14 07:00:53 UTC 2017 - aloisio@gmx.com
|
Fri Jul 14 07:00:53 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
@@ -34,7 +45,7 @@ Fri Feb 6 11:12:24 UTC 2015 - hpj@urpla.net
|
|||||||
venusian decorators attached to superclass methods. See the API
|
venusian decorators attached to superclass methods. See the API
|
||||||
documentation for more information.
|
documentation for more information.
|
||||||
- Fix bug where otherwise undecorated subclass of a superclass that had
|
- Fix bug where otherwise undecorated subclass of a superclass that had
|
||||||
venusian decorators on it would inherit its superclass’ decorations.
|
venusian decorators on it would inherit its superclass' decorations.
|
||||||
Venusian decorators should have never been inherited implicitly. See
|
Venusian decorators should have never been inherited implicitly. See
|
||||||
https://github.com/Pylons/venusian/issues/11#issuecomment-4977352
|
https://github.com/Pylons/venusian/issues/11#issuecomment-4977352
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-venusian
|
# spec file for package python-venusian
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -22,15 +22,21 @@ Name: python-venusian
|
|||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for deferring decorator actions
|
Summary: A library for deferring decorator actions
|
||||||
License: SUSE-Repoze
|
License: SUSE-Repoze AND ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://pylonsproject.org
|
URL: https://github.com/Pylons/venusian
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module coverage}
|
||||||
|
BuildRequires: %{python_module nose-exclude}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,9 +59,12 @@ rm -rf venusian.egg-info
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_expand py.test-%{$python_bin_suffix} -v venusian
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst LICENSE.txt README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/venusian
|
%{python_sitelib}/venusian
|
||||||
%{python_sitelib}/venusian-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/venusian-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user