Bump changedetection to 0.39

This commit is contained in:
Dave Gallant
2021-08-17 08:55:40 -04:00
parent 16142636a4
commit 126ab76342
4 changed files with 27 additions and 46 deletions

View File

@@ -81,16 +81,20 @@ in
with py.pkgs;
buildPythonApplication rec {
pname = "changedetection.io";
version = "0.38.2";
version = "0.39";
src = fetchFromGitHub {
owner = "dgtlmoon";
repo = "changedetection.io";
rev = "00fe4d4e41f8e2c7690f164da43f1aba1b6a517e";
hash = "sha256-BQyX0lzFC97ly/9TyohXBRluURPJ3nAuPjX6JzXKmXg";
rev = "a11b6daa2e24933d0a3b9548a02d57c96ed0c09e";
hash = "sha256-IdPlYa0lBI9xr+ywHuQ3OgNGvvKUIZf/wZ0ITbt2TyM=";
};
patches = [ (substituteAll { src = ./setup.patch; }) ];
postPatch = ''
substituteInPlace requirements.txt \
--replace "chardet==2.3.0" "chardet" \
--replace "selenium ~= 3.141" "selenium"
'';
propagatedBuildInputs = with py.pkgs; [
apprise
@@ -106,6 +110,7 @@ buildPythonApplication rec {
pytest-flask
pytz
requests
selenium
timeago
urllib3
validators

View File

@@ -1,20 +0,0 @@
new file mode 100644
index 0000000..e4db3d0
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+recursive-include backend *
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..82bc34d
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,8 @@
+from setuptools import setup, find_packages
+
+setup(
+ name="changedetection.io",
+ include_package_data=True,
+ packages=find_packages(),
+ scripts = [ './changedetection.py' ],
+)