Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python3-astor-0.8.1-lp152.3.1 RPM for noarch

From OpenSuSE Leap 15.2 for noarch

Name: python3-astor Distribution: openSUSE Leap 15.2
Version: 0.8.1 Vendor: openSUSE
Release: lp152.3.1 Build date: Wed Apr 15 00:50:57 2020
Group: Development/Languages/Python Build host: cloud120
Size: 231550 Source RPM: python-astor-0.8.1-lp152.3.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/berkerpeksag/astor
Summary: Read/rewrite/write Python ASTs
astor is designed to allow easy manipulation of Python source via the AST.
There are some other similar libraries, but astor focuses on the following areas:
- Round-trip an AST back to Python:
  - Modified AST doesn't need linenumbers, ctx, etc. or otherwise
    be directly compileable for the round-trip to work.
  - Easy to read generated code as, well, code
  - Can round-trip two different source trees to compare for functional
    differences, using the astor.rtrip tool (for example, after PEP8 edits).
- Dump pretty-printing of AST
  - Harder to read than round-tripped code, but more accurate to figure out what
    is going on.
  - Easier to read than dump from built-in AST module
- Non-recursive treewalk
  - Sometimes you want a recursive treewalk (and astor supports that, starting
    at any node on the tree), but sometimes you don't need to do that.  astor
    doesn't require you to explicitly visit sub-nodes unless you want to:
  - You can add code that executes before a node's children are visited, and/or
  - You can add code that executes after a node's children are visited, and/or
  - You can add code that executes and keeps the node's children from being
    visited (and optionally visit them yourself via a recursive call)
  - Write functions to access the tree based on object names and/or attribute names
  - Enjoy easy access to parent node(s) for tree rewriting

Provides

Requires

License

BSD-3-Clause

Changelog

* Fri Apr 03 2020 Marcus Rueckert <mrueckert@suse.de>
  - remove the shebang line from the rtrip.py otherwise the python3
    package will require /usr/bin/python.
* Wed Mar 25 2020 Paolo Stivanin <info@paolostivanin.com>
  - Add remove_nose.patch
    * test suite runs fine without nose, because it was written for unittest2
      and, because nose won't work with Python 3.9/3.10, this patch removes
      the requirement from setup.cfg and use unittest2 in the spec file
      instead of nose
* Fri Jan 17 2020 Marketa Calabkova <mcalabkova@suse.com>
  - update to 0.8.1
    * Create sdist before making a test release too
    * remove expr_text handler from fstrings
  - Drop obsolete python38.patch and setuptools-gt-41_1.patch
* Thu Nov 14 2019 Matej Cepl <mcepl@suse.com>
  - Add patch to build with setuptools >= 41.4:
    * setuptools-gt-41_1.patch
* Tue Sep 10 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Add patch to build with py 3.8:
    * python38.patch
* Mon Jun 03 2019 pgajdos@suse.com
  - version update to 0.8
    * Support ``ast.Constant`` nodes being emitted by Python 3.8 (and initially
      created in Python 3.6).
      (Reported and fixed by Chris Rink in `Issue 120`_ and `PR 121`_.)
    * Support Python 3.8's assignment expressions.
      (Reported and fixed by Kodi Arfer in `Issue 126`_ and `PR 134`_.)
    * Support Python 3.8's f-string debugging syntax.
      (Reported and fixed by Batuhan Taskaya in `Issue 138`_ and `PR 139`_.)
    * :func:`astor.to_source` now has a *source_generator_class* parameter to
      customize source code generation.
      (Reported and fixed by matham in `Issue 113`_ and `PR 114`_.)
    * The :class:`~SourceGenerator` class can now be imported from the
      :mod:`astor` package directly. Previously, the ``astor.code_gen``
      submodule was needed to be imported.
    * Support Python 3.8's positional only arguments. See :pep:`570` for
      more details.
      (Reported and fixed by Batuhan Taskaya in `Issue 142`_ and `PR 143`_.)
    * bug fixes, see changelog.rst
  - run the testsuite
* Fri Nov 09 2018 Petr Cervinka <petr@cervinka.net>
  - Removed copied link reference from spec file
* Fri Nov 09 2018 cgoll@suse.com
  - fixed rpmlint warnings
* Thu Nov 08 2018 cgoll@suse.com
  - removed not needed module devel
    * removed check section
    * using license macro
* Wed Jul 25 2018 cgoll@suse.com
  - initial commit of astor 0.7.1 for python2 and python3
    * skipped check section, as this was faling

Files

/usr/lib/python3.6/site-packages/astor
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/astor-0.8.1-py3.6.egg-info/zip-safe
/usr/lib/python3.6/site-packages/astor/VERSION
/usr/lib/python3.6/site-packages/astor/__init__.py
/usr/lib/python3.6/site-packages/astor/__pycache__
/usr/lib/python3.6/site-packages/astor/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/code_gen.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/code_gen.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/codegen.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/codegen.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/file_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/file_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/node_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/node_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/op_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/op_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/rtrip.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/rtrip.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/source_repr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/source_repr.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/string_repr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/string_repr.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/tree_walk.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/astor/__pycache__/tree_walk.cpython-36.pyc
/usr/lib/python3.6/site-packages/astor/code_gen.py
/usr/lib/python3.6/site-packages/astor/codegen.py
/usr/lib/python3.6/site-packages/astor/file_util.py
/usr/lib/python3.6/site-packages/astor/node_util.py
/usr/lib/python3.6/site-packages/astor/op_util.py
/usr/lib/python3.6/site-packages/astor/rtrip.py
/usr/lib/python3.6/site-packages/astor/source_repr.py
/usr/lib/python3.6/site-packages/astor/string_repr.py
/usr/lib/python3.6/site-packages/astor/tree_walk.py
/usr/share/doc/packages/python3-astor
/usr/share/doc/packages/python3-astor/AUTHORS
/usr/share/doc/packages/python3-astor/README.rst
/usr/share/doc/packages/python3-astor/changelog.rst
/usr/share/doc/packages/python3-astor/index.rst
/usr/share/licenses/python3-astor
/usr/share/licenses/python3-astor/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Jul 9 11:27:19 2024