forked from pool/python-venusian
Accepting request 510574 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/510574 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=9
This commit is contained in:
2
pre_checkin.sh
Normal file
2
pre_checkin.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cp python-venusian.changes python-venusian-doc.changes
|
68
python-venusian-doc.changes
Normal file
68
python-venusian-doc.changes
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 14 07:00:53 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 1.1.0
|
||||||
|
* Updated to using py.test instead of nosetest, and added
|
||||||
|
support for Python 3.4 -> 3.6
|
||||||
|
* Make scanning more resilient of metaclasses that return
|
||||||
|
proxies for any attribute access.
|
||||||
|
* Fix bug where using the same venusian decorator on both a
|
||||||
|
class and its methods would cause the method decorations to be
|
||||||
|
ignored. See https://github.com/Pylons/venusian/issues/40
|
||||||
|
* Drop support for Python 2.6.
|
||||||
|
* Drop support for Python 3.2: it is no longer supported by
|
||||||
|
current packaging / CI tools.
|
||||||
|
* Support loaders that require the module name as argument to
|
||||||
|
their get_filename() method. This fixes problems with zipped
|
||||||
|
packages on Python 3.
|
||||||
|
* Micro-optimization when ignores are used (see
|
||||||
|
https://github.com/Pylons/venusian/pull/20).
|
||||||
|
* A tox run now combines coverage between Py2 and Py3.
|
||||||
|
|
||||||
|
- Split docs and tests into separate package to make the
|
||||||
|
latter work
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 6 11:12:24 UTC 2015 - hpj@urpla.net
|
||||||
|
|
||||||
|
- update to version 1.0
|
||||||
|
- Fix an issue under PyPy > 2.0 where attached decorators may not be found.
|
||||||
|
- Drop support of Python 2.4 / 2.5 / Jython.
|
||||||
|
- Add lift and onlyliftedfrom class decorators to allow for inheritance of
|
||||||
|
venusian decorators attached to superclass methods. See the API
|
||||||
|
documentation for more information.
|
||||||
|
- Fix bug where otherwise undecorated subclass of a superclass that had
|
||||||
|
venusian decorators on it would inherit its superclass’ decorations.
|
||||||
|
Venusian decorators should have never been inherited implicitly. See
|
||||||
|
https://github.com/Pylons/venusian/issues/11#issuecomment-4977352
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 18 13:53:45 UTC 2013 - cfarrell@suse.com
|
||||||
|
|
||||||
|
- license update: SUSE-Repoze
|
||||||
|
See LICENSE
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 10 13:08:49 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
- Use tarball from pypi.python.org/ as source
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 10 13:01:51 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
- Change license to get it SPDX compliant;
|
||||||
|
In general, python packages are licensed under BSD derived; the
|
||||||
|
most closed license is BSD-2-Clause
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 13:40:30 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Simplify macro usage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 28 20:12:18 UTC 2013 - hpj@urpla.net
|
||||||
|
|
||||||
|
- version 1.0a8: initial release
|
||||||
|
|
68
python-venusian-doc.spec
Normal file
68
python-venusian-doc.spec
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-venusian-doc
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-venusian-doc
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Documentation for python-venusian
|
||||||
|
License: SUSE-Repoze
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: https://pylonsproject.org
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module venusian = %{version}}
|
||||||
|
# SECTION documentation requirements
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
|
BuildRequires: python3-pylons-sphinx-themes
|
||||||
|
BuildRequires: python3-repoze.sphinx.autointerface
|
||||||
|
# /SECTION
|
||||||
|
# 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
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Provides: %{python_module venusian-doc = %{version}}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains documentation files for python-venusian.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n venusian-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
|
||||||
|
%{_python_use_flavor python3}
|
||||||
|
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||||
|
|
||||||
|
%install
|
||||||
|
# nothing to do
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec %{_bindir}/py.test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc build/sphinx/html/
|
||||||
|
|
||||||
|
%changelog
|
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 14 07:00:53 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 1.1.0
|
||||||
|
* Updated to using py.test instead of nosetest, and added
|
||||||
|
support for Python 3.4 -> 3.6
|
||||||
|
* Make scanning more resilient of metaclasses that return
|
||||||
|
proxies for any attribute access.
|
||||||
|
* Fix bug where using the same venusian decorator on both a
|
||||||
|
class and its methods would cause the method decorations to be
|
||||||
|
ignored. See https://github.com/Pylons/venusian/issues/40
|
||||||
|
* Drop support for Python 2.6.
|
||||||
|
* Drop support for Python 3.2: it is no longer supported by
|
||||||
|
current packaging / CI tools.
|
||||||
|
* Support loaders that require the module name as argument to
|
||||||
|
their get_filename() method. This fixes problems with zipped
|
||||||
|
packages on Python 3.
|
||||||
|
* Micro-optimization when ignores are used (see
|
||||||
|
https://github.com/Pylons/venusian/pull/20).
|
||||||
|
* A tox run now combines coverage between Py2 and Py3.
|
||||||
|
|
||||||
|
- Split docs and tests into separate package to make the
|
||||||
|
latter work
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 6 11:12:24 UTC 2015 - hpj@urpla.net
|
Fri Feb 6 11:12:24 UTC 2015 - hpj@urpla.net
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-venusian
|
# spec file for package python-venusian
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@@ -17,29 +17,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-venusian
|
Name: python-venusian
|
||||||
Version: 1.0
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pylonsproject.org
|
|
||||||
Summary: A library for deferring decorator actions
|
Summary: A library for deferring decorator actions
|
||||||
License: SUSE-Repoze
|
License: SUSE-Repoze
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
Url: https://pylonsproject.org
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-pylons_sphinx_theme
|
|
||||||
BuildRequires: python-setuptools
|
|
||||||
# Documentation requirements:
|
|
||||||
BuildRequires: python-Sphinx
|
|
||||||
BuildRequires: python-repoze.sphinx.autointerface
|
|
||||||
# Test requirements:
|
|
||||||
BuildRequires: python-coverage
|
|
||||||
BuildRequires: python-nose
|
|
||||||
BuildRequires: python-nose-exclude
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Venusian is a library which allows framework authors to defer
|
Venusian is a library which allows framework authors to defer
|
||||||
@@ -50,35 +42,21 @@ usually taken by the decorator until a separate "scan" phase.
|
|||||||
See the "docs" directory of the package or the online documentation at
|
See the "docs" directory of the package or the online documentation at
|
||||||
http://docs.pylonsproject.org/projects/venusian/dev/.
|
http://docs.pylonsproject.org/projects/venusian/dev/.
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: A library for deferring decorator actions
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
This package contains documentation files for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n venusian-%{version}
|
%setup -q -n venusian-%{version}
|
||||||
|
rm -rf venusian.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# tests disabled, until http://bugs.python.org/issue7559 is resolved (for python 2.*)
|
%files %{python_files}
|
||||||
#%%check
|
|
||||||
#python setup.py test
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES.txt LICENSE.txt README.txt
|
%doc CHANGES.rst LICENSE.txt README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/venusian
|
||||||
|
%{python_sitelib}/venusian-%{version}-py%{python_version}.egg-info
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc build/sphinx/html
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a
|
|
||||||
size 45747
|
|
3
venusian-1.1.0.tar.gz
Normal file
3
venusian-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9902e492c71a89a241a18b2f9950bea7e41d025cc8f3af1ea8d8201346f8577d
|
||||||
|
size 44674
|
Reference in New Issue
Block a user