Commit Graph

11 Commits

Author SHA256 Message Date
74985eaec3 Accepting request 810582 from home:pgajdos:python
- for python3, drop dependency on unittest2
- added patches
  + remove_unittest2.patch

OBS-URL: https://build.opensuse.org/request/show/810582
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=17
2020-06-01 09:52:06 +00:00
Tomáš Chvátal
3c044d3e01 Accepting request 791276 from home:darix:branches:devel:languages:python
- remove the shebang line from the rtrip.py otherwise the python3
  package will require /usr/bin/python. 
  

another option would be to fix the she bang line per subpackage but I dont know how yet.

OBS-URL: https://build.opensuse.org/request/show/791276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=15
2020-04-04 16:22:15 +00:00
Tomáš Chvátal
c8dc2273b2 Accepting request 788279 from home:polslinux:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/788279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=13
2020-03-26 05:06:49 +00:00
Tomáš Chvátal
ba8055c912 Accepting request 765263 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/765263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=11
2020-01-17 18:10:04 +00:00
38a04abf15 - Add patch to build with setuptools >= 41.4:
* setuptools-gt-41_1.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=9
2019-11-14 13:31:07 +00:00
Tomáš Chvátal
3f4719a75d - Add patch to build with py 3.8:
* python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=7
2019-09-10 13:47:02 +00:00
Tomáš Chvátal
584e9ff98f Accepting request 707075 from home:pgajdos
- 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

OBS-URL: https://build.opensuse.org/request/show/707075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=5
2019-06-03 08:34:01 +00:00
Dominique Leuenberger
06abf71657 Accepting request 647571 from devel:languages:python
New python library, which allows easy manipulation of Python source via the AST.

OBS-URL: https://build.opensuse.org/request/show/647571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astor?expand=0&rev=1
2018-11-12 08:41:37 +00:00
Petr Cervinka
7e4902820a Accepting request 647569 from home:czerw:branches:devel:languages:python
- Removed copied link reference from spec file

OBS-URL: https://build.opensuse.org/request/show/647569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=3
2018-11-09 12:06:02 +00:00
Petr Cervinka
f5e8ae4b21 Accepting request 647558 from home:mslacken:ml
- fixed rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/647558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=2
2018-11-09 11:51:28 +00:00
3101ac2d60 Accepting request 647320 from home:mslacken:ml
fixed the requested things

OBS-URL: https://build.opensuse.org/request/show/647320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astor?expand=0&rev=1
2018-11-08 19:21:30 +00:00