15
0

25 Commits

Author SHA256 Message Date
7e7bb10862 Accepting request 1278569 from home:glaubitz:branches:devel:languages:python
- Update to 5.2.1
  * Updated CHANGES.md
  * Update Makefile [ci skip]
  * Include tests and documentation in sdist
  * Managed functions without __name__
- from version 5.2.0
  * Replace deprecated logging.warn with logging.warning
  * Add support for Python 3.11
  * Update download links
  * Fix codespell errors
  * Add support for decorative partial functions
  * Replace 'bytecode' by 'binary' in LICENSE.txt to align with BSD-2-Clause
  * Add support for Python 3.12
  * Stop testing EOL Python 3.5 and 3.6 due to CI unavailability
  * Requiring Python >= 3.7
  * Dropped support for Python <= 3.6
  * Use SPDX license identifier
  * Add support for Python 3.13
  * codespell: assertIn is not a typo
  * Testing only Python >= 3.8
  * Using asyncio.run
  * Replaced setup.py with pyproject
  * Updated copyright
  * Moved tests outside of src
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel

OBS-URL: https://build.opensuse.org/request/show/1278569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=54
2025-05-20 09:59:33 +00:00
0f552d05ed Accepting request 1081385 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=52
2023-04-21 14:44:48 +00:00
6b2562708f - update to 5.1.1:
* cythonized functions can now be decorated.
  * fixed an issue in the `decorator_apply` example and
  * regression fix for the "fix" in version 5.1 broke
  ` decorator.contextmanager` even more. Both issues are now solved.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=51
2022-01-10 22:18:21 +00:00
6e9d21f95c - update to 5.1.0:
* Added a function `decoratorx` using the `FunctionMaker` and thus
    preserving the signature of `__code__` objects.
  * Sphinx was printing a few warnings when building the documentation
  * functions decorated with `decorator.contextmanager` were one-shot,
     as discovered by Alex Pizarro.
  * `decorator.decorator` was not passing the kwsyntax argument.
- drop kwsyntax.patch (usptream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=50
2021-10-16 20:59:00 +00:00
8bb82246ae Accepting request 910344 from home:mcalabkova:branches:devel:languages:python
- Add upstream patch kwsyntax.patch

OBS-URL: https://build.opensuse.org/request/show/910344
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=49
2021-08-05 15:31:45 +00:00
f1b135ae4b - update to 5.0.9:
* Fixed a test breaking PyPy. Restored support for Sphinx.
  * Made the decorator module more robust when decorating builtin functions
    lacking dunder attributes, like `dict.__setitem__`.
  * The decorator module was not passing correctly the defaults inside the
    `*args` tuple, thanks to Dan Shult for the fix.
  * The decorator module was not copying the __module__ attribute anymore.
  * Dropped support for Python < 3.5 with a substantial simplification of
    the code base (now building a decorator does not require calling "exec").
    Added a way to mimic functools.wraps-generated decorators.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=48
2021-07-27 06:17:07 +00:00
02062de7c4 - update to 4.4.2:
* removing the usage of `__file__`, that was breaking PyOxidizer.
  * fixes for the future Python 3.9.
  * some fixes for the future Python 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=46
2020-03-14 15:51:56 +00:00
9fc53c5929 - update to 4.4.1:
Changed the description to "Decorators for Humans" are requested by
  several users. Fixed a .rst bug in the description as seen in PyPI.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=44
2020-02-12 09:46:40 +00:00
Tomáš Chvátal
f9c8c76296 - Update to 4.4.0:
* Fixed a regression with decorator factories breaking the case with no
    arguments by going back to the syntax used in version 4.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=42
2019-03-19 15:19:51 +00:00
Todd R
787b8e8efe Accepting request 674686 from home:TheBlackCat:branches:devel:languages:python
- update to version 4.3.2
   * now the decorator module can decorate generator functions by
     preserving their being generator functions
   * Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'` in setup.py
- update to version 4.3.1
  * Added a section "For the impatient" to the README, addressing
    an issue raised by Amir Malekpour.
  * Added support for Python 3.7.
  * Now  the path to the decorator module appears in the
    tracebacks, as suggested by a user at EuroPython 2018.

OBS-URL: https://build.opensuse.org/request/show/674686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=40
2019-02-13 17:55:13 +00:00
f17cfb2da4 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=38
2018-12-04 13:22:53 +00:00
Tomáš Chvátal
818cab24cf Accepting request 597431 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/597431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=36
2018-04-17 11:20:19 +00:00
Tomáš Chvátal
5f401a9f10 Accepting request 597252 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/597252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=35
2018-04-17 06:35:14 +00:00
Tomáš Chvátal
129b505470 Accepting request 566533 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/566533
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=33
2018-01-17 07:52:34 +00:00
3b35b67f01 Accepting request 515732 from home:tbechtold:branches:devel:languages:python
- update to 4.1.2:
  * Made it possible to define decorators converting coroutines into regular
    functions.
  * Changed the documentation build system to sphinx and uploaded the docs
    on readthedocs.org.
  * Support for Python 3.5 coroutines defined with `async def`, thanks to
    Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
    giving the right answer for coroutines decorated with the decorator module.

OBS-URL: https://build.opensuse.org/request/show/515732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=31
2017-08-09 16:49:30 +00:00
Jan Matejek
1916da1625 - fix source url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=29
2017-04-05 15:13:30 +00:00
Jan Matejek
531a132a57 Accepting request 484363 from home:TheBlackCat:branches:devel:languages:python
Update to 4.0.11

OBS-URL: https://build.opensuse.org/request/show/484363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=28
2017-04-05 12:04:52 +00:00
Denisart Benjamin
7b77330a22 Accepting request 305094 from home:benoit_monin:branches:devel:languages:python
- update to version 3.4.2
- remove python-nose from BuildRequires, unneeded
- replace README.txt with README.rst: changed upstream

OBS-URL: https://build.opensuse.org/request/show/305094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=26
2015-05-03 10:21:32 +00:00
Sascha Peilicke
0db79989ed - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=24
2013-10-24 11:01:07 +00:00
Sascha Peilicke
61a8d71d7d Accepting request 180868 from home:dirkmueller:branches:devel:languages:python
- update to 3.4.0:
 * Added the ability to use classes and generic callables as callers and
 implemented a signature-preserving contexmanager decorator. Fixed a bug
 with the signature f(**kw) in Python 3 and fixed a couple of doctests
 broken by Python 3.3, both issues pointed out by Dominic Sacré (18/10/2012)

OBS-URL: https://build.opensuse.org/request/show/180868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=22
2013-06-25 12:20:41 +00:00
Todd R
4b34c160cb Accepting request 121936 from home:HighwayStar:branches:devel:languages:python
updated to 3.3.3 and python3 package added

OBS-URL: https://build.opensuse.org/request/show/121936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=13
2012-05-23 15:41:29 +00:00
Sascha Peilicke
683b6715e2 Accepting request 94373 from home:babelworx:ldig:branches:devel:languages:python
license update: BSD-2-Clause
SPDX format

OBS-URL: https://build.opensuse.org/request/show/94373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=10
2011-11-30 15:04:14 +00:00
Sascha Peilicke
f44864e086 Accepting request 93465 from home:namtrac:bugfix
- Update to upstream tarball, no code changes

OBS-URL: https://build.opensuse.org/request/show/93465
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=9
2011-11-25 12:40:51 +00:00
Sascha Peilicke
c6d1dde77d - Add python-distribute (setuptools) BuildRequires, seemed to got lost
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=8
2011-09-26 07:57:44 +00:00
Sascha Peilicke
67d3481972 - Update to version 3.3.2
- Added proper changes file

- Update to 3.3.0

- Update to 3.0.1

- Initial release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=7
2011-09-01 09:59:03 +00:00