Codebase list backoff / 8551c2b
Initial release Sophie Brun 3 years ago
9 changed file(s) with 123 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 backoff (1.10.0-0kali1) kali-dev; urgency=medium
1
2 * Initial release
3
4 -- Sophie Brun <[email protected]> Wed, 16 Dec 2020 14:41:30 +0100
0 Source: backoff
1 Section: python
2 Priority: optional
3 Maintainer: Kali Developers <[email protected]>
4 Uploaders: Sophie Brun <[email protected]>
5 Build-Depends: debhelper-compat (= 13), dh-python, python3-setuptools, python3-all, python3-pytest, python3-pytest-asyncio
6 Standards-Version: 4.5.1
7 Homepage: https://github.com/litl/backoff
8 Vcs-Browser: https://gitlab.com/kalilinux/packages/backoff
9 Vcs-Git: https://gitlab.com/kalilinux/packages/backoff.git
10 Testsuite: autopkgtest-pkg-python
11 Rules-Requires-Root: no
12
13 Package: python3-backoff
14 Architecture: all
15 Depends: ${python3:Depends}, ${misc:Depends}
16 Description: Function decoration for backoff and retry (Python 3)
17 This package provides function decorators which can be used to wrap a function
18 such that it will be retried until some condition is met. It is meant to be of
19 use when accessing unreliable resources with the potential for intermittent
20 failures i.e. network resources and external APIs. Somewhat more generally, it
21 may also be of use for dynamically polling resources for externally generated
22 content.
23 .
24 Decorators support both regular functions for synchronous code and asyncio's
25 coroutines for asynchronous code.
26 .
27 This package installs the library for Python 3.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: backoff
2 Source: https://github.com/litl/backoff
3
4 Files: *
5 Copyright: 2014 litl, LLC.
6 License: MIT
7
8 Files: debian/*
9 Copyright: 2020 Sophie Brun <[email protected]>
10 License: MIT
11
12 License: MIT
13 Permission is hereby granted, free of charge, to any person obtaining a
14 copy of this software and associated documentation files (the
15 "Software"), to deal in the Software without restriction, including
16 without limitation the rights to use, copy, modify, merge, publish,
17 distribute, sublicense, and/or sell copies of the Software, and to permit
18 persons to whom the Software is furnished to do so, subject to the
19 following conditions:
20 .
21 The above copyright notice and this permission notice shall be included
22 in all copies or substantial portions of the Software.
23 .
24 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
27 NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
28 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
29 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
30 USE OR OTHER DEALINGS IN THE SOFTWARE.
0 From: Sophie Brun <[email protected]>
1 Date: Wed, 16 Dec 2020 16:16:09 +0100
2 Subject: Add missing setup.py
3
4 Forwarded: not-needed
5 The package uses poetry to generate a setup.py
6 Poetry is not yet in Debian. We copy the generated setup.py (from pypi
7 tarball)
8 ---
9 setup.py | 24 ++++++++++++++++++++++++
10 1 file changed, 24 insertions(+)
11 create mode 100644 setup.py
12
13 diff --git a/setup.py b/setup.py
14 new file mode 100644
15 index 0000000..6e4f961
16 --- /dev/null
17 +++ b/setup.py
18 @@ -0,0 +1,24 @@
19 +# -*- coding: utf-8 -*-
20 +from distutils.core import setup
21 +
22 +packages = \
23 +['backoff']
24 +
25 +package_data = \
26 +{'': ['*']}
27 +
28 +setup_kwargs = {
29 + 'name': 'backoff',
30 + 'version': '1.10.0',
31 + 'description': 'Function decoration for backoff and retry',
32 + 'long_description': 'Function decoration for backoff and retry. This module provides function decorators which can be used to wrap a\nfunction such that it will be retried until some condition is met. It\nis meant to be of use when accessing unreliable resources with the\npotential for intermittent failures i.e. network resources and external\nAPIs. Somewhat more generally, it may also be of use for dynamically\npolling resources for externally generated content.\n\nDecorators support both regular functions for synchronous code and\n`asyncio\'s coroutines\nfor asynchronous code.',
33 + 'author': 'Bob Green',
34 + 'author_email': '[email protected]',
35 + 'url': 'https://github.com/litl/backoff',
36 + 'packages': packages,
37 + 'package_data': package_data,
38 + 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
39 +}
40 +
41 +
42 +setup(**setup_kwargs)
0 Add-missing-setup.py.patch
0 #!/usr/bin/make -f
1 # See debhelper(7) (uncomment to enable)
2 # output every command that modifies files on the build system.
3 #export DH_VERBOSE = 1
4
5 export PYBUILD_NAME=backoff
6
7 %:
8 dh $@ --with python3 --buildsystem=pybuild
0 3.0 (quilt)
0 extend-diff-ignore = "^[^/]*[.]egg-info/"
0 version=4
1 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%backoff-$1.tar.gz%" \
2 https://github.com/litl/backoff/tags \
3 (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate