17
0

58 Commits

Author SHA256 Message Date
056f99a1d6 Accepting request 1278578 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=27
2025-05-23 12:27:35 +00:00
25eb328083 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
6c4e6c45e6 Accepting request 1081946 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=26
2023-04-22 20:01:20 +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
00f631eaf5 Accepting request 945419 from devel:languages:python
- 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/request/show/945419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=25
2022-01-11 20:17:07 +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
4c00bb63e7 Accepting request 925751 from devel:languages:python
- 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/request/show/925751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=24
2021-10-20 18:23:30 +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
Richard Brown
e3e5269cbd Accepting request 910347 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/910347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=23
2021-08-11 09:46:59 +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
e47adcd4ce Accepting request 785072 from devel:languages:python
- 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/request/show/785072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=22
2020-03-26 23:24:19 +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
Oliver Kurz
e3e3e6ad2d Accepting request 773654 from devel:languages:python
- 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/request/show/773654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=21
2020-02-14 15:25:39 +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
d14acdb5e2 Accepting request 686454 from devel:languages:python
- 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/request/show/686454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=20
2019-03-29 19:36:01 +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
Stephan Kulow
9fddbbc177 Accepting request 674687 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/674687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=19
2019-02-25 16:44:33 +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
ae0ec219e9 Accepting request 654007 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=18
2018-12-06 11:14:39 +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
cc48d86f99 Accepting request 597436 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/597436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=17
2018-04-23 13:24:50 +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
ffa792633f Accepting request 566562 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/566562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=16
2018-01-19 10:47:23 +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
a064e9696b Accepting request 515769 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/515769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=15
2017-08-14 10:37:41 +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
a1178e5e0d Accepting request 485855 from devel:languages:python
- fix source url

- Update to 4.0.11
  * Small improvements to the documentation and tested with Python 3.6
- Update to 4.0.10
  * Improved the documentation thanks to Tony Goodchild (zearin) who also
    provided a much better CSS than the one I was using.
- Update to 4.0.9
  * Same as 4.0.7 and 4.0.8, re-uploaded due to issues on PyPI.
- Update to 4.0.7
  * Switched to a new changelog format (the one in http://keepachangelog.com/)
    since it was contributed by Alexander Artemenko. Re-added a newline to support
    old version of Python, as requested by [azjps](https://github.com/azjps).
- Update to 4.0.6
  * Removed a file x.py accidentally entered in the tarball.
- Update to 4.0.5
  * Documented a quirk signaled by David Goldstein when writing decorators
    for functions with keyword arguments. Avoided copying the globals,
    as signaled by Benjamin Peterson.
- Update to 4.0.4
  * Included a patch from Zev Benjamin: now decorated functions play well
    with cProfile.
- Update to 4.0.3
  * Added a warning about the memoize example, as requested by Robert
    Buchholz.
- Update to 4.0.2
  * docs/README.rst was not included in MANIFEST.in by accident,
    thus breaking the source installation.
- Update to 4.0.1
  * Added docs directory and upload_docs command. Fixed bug with

OBS-URL: https://build.opensuse.org/request/show/485855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=14
2017-04-28 07:12:19 +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
434d065a4c Accepting request 305176 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/305176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=13
2015-05-04 22:55:57 +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
Tomáš Chvátal
1587116505 Accepting request 204539 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=11
2013-10-25 09:13:05 +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
Stephan Kulow
5d2bdefa8c Accepting request 180879 from 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) (forwarded request 180868 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/180879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=9
2013-06-25 15:19:01 +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
Stephan Kulow
ac76fc8a52 Accepting request 179774 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=8
2013-06-19 14:28:22 +00:00
Sascha Peilicke
7807967a20 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=20
2013-06-17 12:50:42 +00:00
Stephan Kulow
f99871d451 Accepting request 142812 from devel:languages:python
Removed openSUSE 11.4 spec file workarounds (forwarded request 142805 from TheBlackCat) (forwarded request 142810 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=6
2012-11-26 18:51:43 +00:00
Todd R
8d10b46cb5 Accepting request 142810 from devel:languages:python3
Removed openSUSE 11.4 spec file workarounds (forwarded request 142805 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142810
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=18
2012-11-25 11:21:45 +00:00
Stephan Kulow
e52552200e Accepting request 124959 from devel:languages:python
- Fix building on openSUSE <= 12.1
- Minor spec file cleanups (forwarded request 124956 from TheBlackCat) (forwarded request 124958 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/124959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=4
2012-06-15 12:05:21 +00:00
Todd R
5b04d7fbb9 Accepting request 124958 from devel:languages:python3
- Fix building on openSUSE <= 12.1
- Minor spec file cleanups (forwarded request 124956 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/124958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=16
2012-06-14 12:07:54 +00:00
Stephan Kulow
a4c010a8b3 Accepting request 122331 from devel:languages:python
- Fix building on openSUSE 11.4
- spec file cleanups (forwarded request 122327 from TheBlackCat) (forwarded request 122328 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/122331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=3
2012-05-29 08:35:18 +00:00
Todd R
6ea76c1b0a Accepting request 122328 from devel:languages:python3
- Fix building on openSUSE 11.4
- spec file cleanups (forwarded request 122327 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/122328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=14
2012-05-25 10:05:40 +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
Stephan Kulow
1c23ea2286 Accepting request 103921 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=2
2012-02-16 11:26:55 +00:00
Stephan Kulow
044924ddc0 Accepting request 94241 from devel:languages:python
Dependency for OpenStack packages.

OBS-URL: https://build.opensuse.org/request/show/94241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=1
2011-12-06 12:53:17 +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