summaryrefslogtreecommitdiff
path: root/www/py-searxng-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-searxng-devel')
-rw-r--r--www/py-searxng-devel/Makefile8
-rw-r--r--www/py-searxng-devel/distinfo6
-rw-r--r--www/py-searxng-devel/files/patch-searx_version.py18
3 files changed, 25 insertions, 7 deletions
diff --git a/www/py-searxng-devel/Makefile b/www/py-searxng-devel/Makefile
index dc759595d471..a2f8006c78c2 100644
--- a/www/py-searxng-devel/Makefile
+++ b/www/py-searxng-devel/Makefile
@@ -1,6 +1,5 @@
PORTNAME= searxng
-DISTVERSION= 20250711
-PORTREVISION= 1
+DISTVERSION= 20250819
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -devel
@@ -38,11 +37,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typer>=0:devel/py-typer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}whitenoise>=0:www/py-whitenoise@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
-GH_TAGNAME= d5743398539263f2c0cac676e073a08cb3eb6eb8
+GH_TAGNAME= 25647c20d1904840d089892bb118390f46c66984
USE_PYTHON= autoplist distutils
USE_RC_SUBR= searxng
diff --git a/www/py-searxng-devel/distinfo b/www/py-searxng-devel/distinfo
index 250538c4bcdc..aa0baa156201 100644
--- a/www/py-searxng-devel/distinfo
+++ b/www/py-searxng-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752528993
-SHA256 (searxng-searxng-20250711-d5743398539263f2c0cac676e073a08cb3eb6eb8_GH0.tar.gz) = d1fc242ddd14b2caf0a5a6f4e291a41fe1388628e44524854953ce78fd7a47c7
-SIZE (searxng-searxng-20250711-d5743398539263f2c0cac676e073a08cb3eb6eb8_GH0.tar.gz) = 5478189
+TIMESTAMP = 1755629208
+SHA256 (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 9fa3831333cddfc27de8d5d1a20643669bbb4c2624133493ba6b40bbe13d5097
+SIZE (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 5839091
diff --git a/www/py-searxng-devel/files/patch-searx_version.py b/www/py-searxng-devel/files/patch-searx_version.py
new file mode 100644
index 000000000000..7b9b32f09608
--- /dev/null
+++ b/www/py-searxng-devel/files/patch-searx_version.py
@@ -0,0 +1,18 @@
+--- searx/version.py.orig 2025-08-19 19:13:19 UTC
++++ searx/version.py
+@@ -91,15 +91,6 @@ def get_information():
+ git_url = GIT_URL
+ git_branch = GIT_BRANCH
+
+- try:
+- version_string, version_tag, docker_tag = get_git_version()
+- except subprocess.CalledProcessError as ex:
+- logger.error("Error while getting the version: %s", ex.stderr)
+- try:
+- git_url, git_branch = get_git_url_and_branch()
+- except subprocess.CalledProcessError as ex:
+- logger.error("Error while getting the git URL & branch: %s", ex.stderr)
+-
+ return version_string, version_tag, docker_tag, git_url, git_branch
+
+