diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-23 04:00:20 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-23 04:00:20 +0000 |
| commit | 1bfb4222fe50d82c6b7d546a1d45d83f7b69a7c3 (patch) | |
| tree | 06d4055516f634b5f889333cd27e0e99472b974d /python-pyngrok.spec | |
| parent | e0a4ed3c92ec288295d26fac91ce2983878de451 (diff) | |
automatic import of python-pyngrokopeneuler20.03
Diffstat (limited to 'python-pyngrok.spec')
| -rw-r--r-- | python-pyngrok.spec | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/python-pyngrok.spec b/python-pyngrok.spec index 6a5e076..aa8631d 100644 --- a/python-pyngrok.spec +++ b/python-pyngrok.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pyngrok -Version: 5.2.1 +Version: 6.0.0 Release: 1 Summary: A Python wrapper for ngrok. License: MIT URL: https://github.com/alexdlaird/pyngrok -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/36/169c177c3124a69abaee285b1572e5ed9d27088fa4c5fa104d1da8f17326/pyngrok-5.2.1.tar.gz +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/07/0e036da12dc2c72a3c475518f505cf7e78f076369c88cd891b1d18ab4a5a/pyngrok-6.0.0.tar.gz BuildArch: noarch @@ -63,7 +63,7 @@ ssh_tunnel = ngrok.connect(22, "tcp") ``` The [`connect`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.ngrok.connect) method takes `kwargs` as -well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs#tunnel-definitions). +well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs/ngrok-agent/api#start-tunnel). This package puts the default `ngrok` binary on our path, so all features of `ngrok` are available on the command line. @@ -80,13 +80,13 @@ For more advanced usage, `pyngrok`'s official documentation is available at [htt ### `ngrok` Version Compatibility -`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v2. To install v3 instead, +`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v3. To install v2 instead, set `ngrok_version` in [`PyngrokConfig`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.conf.PyngrokConfig): ```python from pyngrok import conf -conf.get_default().ngrok_version = "v3" +conf.get_default().ngrok_version = "v2" ``` ### Python 2.7 @@ -162,7 +162,7 @@ ssh_tunnel = ngrok.connect(22, "tcp") ``` The [`connect`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.ngrok.connect) method takes `kwargs` as -well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs#tunnel-definitions). +well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs/ngrok-agent/api#start-tunnel). This package puts the default `ngrok` binary on our path, so all features of `ngrok` are available on the command line. @@ -179,13 +179,13 @@ For more advanced usage, `pyngrok`'s official documentation is available at [htt ### `ngrok` Version Compatibility -`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v2. To install v3 instead, +`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v3. To install v2 instead, set `ngrok_version` in [`PyngrokConfig`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.conf.PyngrokConfig): ```python from pyngrok import conf -conf.get_default().ngrok_version = "v3" +conf.get_default().ngrok_version = "v2" ``` ### Python 2.7 @@ -258,7 +258,7 @@ ssh_tunnel = ngrok.connect(22, "tcp") ``` The [`connect`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.ngrok.connect) method takes `kwargs` as -well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs#tunnel-definitions). +well, which allows us to pass additional properties that are [supported by ngrok](https://ngrok.com/docs/ngrok-agent/api#start-tunnel). This package puts the default `ngrok` binary on our path, so all features of `ngrok` are available on the command line. @@ -275,13 +275,13 @@ For more advanced usage, `pyngrok`'s official documentation is available at [htt ### `ngrok` Version Compatibility -`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v2. To install v3 instead, +`pyngrok` is compatible with `ngrok` v2 and v3, but by default it will install v3. To install v2 instead, set `ngrok_version` in [`PyngrokConfig`](https://pyngrok.readthedocs.io/en/latest/api.html#pyngrok.conf.PyngrokConfig): ```python from pyngrok import conf -conf.get_default().ngrok_version = "v3" +conf.get_default().ngrok_version = "v2" ``` ### Python 2.7 @@ -298,7 +298,7 @@ also be greatly appreciated! %prep -%autosetup -n pyngrok-5.2.1 +%autosetup -n pyngrok-6.0.0 %build %py3_build @@ -338,5 +338,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.1-1 +* Sun Apr 23 2023 Python_Bot <Python_Bot@openeuler.org> - 6.0.0-1 - Package Spec generated |
