calibre-web: 0.6.18 -> 0.6.19
This commit is contained in:
parent
1a615dc4ac
commit
53a5e17993
|
@ -1,14 +1,14 @@
|
||||||
diff --git a/cps/__init__.py b/cps/__init__.py
|
diff --git a/cps/__init__.py b/cps/__init__.py
|
||||||
index 627cca0b..233bb2dd 100644
|
index 1ba1f778..fd5dc2f1 100644
|
||||||
--- a/cps/__init__.py
|
--- a/cps/__init__.py
|
||||||
+++ b/cps/__init__.py
|
+++ b/cps/__init__.py
|
||||||
@@ -87,6 +87,9 @@ db.CalibreDB.setup_db(config, cli.settingspath)
|
@@ -116,6 +116,9 @@ def create_app():
|
||||||
|
db.CalibreDB.setup_db(config.config_calibre_dir, cli_param.settings_path)
|
||||||
calibre_db = db.CalibreDB()
|
calibre_db.init_db()
|
||||||
|
|
||||||
+ if os.environ.get('__RUN_MIGRATIONS_AND_EXIT'):
|
+ if os.environ.get('__RUN_MIGRATIONS_AND_EXIT'):
|
||||||
+ sys.exit(0)
|
+ sys.exit(0)
|
||||||
+
|
+
|
||||||
def create_app():
|
updater_thread.init_updater(config, web_server)
|
||||||
app.wsgi_app = ReverseProxied(app.wsgi_app)
|
# Perform dry run of updater and exit afterwards
|
||||||
# For python2 convert path to unicode
|
if cli_param.dry_run:
|
||||||
|
|
|
@ -6,16 +6,17 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "calibre-web";
|
pname = "calibre-web";
|
||||||
version = "0.6.18";
|
version = "0.6.19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "janeczku";
|
owner = "janeczku";
|
||||||
repo = "calibre-web";
|
repo = "calibre-web";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-KjmpFetNhNM5tL34e/Pn1i3hc86JZglubSMsHZWu198=";
|
hash = "sha256-mNYLQ+3u6xRaoZ5oH6HdylFfgz1fq1ZB86AWk9vULWQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
APScheduler
|
||||||
advocate
|
advocate
|
||||||
backports_abc
|
backports_abc
|
||||||
chardet
|
chardet
|
||||||
|
@ -57,7 +58,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
--replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \
|
--replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \
|
||||||
--replace "chardet>=3.0.0,<4.1.0" "chardet>=3.0.0,<6" \
|
--replace "chardet>=3.0.0,<4.1.0" "chardet>=3.0.0,<6" \
|
||||||
--replace "Flask>=1.0.2,<2.1.0" "Flask>=1.0.2" \
|
--replace "Flask>=1.0.2,<2.1.0" "Flask>=1.0.2" \
|
||||||
--replace "Flask-Login>=0.3.2,<0.5.1" "Flask-Login>=0.3.2" \
|
--replace "Flask-Login>=0.3.2,<0.6.2" "Flask-Login>=0.3.2" \
|
||||||
--replace "flask-wtf>=0.14.2,<1.1.0" "flask-wtf>=0.14.2" \
|
--replace "flask-wtf>=0.14.2,<1.1.0" "flask-wtf>=0.14.2" \
|
||||||
--replace "lxml>=3.8.0,<4.9.0" "lxml>=3.8.0" \
|
--replace "lxml>=3.8.0,<4.9.0" "lxml>=3.8.0" \
|
||||||
--replace "tornado>=4.1,<6.2" "tornado>=4.1,<7" \
|
--replace "tornado>=4.1,<6.2" "tornado>=4.1,<7" \
|
||||||
|
|
Loading…
Reference in a new issue