summaryrefslogtreecommitdiff
path: root/python-webscrapbook.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-webscrapbook.spec')
-rw-r--r--python-webscrapbook.spec23
1 files changed, 15 insertions, 8 deletions
diff --git a/python-webscrapbook.spec b/python-webscrapbook.spec
index b51e797..890d1b5 100644
--- a/python-webscrapbook.spec
+++ b/python-webscrapbook.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-webscrapbook
-Version: 1.8.3
+Version: 1.11.0
Release: 1
Summary: A backend toolkit for management of WebScrapBook collection.
-License: MIT
+License: MIT License
URL: https://github.com/danny0838/PyWebScrapBook
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6d/b8/c6bece5fb59a25e4d30eb65b74d6505d3cd315452e1a818b75591961d3ae/webscrapbook-1.8.3.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4c/6e/2e9d2fb3d082b00731d006e43ba5f738f9b9b1c03b13cb98830b5d76cb75/webscrapbook-1.11.0.tar.gz
BuildArch: noarch
Requires: python3-flask
@@ -22,6 +22,7 @@ Requires: python3-flake8-quotes
Requires: python3-flake8-bugbear
Requires: python3-flake8-isort
Requires: python3-isort
+Requires: python3-tox
%description
PyWebScrapBook is a command line toolkit and backend server for
@@ -103,6 +104,8 @@ Run the generated `.wsb/serve.py` to start the server, or run below command from
wsb serve
+> Alternatively, a backend server can be run with a specialized WSGI server, such as mod_wsgi, uWSGI, or Gunicorn, by providing the generated application script `.wsb/app.py` to it.
+
### Open archive file directly
The `wsbview` executable supports opening an archive page (HTZ or MAFF) to view in the browser.
@@ -111,7 +114,7 @@ Run `which wsbview` (or `where wsbview` in Windows) from CLI to get the path of
### Configuration
-Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
+Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read it online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
### Further documentation
@@ -204,6 +207,8 @@ Run the generated `.wsb/serve.py` to start the server, or run below command from
wsb serve
+> Alternatively, a backend server can be run with a specialized WSGI server, such as mod_wsgi, uWSGI, or Gunicorn, by providing the generated application script `.wsb/app.py` to it.
+
### Open archive file directly
The `wsbview` executable supports opening an archive page (HTZ or MAFF) to view in the browser.
@@ -212,7 +217,7 @@ Run `which wsbview` (or `where wsbview` in Windows) from CLI to get the path of
### Configuration
-Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
+Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read it online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
### Further documentation
@@ -302,6 +307,8 @@ Run the generated `.wsb/serve.py` to start the server, or run below command from
wsb serve
+> Alternatively, a backend server can be run with a specialized WSGI server, such as mod_wsgi, uWSGI, or Gunicorn, by providing the generated application script `.wsb/app.py` to it.
+
### Open archive file directly
The `wsbview` executable supports opening an archive page (HTZ or MAFF) to view in the browser.
@@ -310,7 +317,7 @@ Run `which wsbview` (or `where wsbview` in Windows) from CLI to get the path of
### Configuration
-Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
+Run `wsb config -be` to edit configs for CWD. For documentation about configs, run `wsb help config`, or [read it online](https://github.com/danny0838/PyWebScrapBook/blob/master/webscrapbook/resources/config.md).
### Further documentation
@@ -318,7 +325,7 @@ For more tips about how to configure PyWebScrapBook alongside WebScrapBook, visi
%prep
-%autosetup -n webscrapbook-1.8.3
+%autosetup -n webscrapbook-1.11.0
%build
%py3_build
@@ -358,5 +365,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.3-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 1.11.0-1
- Package Spec generated