From 2bb166e81a9cdf62a92bc7560fd59e804bc2c5b7 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 22 Apr 2021 18:23:14 +0300 Subject: [PATCH 1/2] New package: python3-langdetect-1.0.8 --- srcpkgs/python3-langdetect/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-langdetect/template diff --git a/srcpkgs/python3-langdetect/template b/srcpkgs/python3-langdetect/template new file mode 100644 index 000000000000..25d51a5ab290 --- /dev/null +++ b/srcpkgs/python3-langdetect/template @@ -0,0 +1,15 @@ +# Template file for 'python3-langdetect' +pkgname=python3-langdetect +version=1.0.8 +revision=1 +wrksrc=langdetect-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six" +checkdepends="${depends} python3-pytest" +short_desc="Port of Google's language detection library in Python" +maintainer="FollieHiyuki " +license="Apache-2.0" +homepage="https://github.com/Mimino666/langdetect" +distfiles="${PYPI_SITE}/l/langdetect/langdetect-${version}.tar.gz" +checksum=363795ea005f1243c958e953245dac5d814fabdc025c9afa91588c5fa6b2fa83 From f518233847264bdc9be72b345d632212a4f65c8e Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 22 Apr 2021 18:49:35 +0300 Subject: [PATCH 2/2] New package: searx-1.0.0 --- srcpkgs/searx/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/searx/template diff --git a/srcpkgs/searx/template b/srcpkgs/searx/template new file mode 100644 index 000000000000..7e23a2b052a9 --- /dev/null +++ b/srcpkgs/searx/template @@ -0,0 +1,26 @@ +# Template file for 'searx' +pkgname=searx +version=1.0.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-yaml" +makedepends="openssl-devel" +depends="python3-certifi python3-dateutil python3-Flask python3-Flask-Babel + python3-Babel python3-idna python3-lxml python3-Pygments python3-yaml + python3-requests python3-pysocks python3-langdetect uwsgi uwsgi-python3" +short_desc="Privacy-respecting metasearch engine" +maintainer="FollieHiyuki " +license="AGPL-3.0-or-later" +homepage="https://searx.github.io/searx/" +distfiles="https://github.com/searx/searx/archive/${version}.tar.gz" +checksum=4587acc9bd2bf428fe9ac8e4d79d3637dac308a8e5bdeee4f0bae85bfe5c67fe +# Test depends on python3-splinter +make_check=no + +post_install() { + vlicense LICENSE + + # Clean up + mkdir -p ${DESTDIR}/etc/searx + mv -f ${DESTDIR}/usr/lib/python${py3_ver}/site-packages/searx/settings.yml ${DESTDIR}/etc/searx/ +}