summaryrefslogtreecommitdiff
path: root/python-pyngrok.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pyngrok.spec')
-rw-r--r--python-pyngrok.spec26
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