- Update to 3.4.1:

* Add support for Python 3.7.
  * Drop support for Python 3.3 and 3.4.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-objgraph?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2019-06-03 11:24:32 +00:00 committed by Git OBS Bridge
parent b3c9014f1b
commit 4e80833de2
4 changed files with 18 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a0c2c6268e10a9e8176ae054ff3faac9a432087801e1f95c3ebbe52550295a0
size 634554

3
objgraph-3.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf29512d7f8b457b53fa0722ea59f516abb8abc59b78f97f0ef81394a0c615a7
size 634602

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 3 11:21:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.1:
* Add support for Python 3.7.
* Drop support for Python 3.3 and 3.4.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:50:59 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:50:59 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-objgraph # spec file for package python-objgraph
# #
# Copyright (c) 2018 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
@ -16,29 +16,27 @@
# #
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-objgraph Name: python-objgraph
Version: 3.4.0 Version: 3.4.1
Release: 0 Release: 0
Summary: Python module to draw object reference graphs with graphviz Summary: Python module to draw object reference graphs with graphviz
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://mg.pov.lt/objgraph/ URL: http://mg.pov.lt/objgraph/
Source: https://files.pythonhosted.org/packages/source/o/objgraph/objgraph-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/o/objgraph/objgraph-%{version}.tar.gz
BuildRequires: %{python_module graphviz} BuildRequires: %{python_module graphviz}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: graphviz-gd BuildRequires: graphviz-gd
BuildRequires: graphviz-gnome BuildRequires: graphviz-gnome
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Test requirements
BuildRequires: %{python_module mock}
Requires: graphviz-gd Requires: graphviz-gd
Requires: graphviz-gnome Requires: graphviz-gnome
Requires: python-graphviz Requires: python-graphviz
BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: %{oldpython}-objgraph-doc
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -48,14 +46,6 @@ objgraph is a module for visual exploration of Python object graphs.
graphviz is needed if pretty graphs are desired. graphviz is needed if pretty graphs are desired.
xdot can be used for interactive use. xdot can be used for interactive use.
%package -n python-objgraph-doc
Summary: Documentation for %{name}
Group: Development/Languages/Python
Provides: %{python_module objgraph-doc = %{version}}
%description -n python-objgraph-doc
Documentation and help files for %{name}
%prep %prep
%setup -q -n objgraph-%{version} %setup -q -n objgraph-%{version}
@ -64,22 +54,14 @@ Documentation and help files for %{name}
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check %check
%python_exec setup.py test %python_exec setup.py test
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %doc README.rst CHANGES.rst HACKING.rst
%doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/*
%files -n python-objgraph-doc
%defattr(-,root,root,-)
%doc docs/
%doc CHANGES.rst HACKING.rst
%changelog %changelog