aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2021-06-13 13:43:27 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2021-06-13 13:51:27 +0000
commit182121fa658239fb8f2f74b29e0df89a2b15fe8b (patch)
treef144a1f60d149e83887886084100f83470e26c8a
parentc87e99309f1afd5a71be51cf1b6b7afba00a3c11 (diff)
downloadports-182121fa658239fb8f2f74b29e0df89a2b15fe8b.tar.gz
ports-182121fa658239fb8f2f74b29e0df89a2b15fe8b.zip
www/searx: Update to 1.0.0
- Change maintainer - Needs Python >= 3.7 because of www/py-httpx-socks dependency Changelog: https://github.com/searx/searx/releases/tag/1.0.0 PR: 256529 Reported by: Zane C. Bowers-Hadley <vvelox@vvelox.net> (new maintainer)
-rw-r--r--www/searx/Makefile19
-rw-r--r--www/searx/distinfo6
2 files changed, 15 insertions, 10 deletions
diff --git a/www/searx/Makefile b/www/searx/Makefile
index 239965266be4..7dc4383c464b 100644
--- a/www/searx/Makefile
+++ b/www/searx/Makefile
@@ -2,10 +2,10 @@
PORTNAME= searx
DISTVERSIONPREFIX= v
-DISTVERSION= 0.18.0
+DISTVERSION= 1.0.0
CATEGORIES= www python
-MAINTAINER= loic.blot@unix-experience.fr
+MAINTAINER= vvelox@vvelox.net
COMMENT= Privacy-respecting, hackable metasearch engine
LICENSE= AGPLv3
@@ -18,13 +18,21 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ndg-httpsclient>0:net/py-ndg-httpsclient@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}brotli>0:archivers/py-brotli@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}uvloop>0:devel/py-uvloop@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langdetect>0:textproc/py-langdetect@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx-socks>0:www/py-httpx-socks@${PY_FLAVOR} \
${PY_PYGMENTS} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}splinter>0:www/py-splinter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
+BUILD_DEPENDS= ${RUN_DEPENDS}
-USES= python:3.6+
+USES= python:3.7+
USE_GITHUB= yes
GH_ACCOUNT= asciimoo
USE_PYTHON= distutils autoplist noflavors
@@ -39,10 +47,7 @@ post-patch: # expect dependencies to be backwards-compatible, otherwise it is di
@${REINPLACE_CMD} -e 's|==|>=|' ${WRKSRC}/requirements.txt
post-install:
- # workaround for https://github.com/asciimoo/searx/issues/1208
- @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
- @${REINPLACE_CMD} -e 's|.*/tests/.*||' ${_PYTHONPKGLIST}
- # move settings to etc/ /usr/local/lib/python2.7/site-packages/searx/settings.yml
+ # move settings to etc/ /usr/local/lib/python3.x/site-packages/searx/settings.yml
@${MV} ${STAGEDIR}${PYTHON_SITELIBDIR}/searx/settings.yml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}-settings.yml.sample
@${LN} -s ${PREFIX}/etc/${PORTNAME}-settings.yml ${STAGEDIR}${PYTHON_SITELIBDIR}/searx/settings.yml
diff --git a/www/searx/distinfo b/www/searx/distinfo
index c0898c86446f..58cdc73bc1b6 100644
--- a/www/searx/distinfo
+++ b/www/searx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618356792
-SHA256 (asciimoo-searx-v0.18.0_GH0.tar.gz) = d22430ad92262d9114ad169e001975fe5195afdcc679d6f6bf030e0c1a5b79f0
-SIZE (asciimoo-searx-v0.18.0_GH0.tar.gz) = 2628144
+TIMESTAMP = 1623305653
+SHA256 (asciimoo-searx-v1.0.0_GH0.tar.gz) = 4587acc9bd2bf428fe9ac8e4d79d3637dac308a8e5bdeee4f0bae85bfe5c67fe
+SIZE (asciimoo-searx-v1.0.0_GH0.tar.gz) = 2466997