lfp


Logs | Files | README | LICENSE | GitLab


1
commit 72869e42289c7e24c24c44aac38713e0777751cc
2
Author: Connor Etherington <[email protected]>
3
Date:   Sat Mar 30 04:11:03 2024 +0200
4
5
    Auto-Commit Update - 20240330
6
---
7
 Makefile                   |  6 +++---
8
 PKGBUILD                   |  2 +-
9
 lfpreviewer/pyproject.toml | 11 ++++++++++-
10
 3 files changed, 14 insertions(+), 5 deletions(-)
11
12
diff --git a/Makefile b/Makefile
13
index b1f7631..f294bf6 100644
14
--- a/Makefile
15
+++ b/Makefile
16
@@ -11,21 +11,21 @@ ifeq ($(OS),Ubuntu)
17
 	PACKAGE_MANAGER = apt
18
 	INSTALL = sudo ${PACKAGE_MANAGER}-get install
19
 	QUERY = sudo dpkg -S >/dev/null 2>&1
20
-	PKGS = python3-pip python3-setuptools libxres1 lsb-release
21
+	PKGS = python3-pip python3-setuptools libxres1 lsb-release libx11-dev
22
 endif
23
 
24
 ifeq ($(OS),Debian)
25
 	PACKAGE_MANAGER = apt
26
 	INSTALL = sudo ${PACKAGE_MANAGER}-get install
27
 	QUERY = sudo dpkg -S >/dev/null 2>&1
28
-	PKGS = python3-pip python3-setuptools libxres1 lsb-release
29
+	PKGS = python3-pip python3-setuptools libxres1 lsb-release libx11-dev
30
 endif
31
 
32
 ifeq ($(OS),Arch)
33
 	PACKAGE_MANAGER = pacman
34
 	INSTALL = sudo ${PACKAGE_MANAGER} -Syy
35
 	QUERY = sudo ${PACKAGE_MANAGER} -Qq >/dev/null 2>&1
36
-	PKGS = python-pip python-setuptools libxres lsb-release
37
+	PKGS = python-pip python-setuptools libxres lsb-release libx
38
 endif
39
 
40
 ifeq ($(PACKAGE_MANAGER),)
41
diff --git a/PKGBUILD b/PKGBUILD
42
index af24f1e..13d7997 100644
43
--- a/PKGBUILD
44
+++ b/PKGBUILD
45
@@ -8,7 +8,7 @@ license=('MIT')
46
 arch=('x86_64')
47
 install="lfp.install"
48
 url="https://gitlab.com/a4to/lfp"
49
-depends=(lf zsh ffmpeg graphicsmagick openslide ghostscript bat fzf dunst dialog xsel lolcat python3 python-docopt python-pillow python-attrs libxres python-setuptools python-pip tesseract tesseract-data-eng)
50
+depends=(lf zsh ffmpeg graphicsmagick openslide ghostscript bat fzf dunst dialog xsel lolcat python3 python-docopt python-pillow python-attrs libxres python-setuptools python-pip tesseract tesseract-data-eng libx11)
51
 conflicts=(lfp-git)
52
 optdepends=(
53
   'nodejs: to make use of lfps built in node actions manager'
54
diff --git a/lfpreviewer/pyproject.toml b/lfpreviewer/pyproject.toml
55
index 9787c3b..455c490 100644
56
--- a/lfpreviewer/pyproject.toml
57
+++ b/lfpreviewer/pyproject.toml
58
@@ -1,3 +1,12 @@
59
 [build-system]
60
-requires = ["setuptools", "wheel"]
61
+requires = ["setuptools>=42", "wheel"]
62
 build-backend = "setuptools.build_meta"
63
+
64
+[project]
65
+name = "lfpreviewer"
66
+version = "1.0.1"
67
+dependencies = [
68
+    "docopt>=0.6.2",
69
+    "attrs>=18.2.0",
70
+    "Pillow>=10.2.0"
71
+]