diff options
author | missing | 2022-06-29 19:32:17 +0100 |
---|---|---|
committer | missing | 2022-06-29 19:32:17 +0100 |
commit | 4804e42542acd84b91253d0efbc073f02745ed12 (patch) | |
tree | d11a8e130e2faad5d3479df7693f1307146fd140 | |
parent | 2ce59a400087d0a7bd3846bc237f4d3596af728a (diff) | |
download | aur-4804e42542acd84b91253d0efbc073f02745ed12.tar.gz |
Fix some deprecation warnings
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | lbry-sdk-0.109.0.patch | 22 |
3 files changed, 26 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = lbry-sdk pkgdesc = The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps. pkgver = 0.109.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lbryio/lbry-sdk arch = x86_64 license = MIT @@ -19,7 +19,7 @@ pkgbase = lbry-sdk sha256sums = e82fcfeb9bf1cc8f64a99f2d9aab8e3bd468ac68b152d7c89b38c1c98281666f sha256sums = SKIP sha256sums = ba653adbdd6001080e5963929a733af0ac287b5022e16444c2848fac898c420a - sha256sums = 3e692fa93c60eddb1ec7f3d8de4a90ae77995d76bd8e8329ccc3b8617616f246 + sha256sums = e370a5e9875e9f10cf5b4481545e0c35982539310226de70c0c34b7dfb6baf27 sha256sums = 7061749daacd7ab1db2b10383aaedfc12b47de2cc72c57e0c533b63e9302c881 pkgname = lbry-sdk @@ -1,7 +1,7 @@ # Maintainer: missing <liri_bucketful at slmail dot me> pkgname=lbry-sdk pkgver=0.109.0 -pkgrel=1 +pkgrel=2 pkgdesc="The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps." arch=('x86_64') url="https://github.com/lbryio/lbry-sdk" @@ -18,7 +18,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lbryio/lbry-sdk/archive sha256sums=('e82fcfeb9bf1cc8f64a99f2d9aab8e3bd468ac68b152d7c89b38c1c98281666f' 'SKIP' 'ba653adbdd6001080e5963929a733af0ac287b5022e16444c2848fac898c420a' - '3e692fa93c60eddb1ec7f3d8de4a90ae77995d76bd8e8329ccc3b8617616f246' + 'e370a5e9875e9f10cf5b4481545e0c35982539310226de70c0c34b7dfb6baf27' '7061749daacd7ab1db2b10383aaedfc12b47de2cc72c57e0c533b63e9302c881') prepare() { diff --git a/lbry-sdk-0.109.0.patch b/lbry-sdk-0.109.0.patch index 9c36394336ef..abafaa8b5057 100644 --- a/lbry-sdk-0.109.0.patch +++ b/lbry-sdk-0.109.0.patch @@ -254,6 +254,28 @@ diff --unified --recursive --text --color lbry-sdk-0.109.0_orig/lbry/dht/protoco self._wakeup_routing_task.clear() def _handle_rpc(self, sender_contact: 'KademliaPeer', message: RequestDatagram): +diff --unified --recursive --text --color lbry-sdk-0.109.0_orig/lbry/extras/cli.py lbry-sdk-0.109.0/lbry/extras/cli.py +--- lbry-sdk-0.109.0/lbry/extras/cli.py.old 2022-06-08 17:40:35.000000000 +0100 ++++ lbry-sdk-0.109.0/lbry/extras/cli.py 2022-06-29 16:56:34.979417308 +0100 +@@ -259,7 +259,8 @@ + + + def run_daemon(args: argparse.Namespace, conf: Config): +- loop = asyncio.get_event_loop() ++ loop = asyncio.new_event_loop() ++ asyncio.set_event_loop(loop) + if args.verbose is not None: + loop.set_debug(True) + if not args.no_logging: +@@ -326,7 +327,7 @@ + else: + parsed = docopt(doc, command_args) + params = set_kwargs(parsed) +- asyncio.get_event_loop().run_until_complete(execute_command(conf, api_method_name, params)) ++ asyncio.run(execute_command(conf, api_method_name, params)) + elif args.group is not None: + args.group_parser.print_help() + else: diff --unified --recursive --text --color lbry-sdk-0.109.0_orig/lbry/extras/daemon/componentmanager.py lbry-sdk-0.109.0/lbry/extras/daemon/componentmanager.py --- lbry-sdk-0.109.0_orig/lbry/extras/daemon/componentmanager.py 2022-06-20 11:36:42.986666608 +0100 +++ lbry-sdk-0.109.0/lbry/extras/daemon/componentmanager.py 2022-06-20 11:30:03.133333306 +0100 |