--- b/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,9 +47,6 @@ 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 @${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 --- b/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 = 1623579114 +SHA256 (asciimoo-searx-v1.0.0_GH0.tar.gz) = 4587acc9bd2bf428fe9ac8e4d79d3637dac308a8e5bdeee4f0bae85bfe5c67fe +SIZE (asciimoo-searx-v1.0.0_GH0.tar.gz) = 2466997