Accepting request 603488 from devel:languages:python:misc
Needed by python-dill OBS-URL: https://build.opensuse.org/request/show/603488 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-objgraph?expand=0&rev=1
This commit is contained in:
commit
eda208641c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
objgraph-3.1.0.tar.gz
Normal file
3
objgraph-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:99b3a39e8bb7a3530324ba50f65415448cf5279d8c67c0556a0bdf3c8f7c6510
|
||||||
|
size 629772
|
47
python-objgraph.changes
Normal file
47
python-objgraph.changes
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 16:16:46 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 3.1.0
|
||||||
|
* Support displaying graphs inline in IPython/Jupyter notebooks (`issue 28
|
||||||
|
<https://github.com/mgedmin/objgraph/pull/28>`).
|
||||||
|
- Update to version 3.0.1
|
||||||
|
* The ``file`` argument of :func:`show_most_common_types` and
|
||||||
|
:func:`show_growth` now defaults to ``None`` instead of ``sys.stdout``.
|
||||||
|
``None`` is interpreted to be the same as ``sys.stdout``, which means
|
||||||
|
the right stdout will be used if you change it at runtime (which happens,
|
||||||
|
in doctests).
|
||||||
|
- Update to version 3.0.0
|
||||||
|
* :func:`show_most_common_types` and :func:`show_growth` now accept a ``file``
|
||||||
|
argument if you want to redirect the output elsewhere.
|
||||||
|
* Don't trust ``__class__`` to be accurate and ``__name__`` to be a string.
|
||||||
|
Fixes errors in some convoluted corner cases when mocks are involved.
|
||||||
|
* Drop support for Python 2.4, 2.5, and 2.6.
|
||||||
|
* Drop support for Python 3.1 and 3.2.
|
||||||
|
* Add support for Python 3.5.
|
||||||
|
- Update to version 2.0.1
|
||||||
|
* Avoid creating reference cycles between the stack frame and the local
|
||||||
|
``objects`` variable in :func:`by_type`, :func:`count`, and
|
||||||
|
:func:`typestats`.
|
||||||
|
- Update to version 2.0.0
|
||||||
|
* :func:`show_refs` and :func:`show_backrefs` now accept a file-like object
|
||||||
|
(via the new ``output`` argument) as an alternative to a filename.
|
||||||
|
* Made internal helper methods private. This includes :func:`find_chain`,
|
||||||
|
:func:`show_graph`, :func:`obj_node_id`, :func:`obj_label`, :func:`quote`,
|
||||||
|
:func:`long_typename`, :func:`safe_repr`, :func:`short_repr`,
|
||||||
|
:func:`gradient`, :func:`edge_label`, and :func:`_program_in_path`.
|
||||||
|
* Correctly determine the name of old-style classes in :func:`count`,
|
||||||
|
:func:`by_type`, and graph drawing functions.
|
||||||
|
- Implement singlespec version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 30 11:59:33 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix building.
|
||||||
|
* We don't actually need graphviz-python
|
||||||
|
* We do need graphviz-gnome after all
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 30 10:47:41 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
86
python-objgraph.spec
Normal file
86
python-objgraph.spec
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-objgraph
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-objgraph
|
||||||
|
Version: 3.1.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Draws Python object reference graphs with graphviz
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Url: http://mg.pov.lt/objgraph/
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/o/objgraph/objgraph-%{version}.tar.gz
|
||||||
|
BuildRequires: graphviz-gd
|
||||||
|
BuildRequires: graphviz-gnome
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module graphviz}
|
||||||
|
# Test requirements
|
||||||
|
BuildRequires: %{python_module mock}
|
||||||
|
Requires: graphviz-gd
|
||||||
|
Requires: graphviz-gnome
|
||||||
|
Requires: python-graphviz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
objgraph is a module that lets you visually explore Python object graphs.
|
||||||
|
|
||||||
|
You'll need graphviz if you want to draw the pretty graphs.
|
||||||
|
|
||||||
|
I recommend xdot 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
|
||||||
|
%setup -q -n objgraph-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.rst
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%files -n python-objgraph-doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc docs/
|
||||||
|
%doc CHANGES.rst HACKING.rst
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user